Interface TylasuLexer<T>

interface TylasuLexer<T> {
    lex(code, onlyFromDefaultChannel?): LexingResult<T>;
}

Type Parameters

Implemented by

Methods

Methods

  • Performs "lexing" on the given code stream or string, i.e., it breaks it into tokens.

    Parameters

    • code: string | CharStream
    • Optional onlyFromDefaultChannel: boolean

    Returns LexingResult<T>

Generated using TypeDoc