IdentContext

Undocumented in source.

Constructors

this
this(DParsedModule mod, Token token, ImportInfo[] imports, const(ASTNode)[] stack)
Undocumented in source.

Members

Functions

dump
void dump()
Undocumented in source. Be warned that the author may not have intended to support it.
initDeclarationType
bool initDeclarationType()
Undocumented in source. Be warned that the author may not have intended to support it.
match
T match(int offset)

casts top object on stack with specified offset to specified type and returns result

match
bool match()

returns true if top object on stack is T1 and second is T2

match
bool match()

returns true if top object on stack is T1 and second is T2

sametok
bool sametok(Token t)

returns true if context ident token is the same as t

Variables

baseDeclarationNode
ASTNode baseDeclarationNode;
Undocumented in source.
declarationNode
ASTNode declarationNode;
Undocumented in source.
declarationType
DeclarationType declarationType;
Undocumented in source.
imports
ImportInfo[] imports;
Undocumented in source.
mod
DParsedModule mod;
Undocumented in source.
stack
const(ASTNode)[] stack;
Undocumented in source.
token
Token token;
Undocumented in source.

Meta