Documentation
    Preparing search index...

    Class TwingLexer

    Hierarchy

    • Lexer
      • TwingLexer
    Index

    Constructors

    Properties

    arrowOperator: [string]

    The arrow operator.

    commentPair: [string, string]

    The comment delimiters.

    interpolationPair: [string, string]

    The interpolation delimiters.

    level: 2 | 3
    operators: string[]

    The supported operators.

    tagPair: [string, string]

    The tag delimiters.

    testOperators: [string, string]

    The test operators.

    variablePair: [string, string]

    The variable delimiters.

    Methods

    • Tokenize a source into a list of tokens.

      Parameters

      • source: string

      Returns Token[]