Class IfStatement

class IfStatement
  : BaseNode ;

Fields

NameTypeDescription
column ulong
condition IfCondition
elseStatement DeclarationOrStatement
line ulong
startIndex ulong
thenStatement DeclarationOrStatement
tokens const(TokenStructure!(ubyte,"import dparse.lexer:TokenTriviaFields; mixin TokenTriviaFields;"))[]List of tokens consumed by this AST node

Properties

NameTypeDescription
expression[get] inout(Expression)
identifier[get] inout(TokenStructure!(ubyte,"import dparse.lexer:TokenTriviaFields; mixin TokenTriviaFields;"))
type[get] inout(Type)
typeCtors[get] inout(ubyte[])

Methods

NameDescription
accept (visitor)