PropertyDeclaration

/**
* A PropertyDeclaration
*/

Inherit from ClassElement

Primary key: id: int

schema PropertyDeclaration extends ClassElement {
  @primary id: int
}

PropertyDeclaration::getSymbol

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

PropertyDeclaration::getAnAncestorEnclosingFunction

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

PropertyDeclaration::getIndex

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

PropertyDeclaration::getParentOid

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

PropertyDeclaration::getRelativePath

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

PropertyDeclaration::getEndColumnNumber

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

PropertyDeclaration::getParent

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

PropertyDeclaration::getText

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

PropertyDeclaration::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: PropertyDeclaration, level: int) -> *Node;

PropertyDeclaration::getFile

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

PropertyDeclaration::getALeadingComment

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

PropertyDeclaration::getATrailingComment

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

PropertyDeclaration::getEndLineNumber

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

PropertyDeclaration::getInitializer

/**
* Gets the initializer expression.
*/
pub fn getInitializer(self: PropertyDeclaration) -> Expression;

PropertyDeclaration::getLastChild

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

PropertyDeclaration::getNameNode

/**
* Gets the name node, which is a PropertyName.
*/
pub fn getNameNode(self: PropertyDeclaration) -> PropertyName;

PropertyDeclaration::getModifier

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

PropertyDeclaration::getTypeNode

/**
* Gets the type node. (Optional)
*/
pub fn getTypeNode(self: PropertyDeclaration) -> TypeNode;

PropertyDeclaration::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: PropertyDeclaration, level: int) -> Node;

PropertyDeclaration::getNameNodeIndex

/**
* Get the index of name node.
*/
pub fn getNameNodeIndex(self: PropertyDeclaration) -> int;

PropertyDeclaration::getRoot

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

PropertyDeclaration::__all__

Data constraint method.

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

PropertyDeclaration::getKind

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

PropertyDeclaration::getAModifier

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

PropertyDeclaration::getLocation

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

PropertyDeclaration::getExclamationToken

/**
* Gets the `!` token. (Optional)
*/
pub fn getExclamationToken(self: PropertyDeclaration) -> ExclamationToken;

PropertyDeclaration::getAComment

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

PropertyDeclaration::getADecorator

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

PropertyDeclaration::getDecorator

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

PropertyDeclaration::getDecoratorCount

/**
* Gets the number of decorators.
*/
pub fn getDecoratorCount(self: PropertyDeclaration) -> int;

PropertyDeclaration::getChildCount

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

PropertyDeclaration::getModifierCount

/**
* Gets the number of modifiers.
*/
pub fn getModifierCount(self: PropertyDeclaration) -> int;

PropertyDeclaration::getEnclosingFunction

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

PropertyDeclaration::getADescendant

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

PropertyDeclaration::getAnAncestor

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

PropertyDeclaration::getChild

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

PropertyDeclaration::getQuestionToken

/**
* Gets the `?` token. (Optional)
*/
pub fn getQuestionToken(self: PropertyDeclaration) -> QuestionToken;

PropertyDeclaration::getAChild

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

PropertyDeclaration::getStartColumnNumber

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

PropertyDeclaration::getStartLineNumber

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