nxt.ada_lexer

Ada Lexer.

Members

Aliases

IdType
alias IdType = TokenIdType!(operators, dynamicTokens, keywords)

Token ID type for the D lexer.

Token
alias Token = lexer.TokenStructure!(IdType, extraFields)

The token type in the D lexer

str
alias str = tokenStringRepresentation!(IdType, operators, dynamicTokens, keywords)

Function used for converting an IdType to a string.

Functions

byToken
auto byToken(ubyte[] range)
Undocumented in source. Be warned that the author may not have intended to support it.
byToken
auto byToken(ubyte[] range, StringCache* cache)
Undocumented in source. Be warned that the author may not have intended to support it.
byToken
auto byToken(ubyte[] range, LexerConfig config, StringCache* cache)
Undocumented in source. Be warned that the author may not have intended to support it.
getTokensForParser
const(Token)[] getTokensForParser(ubyte[] sourceCode, LexerConfig config, StringCache* cache)

Structs

AdaLexer
struct AdaLexer

The Ada lexer.

LexerConfig
struct LexerConfig

Lexer configuration struct

Templates

tok
template tok(string token)

Template used to refer to D token types.

Meta