Class Union
Represents a Union expression in the Alang grammar specification.
Inherited Members
Namespace: Automata.Core.Alang
Assembly: Automata.Core.dll
Syntax
public class Union : BinaryRegex
Constructors
| Edit this page View SourceUnion(AlangRegex, AlangRegex)
Represents a Union expression in the Alang grammar specification.
Declaration
public Union(AlangRegex left, AlangRegex right)
Parameters
Type | Name | Description |
---|---|---|
AlangRegex | left | The left operand of the union expression. |
AlangRegex | right | The right operand of the union expression. |
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 | A string representing the expression in Alang syntax. |
Overrides
| Edit this page View SourcePrecedence
Precedence level of this expression according to the Alang grammar specification.
Declaration
public override int Precedence { get; }
Property Value
Type | Description |
---|---|
int | An integer representing the precedence level of the expression. |