Class Concatenation
Represents a concatenation operation in the Alang grammar.
Inherited Members
Namespace: Automata.Core.Alang
Assembly: Automata.Core.dll
Syntax
public class Concatenation : InfixBinary
Constructors
| Edit this page View SourceConcatenation(AlangExpr, AlangExpr)
Represents a concatenation operation in the Alang grammar.
Declaration
public Concatenation(AlangExpr left, AlangExpr right)
Parameters
Type | Name | Description |
---|---|---|
AlangExpr | left | The left operand of the concatenation. |
AlangExpr | right | The right operand of the concatenation. |
Properties
| Edit this page View SourceAlangExpressionString
String representation of this expression in valid Alang language syntax.
Declaration
public override string AlangExpressionString { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourcePrecedence
Precedence level of this expression according to Alang grammar specification.
Declaration
public override int Precedence { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
| Edit this page View SourceParse(ref AlangCursor)
Parses the rule Concatenation
in the Alang grammar specification.
Declaration
public static AlangExpr Parse(ref AlangCursor cursor)
Parameters
Type | Name | Description |
---|---|---|
AlangCursor | cursor | The cursor from which to parse the expression. |
Returns
Type | Description |
---|---|
AlangExpr | An AlangExpr representing the parsed expression. |
Exceptions
Type | Condition |
---|---|
AlangFormatException | Thrown when the input is invalid. |