Automata Docs Automata Docs
Automata Docs Automata Docs

Search Results for

    Edit this page

    Class Concatenation

    Represents a concatenation operation in the Alang grammar.

    Inheritance
    object
    AlangRegex
    BinaryRegex
    Concatenation
    Inherited Members
    BinaryRegex.Left
    BinaryRegex.Right
    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 Concatenation : BinaryRegex

    Constructors

    | Edit this page View Source

    Concatenation(AlangRegex, AlangRegex)

    Represents a concatenation operation in the Alang grammar.

    Declaration
    public Concatenation(AlangRegex left, AlangRegex right)
    Parameters
    Type Name Description
    AlangRegex left

    The left operand of the concatenation.

    AlangRegex right

    The right operand of the concatenation.

    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

    Methods

    | Edit this page View Source

    Parse(ref AlangCursor)

    Parses the rule Concatenation in the Alang grammar specification.

    Declaration
    public static AlangRegex Parse(ref AlangCursor cursor)
    Parameters
    Type Name Description
    AlangCursor cursor

    The cursor from which to parse the expression.

    Returns
    Type Description
    AlangRegex

    An AlangRegex representing the parsed expression.

    Exceptions
    Type Condition
    AlangFormatException

    Thrown when the input is invalid.