Class Atom
Atomic expression in the Alang
language used for defining finite-state automata.
Inherited Members
Namespace: Automata.Core.Alang
Assembly: Automata.Core.dll
Syntax
public class Atom : AlangExpr
Remarks
An atom is a basic unit in the Alang
language, consisting of one or more characters that are not
operators or whitespace. It serves as an atomic leaf node in the expression tree.
Constructors
| Edit this page View SourceAtom(string)
Initializes a new instance of the Atom class with the specified symbol.
Declaration
public Atom(string symbol)
Parameters
Type | Name | Description |
---|---|---|
string | symbol | Symbol representing this atom. |
Properties
| Edit this page View SourceAlangExpressionString
String representation of this atom.
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
| Edit this page View SourceSymbol
Symbol representing this atom.
Declaration
public string Symbol { get; }
Property Value
Type | Description |
---|---|
string |