Interface: LexerParserData
compiler.LexerParserData
Parse data for a KipperProgramContext.
Since
0.10.0
Table of contents
Properties
Properties
channels
• channels: Object
The channels where the lexed content of the file are placed.
Since
0.11.0
Type declaration
Name | Type | Description |
---|---|---|
ALL |
CommonTokenStream |
Token stream which contains all tokens regardless of channel. Since 0.11.0 |
COMMENT |
Token [] |
The comment channels where all comments are stored. Since 0.11.0 |
DEFAULT_TOKEN_CHANNEL |
Token [] |
The default channel which all parser-relevant tokens are stored. Since 0.11.0 |
HIDDEN |
Token [] |
The hidden channel where all whitespaces and newlines are stored. Since 0.11.0 |
PRAGMA |
Token [] |
The pragma channel where all pragma instructions are stored which modify the compiler behaviour. Since 0.11.0 |
Defined in
kipper/core/src/compiler/lexer-parser/lexer-parse-data.ts:15
fileStream
• fileStream: KipperFileStream
The input file stream.
Since
0.10.0
Defined in
kipper/core/src/compiler/lexer-parser/lexer-parse-data.ts:46
lexer
• lexer: KipperLexer
The instance of the lexer used to lex the raw file content.
Since
0.10.0
Defined in
kipper/core/src/compiler/lexer-parser/lexer-parse-data.ts:61
parseTree
• parseTree: CompilationUnitContext
The parse tree i.e. root node for the parsed file.
Since
0.10.0
Defined in
kipper/core/src/compiler/lexer-parser/lexer-parse-data.ts:51
parser
• parser: KipperParser
The instance of the parser used to parse the lexed file content.
Since
0.10.0
Defined in
kipper/core/src/compiler/lexer-parser/lexer-parse-data.ts:56