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

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