Class Option
Represents an option expression in the Alang language.
Inherited Members
Namespace: Automata.Core.Alang
Assembly: Automata.Core.dll
Syntax
public class Option : UnaryExpr
Remarks
An option expression matches zero or one occurrence of its operand.
Constructors
| Edit this page View SourceOption(AlangExpr)
Represents an option expression in the Alang language.
Declaration
public Option(AlangExpr operand)
Parameters
Type | Name | Description |
---|---|---|
AlangExpr | operand | The operand of the option expression. |
Remarks
An option expression matches zero or one occurrence of its operand.
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 |