Automata Docs Automata Docs
Automata Docs Automata Docs

Search Results for

    Edit this page

    Class Symbol

    Symbol in the Alang language used for defining finite-state automata.

    Inheritance
    object
    AlangRegex
    Symbol
    Inherited Members
    AlangRegex.IsEmptyString
    AlangRegex.Parse(string)
    AlangRegex.Compile(string)
    AlangRegex.Compile(string, params string[])
    AlangRegex.Compile(Alphabet)
    AlangRegex.Compile()
    AlangRegex.Compile(params string[])
    AlangRegex.Param(AlangRegex, AlangRegex)
    AlangRegex.ToString()
    AlangRegex.DescendantsAndSelf()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Automata.Core.Alang
    Assembly: Automata.Core.dll
    Syntax
    public class Symbol : AlangRegex
    Remarks

    A Symbol is a atomic unit in the Alang language, consisting of one or more characters that are not operators or whitespace. They are present as leaf nodes in the resulting AST (abstract syntax tree).

    Constructors

    | Edit this page View Source

    Symbol(string)

    Initializes a new instance of the Symbol class with the specified symbol.

    Declaration
    public Symbol(string symbol)
    Parameters
    Type Name Description
    string symbol

    String representing this Symbol.

    Properties

    | Edit this page View Source

    AlangExpressionString

    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
    AlangRegex.AlangExpressionString
    | Edit this page View Source

    Precedence

    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.

    Overrides
    AlangRegex.Precedence
    | Edit this page View Source

    Value

    String value for this Symbol.

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    string