Class IfStatement
Fields
Name | Type | Description |
---|---|---|
column
|
ulong | |
condition
|
IfCondition | |
elseStatement
|
DeclarationOrStatement | |
line
|
ulong | |
startIndex
|
ulong | |
thenStatement
|
DeclarationOrStatement | |
tokens
|
const(TokenStructure!(ubyte,"import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;"))[] | List of tokens consumed by this AST node |
Properties
Name | Type | Description |
---|---|---|
expression [get]
|
inout(Expression) | |
identifier [get]
|
inout(TokenStructure!(ubyte,"import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;")) | |
type [get]
|
inout(Type) | |
typeCtors [get]
|
inout(ubyte[]) |
Methods
Name | Description |
---|---|
accept
(visitor)
|