EbnfConcatenation Class
Represents a concatenation expression within an EBNF production.
public sealed class EbnfConcatenation : EbnfQuantifiableTerm, IGrammarNode
- Inheritance:
- Object EbnfTerm EbnfQuantifiableTerm Object
Constructors
EbnfConcatenation(EbnfTerm[])
Initializes a new instance of the EbnfConcatenation
class.
public EbnfConcatenation(params EbnfTerm[] terms)
Parameter | Type | Description |
---|---|---|
terms | EbnfTerm[] | The EbnfTerm objects within the expression. |
Properties
Label
Gets or sets the label to apply to this term that may be used when rewriting.
public override string Label { get; set; }
Property Value
- String:
The label to apply to this term that may be used when rewriting.
Remarks
Once the grammar has been compiled, the setter of this property will throw an exception if called.
Terms
Gets the list of EbnfTerm objects within the expression.
public IList<EbnfTerm> Terms { get; }
Property Value
Methods
ToString()
Returns a String
that represents the current Object
.
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.MatchCondition
- EbnfTerm.SuccessCallback
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()