Automata Docs Automata Docs
Automata Docs Automata Docs

Search Results for

    Edit this page

    Class Chars

    Character definitions and utility methods for Alang.

    Inheritance
    object
    Chars
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Automata.Core.Alang
    Assembly: Automata.Core.dll
    Syntax
    public static class Chars

    Fields

    | Edit this page View Source

    Complement

    Complement operator character.

    Declaration
    public const char Complement = '~'
    Field Value
    Type Description
    char
    | Edit this page View Source

    Difference

    Difference operator character.

    Declaration
    public const char Difference = '-'
    Field Value
    Type Description
    char
    | Edit this page View Source

    EOI

    End of input character.

    Declaration
    public const char EOI = '\0'
    Field Value
    Type Description
    char
    | Edit this page View Source

    Intersection

    Intersection operator character.

    Declaration
    public const char Intersection = '&'
    Field Value
    Type Description
    char
    | Edit this page View Source

    Invalid

    Invalid character.

    Declaration
    public const char Invalid = '\uffff'
    Field Value
    Type Description
    char
    | Edit this page View Source

    KleenePlus

    Kleene plus operator character.

    Declaration
    public const char KleenePlus = '+'
    Field Value
    Type Description
    char
    | Edit this page View Source

    KleeneStar

    Kleene star operator character.

    Declaration
    public const char KleeneStar = '*'
    Field Value
    Type Description
    char
    | Edit this page View Source

    LeftParen

    Left parenthesis character.

    Declaration
    public const char LeftParen = '('
    Field Value
    Type Description
    char
    | Edit this page View Source

    Option

    Option operator character.

    Declaration
    public const char Option = '?'
    Field Value
    Type Description
    char
    | Edit this page View Source

    RightParen

    Right parenthesis character.

    Declaration
    public const char RightParen = ')'
    Field Value
    Type Description
    char
    | Edit this page View Source

    Union

    Union operator character.

    Declaration
    public const char Union = '|'
    Field Value
    Type Description
    char
    | Edit this page View Source

    Wildcard

    Wildcard token denoting any string in the alphabet.

    Declaration
    public const char Wildcard = '.'
    Field Value
    Type Description
    char

    Methods

    | Edit this page View Source

    IsExpressionStart(char)

    Indicates if a character can be the start of an expression.

    Declaration
    public static bool IsExpressionStart(char c)
    Parameters
    Type Name Description
    char c

    Character to check.

    Returns
    Type Description
    bool

    true iff the character can start an expression.

    | Edit this page View Source

    IsOperator(char)

    Indicates if a character is an operator.

    Declaration
    public static bool IsOperator(char c)
    Parameters
    Type Name Description
    char c

    Character to check.

    Returns
    Type Description
    bool

    true iff the character is an operator.

    | Edit this page View Source

    IsSymbolChar(char)

    Indicates if a character can be part of Symbol.

    Declaration
    public static bool IsSymbolChar(char c)
    Parameters
    Type Name Description
    char c

    Character to check.

    Returns
    Type Description
    bool

    true iff the character can be part of a Symbol.