Class Declaration

class Declaration
  : BaseNode ;

Fields

NameTypeDescription
attributes Attribute[]
declarations Declaration[]
tokens const(TokenStructure!(ubyte,"import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;"))[]List of tokens consumed by this AST node

Properties

NameTypeDescription
aliasAssign[get] const(AliasAssign)
aliasAssign[set] const(AliasAssign)
aliasDeclaration[get] const(AliasDeclaration)
aliasDeclaration[set] const(AliasDeclaration)
aliasThisDeclaration[get] const(AliasThisDeclaration)
aliasThisDeclaration[set] const(AliasThisDeclaration)
anonymousEnumDeclaration[get] const(AnonymousEnumDeclaration)
anonymousEnumDeclaration[set] const(AnonymousEnumDeclaration)
attributeDeclaration[get] const(AttributeDeclaration)
attributeDeclaration[set] const(AttributeDeclaration)
classDeclaration[get] const(ClassDeclaration)
classDeclaration[set] const(ClassDeclaration)
conditionalDeclaration[get] const(ConditionalDeclaration)
conditionalDeclaration[set] const(ConditionalDeclaration)
constructor[get] const(Constructor)
constructor[set] const(Constructor)
debugSpecification[get] const(DebugSpecification)
debugSpecification[set] const(DebugSpecification)
destructor[get] const(Destructor)
destructor[set] const(Destructor)
enumDeclaration[get] const(EnumDeclaration)
enumDeclaration[set] const(EnumDeclaration)
eponymousTemplateDeclaration[get] const(EponymousTemplateDeclaration)
eponymousTemplateDeclaration[set] const(EponymousTemplateDeclaration)
functionDeclaration[get] const(FunctionDeclaration)
functionDeclaration[set] const(FunctionDeclaration)
importDeclaration[get] const(ImportDeclaration)
importDeclaration[set] const(ImportDeclaration)
interfaceDeclaration[get] const(InterfaceDeclaration)
interfaceDeclaration[set] const(InterfaceDeclaration)
invariant_[get] const(Invariant)
invariant_[set] const(Invariant)
mixinDeclaration[get] const(MixinDeclaration)
mixinDeclaration[set] const(MixinDeclaration)
mixinTemplateDeclaration[get] const(MixinTemplateDeclaration)
mixinTemplateDeclaration[set] const(MixinTemplateDeclaration)
postblit[get] const(Postblit)
postblit[set] const(Postblit)
pragmaDeclaration[get] const(PragmaDeclaration)
pragmaDeclaration[set] const(PragmaDeclaration)
sharedStaticConstructor[get] const(SharedStaticConstructor)
sharedStaticConstructor[set] const(SharedStaticConstructor)
sharedStaticDestructor[get] const(SharedStaticDestructor)
sharedStaticDestructor[set] const(SharedStaticDestructor)
staticAssertDeclaration[get] const(StaticAssertDeclaration)
staticAssertDeclaration[set] const(StaticAssertDeclaration)
staticConstructor[get] const(StaticConstructor)
staticConstructor[set] const(StaticConstructor)
staticDestructor[get] const(StaticDestructor)
staticDestructor[set] const(StaticDestructor)
staticForeachDeclaration[set] const(Foreach!(true))
staticForeachDeclaration[get] const(Foreach!(true))
structDeclaration[get] const(StructDeclaration)
structDeclaration[set] const(StructDeclaration)
templateDeclaration[get] const(TemplateDeclaration)
templateDeclaration[set] const(TemplateDeclaration)
unionDeclaration[get] const(UnionDeclaration)
unionDeclaration[set] const(UnionDeclaration)
unittest_[get] const(Unittest)
unittest_[set] const(Unittest)
variableDeclaration[get] const(VariableDeclaration)
variableDeclaration[set] const(VariableDeclaration)
versionSpecification[get] const(VersionSpecification)
versionSpecification[set] const(VersionSpecification)

Methods

NameDescription
accept (visitor)
opEquals (other)

Aliases

NameDescription
DeclarationTypes