EbnfConcatenation Class
Represents a concatenation expression within an EBNF production.
public sealed class EbnfConcatenation : EbnfQuantifiableTerm
- Inheritance:
- object EbnfTerm EbnfQuantifiableTerm object
Constructors
EbnfConcatenation(params EbnfTerm[])
Initializes an instance of the class.
public EbnfConcatenation(params EbnfTerm[] terms)
| Parameter | Type | Description |
|---|---|---|
| terms | EbnfTerm[] | The EbnfTerm objects within the expression. |
Properties
Label
The label to apply to this term that may be used when rewriting.
public override string? Label { get; set; }
Property Value
Remarks
Once the grammar has been compiled, the setter of this property will throw an exception if called.
Terms
The list of EbnfTerm objects within the expression.
Methods
ToString()
Returns the string representation of this 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(int, int?)
- EbnfQuantifiableTerm.SetLabel(string)
- EbnfQuantifiableTerm.ZeroOrMore()
- EbnfTerm.ToEbnfString()
- EbnfTerm.ToProduction()
- EbnfTerm.CompleteCallback
- EbnfTerm.ErrorCallback
- EbnfTerm.InitializeCallback
- EbnfTerm.IsCompiled
- EbnfTerm.MatchCondition
- EbnfTerm.SuccessCallback
- object.GetType()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()