Class FunctionDeclaration

class FunctionDeclaration
  : BaseNode ;

Fields

NameTypeDescription
attributes Attribute[]
comment string
constraint Constraint
functionBody FunctionBody
hasAuto bool
hasRef bool
memberFunctionAttributes MemberFunctionAttribute[]
name TokenStructure!(ubyte,"import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;")
parameters Parameters
returnType Type
storageClasses StorageClass[]
templateParameters TemplateParameters
tokens const(TokenStructure!(ubyte,"import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;"))[]List of tokens consumed by this AST node

Methods

NameDescription
accept (visitor)