EbnfTerminal Class
Represents a terminal symbol within an EBNF production.
public sealed class EbnfTerminal : EbnfSymbol, IGrammarNode
- Inheritance:
- System.Object EbnfTerm EbnfQuantifiableTerm EbnfSymbol Object
Constructors
EbnfTerminal(Terminal)
Initializes a new instance of the EbnfTerminal
class.
public EbnfTerminal(Terminal terminal)
Parameter | Type | Description |
---|---|---|
terminal | Terminal | The Terminal that is referenced by this term. |
Properties
Terminal
Gets or sets the Terminal that is referenced by this term.
public Terminal Terminal { get; set; }
Property Value
Remarks
Once the grammar has been compiled, the setter of this property will throw an exception if called.
Methods
ToString()
Returns a String
that represents the current Object
.
public override string ToString()
Returns
- System.String:
A
String
that represents the currentObject
.
Inherited Members
- EbnfQuantifiableTerm.Optional()
- EbnfQuantifiableTerm.OnComplete(ParserCallback)
- EbnfQuantifiableTerm.OnError(ParserErrorCallback)
- EbnfQuantifiableTerm.OnErrorContinue()
- EbnfQuantifiableTerm.OnErrorIgnore()
- EbnfQuantifiableTerm.OnErrorNoReport()
- EbnfQuantifiableTerm.OnInitialize(ParserCallback)
- EbnfQuantifiableTerm.OneOrMore()
- EbnfQuantifiableTerm.OnSuccess(ParserCallback)
- EbnfQuantifiableTerm.Range(Int32, Nullable<Int32>)
- EbnfQuantifiableTerm.SetLabel(String)
- EbnfQuantifiableTerm.ZeroOrMore()
- EbnfTerm.ToEbnfString()
- EbnfTerm.ToProduction()
- EbnfTerm.CompleteCallback
- EbnfTerm.ErrorCallback
- EbnfTerm.InitializeCallback
- EbnfTerm.IsCompiled
- EbnfTerm.Label
- EbnfTerm.MatchCondition
- EbnfTerm.SuccessCallback
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()