EnumDeclaration

/** * An enum declaration. */ 

Inherit from DeclarationStatement

Primary key: id: int

schema EnumDeclaration extends DeclarationStatement { @primary id: int } 

EnumDeclaration::getModifier

/** * Gets the `i`th modifier. */ 
pub fn getModifier(self: EnumDeclaration, i: int) -> Modifier; 

EnumDeclaration::getFile

/** * Gets the file of this node. */ 
pub fn getFile(self: EnumDeclaration) -> File; 

EnumDeclaration::getALeadingComment

/** * Gets the leading comments of it */ 
pub fn getALeadingComment(self: EnumDeclaration) -> *Comment; 

EnumDeclaration::getADescendant

/** * Gets a descendant of this node. */ 
pub fn getADescendant(self: EnumDeclaration) -> *Node; 

EnumDeclaration::getEnclosingFunction

/** * Gets the enclosing function of it */ 
pub fn getEnclosingFunction(self: EnumDeclaration) -> FunctionLikeDeclaration; 

EnumDeclaration::getAnAncestor

/** * Gets an ancestor of this node. */ 
pub fn getAnAncestor(self: EnumDeclaration) -> *Node; 

EnumDeclaration::getAModifier

/** * Gets a modifier. */ 
pub fn getAModifier(self: EnumDeclaration) -> *Modifier; 

EnumDeclaration::getKind

/** * Get the syntax kind of this node */ 
pub fn getKind(self: EnumDeclaration) -> int; 

EnumDeclaration::getADescendantByLevel

/** * Gets a descendant of this node by the level of the hierarchy. * * @param level: the number of levels to go up in the hierarchy. */ 
pub fn getADescendantByLevel(self: EnumDeclaration, level: int) -> *Node; 

EnumDeclaration::getLocation

/** * Gets the location of this node. */ 
pub fn getLocation(self: EnumDeclaration) -> Location; 

EnumDeclaration::getLastChild

/** * Gets the last child of this node parent. */ 
pub fn getLastChild(self: EnumDeclaration) -> Node; 

EnumDeclaration::getEndColumnNumber

pub fn getEndColumnNumber(self: EnumDeclaration) -> int; 

EnumDeclaration::getParent

/** * Gets the parent node of this node. */ 
pub fn getParent(self: EnumDeclaration) -> Node; 

EnumDeclaration::getIndex

pub fn getIndex(self: EnumDeclaration) -> int; 

EnumDeclaration::getText

/** * Gets the text of this node. */ 
pub fn getText(self: EnumDeclaration) -> string; 

EnumDeclaration::getAEnumMember

/** * Gets a EnumMember of this EnumDeclaration. */ 
pub fn getAEnumMember(self: EnumDeclaration) -> *EnumMember; 

EnumDeclaration::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *EnumDeclaration; 

EnumDeclaration::getIdentifier

/** * Gets the identifier this EnumDeclaration. */ 
pub fn getIdentifier(self: EnumDeclaration) -> Identifier; 

EnumDeclaration::getADecorator

/** * Gets a decorator. */ 
pub fn getADecorator(self: EnumDeclaration) -> *Decorator; 

EnumDeclaration::getAComment

/** * Gets the comments related to it */ 
pub fn getAComment(self: EnumDeclaration) -> *Comment; 

EnumDeclaration::getEnumMember

/** * Gets the EnumMember with index, start from 0. */ 
pub fn getEnumMember(self: EnumDeclaration, index: int) -> EnumMember; 

EnumDeclaration::getRelativePath

/** * Gets the relative path of this node. */ 
pub fn getRelativePath(self: EnumDeclaration) -> string; 

EnumDeclaration::getParentOid

/** * Gets the parent oid of this node. */ 
pub fn getParentOid(self: EnumDeclaration) -> int; 

EnumDeclaration::getAnAncestorEnclosingFunction

/** * Gets an ancestor enclosing function of it */ 
pub fn getAnAncestorEnclosingFunction(self: EnumDeclaration) -> *FunctionLikeDeclaration; 

EnumDeclaration::getSymbol

/** * Gets the symbol associated with this node. */ 
pub fn getSymbol(self: EnumDeclaration) -> Symbol; 

EnumDeclaration::getRoot

/** * Gets the root top-level of this node. */ 
pub fn getRoot(self: EnumDeclaration) -> TopLevelDO; 

EnumDeclaration::getEnumMemberCount

/** * Gets the count of EnumMember. */ 
pub fn getEnumMemberCount(self: EnumDeclaration) -> int; 

EnumDeclaration::getChildCount

/** * Gets the number of child nodes. */ 
pub fn getChildCount(self: EnumDeclaration) -> int; 

EnumDeclaration::getDecorator

/** * Gets the `i`th decorator. */ 
pub fn getDecorator(self: EnumDeclaration, i: int) -> Decorator; 

EnumDeclaration::getEndLineNumber

pub fn getEndLineNumber(self: EnumDeclaration) -> int; 

EnumDeclaration::getATrailingComment

/** * Gets the trailing comments of it */ 
pub fn getATrailingComment(self: EnumDeclaration) -> *Comment; 

EnumDeclaration::getAnAncestorByLevel

/** * Gets an ancestor of this node by the level of the hierarchy. * * @param level: the number of levels to go up in the hierarchy. */ 
pub fn getAnAncestorByLevel(self: EnumDeclaration, level: int) -> Node; 

EnumDeclaration::getChild

/** * Gets the `i`th child of this node. */ 
pub fn getChild(self: EnumDeclaration, i: int) -> Node; 

EnumDeclaration::getAChild

/** * Gets a child node of this node. */ 
pub fn getAChild(self: EnumDeclaration) -> *Node; 

EnumDeclaration::getStartColumnNumber

pub fn getStartColumnNumber(self: EnumDeclaration) -> int; 

EnumDeclaration::getStartLineNumber

pub fn getStartLineNumber(self: EnumDeclaration) -> int;