Class TernaryExpression

class TernaryExpression
  : ExpressionNode ;

Fields

NameTypeDescription
colon TokenStructure!(ubyte,"import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;")Store this so that we know where the ':' is
expression ExpressionNode
orOrExpression ExpressionNode
ternaryExpression ExpressionNode
tokens const(TokenStructure!(ubyte,"import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;"))[]List of tokens consumed by this AST node

Methods

NameDescription
accept (visitor)