Use this constructor for string mixins. Input: loc = location in source file of mixin
Main Parser constructor.
Issue error if the current token is not value, advance to next token.
Issue error if the current token is not value, advance to next token.
Issue error if the current token is not value, advance to next token.
Parse inline assembler block. Enters with token on the asm. https://dlang.org/spec/iasm.html
Parse an assignment condition for if or while statements.
Parse declarations and definitions
Parse a module, i.e. the optional module x.y.z declaration and all declarations found in the current file.
Parse the content of a module, i.e. all declarations found until the end of file.
Parse the optional module declaration
Expression Parser **************************
Input: flags PSxxxx Output: pEndloc if { ... statements ... }, store location of closing brace, otherwise loc of last token of statement
Parse a Type or an Expression
Skip parentheses.
Recognize builtin @ attributes
-transition=in is active, in parameters are listed
true if compiling ImportC
size of a C _Bool, default 1
size of a C short, default 2
size of a C int, default 4
size of C long, 4 or 8
size of a C long long, default 8
size of C long double, 8 or D real.sizeof
size of C wchar_t, 2 or 4
send error messages through this interface
environment
Reset lexer to lex #define's
Set up for next #define line. p should be at start of next line.
Range interface
Look ahead at next token's value.
Look 2 tokens ahead at value.
Turn next token in buffer into a token.
tk is on the opening (. Look ahead and return token that is past the closing ).
Lex hex strings: x"0A ae 34FE BD"
Parse special token sequence:
Scan forward to start of next line.
Combine two document comments into one, separated by an extra newline if newParagraph is true.