Hierarchy

  • ITokenSource

Implemented by

Index

Properties

Methods

Properties

sourceName

sourceName: string

Where are you getting tokens from? normally the implication will simply ask lexers input stream.

tokenNames

tokenNames: string[]

Methods

nextToken

  • Return a Token object from your input stream (usually a CharStream). Do not fail/return upon lexing error; keep chewing on the characters until you get a good one; errors are not passed through to the parser.

    Returns IToken

Generated using TypeDoc