PropertyName

/**
* A property name.
*/

Inherit from Node

Primary key: id: int

schema PropertyName extends Node {
  @primary id: int
}

PropertyName::getRoot

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

PropertyName::getAnAncestor

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

PropertyName::getChild

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

PropertyName::getChildCount

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

PropertyName::getAChild

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

PropertyName::getStartColumnNumber

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

PropertyName::getAnAncestorEnclosingFunction

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

PropertyName::getSymbol

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

PropertyName::getEndLineNumber

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

PropertyName::getATrailingComment

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

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

PropertyName::getALeadingComment

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

PropertyName::getFile

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

PropertyName::__all__

Data constraint method.

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

PropertyName::getLocation

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

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

PropertyName::getAComment

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

PropertyName::getADecorator

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

PropertyName::getDecorator

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

PropertyName::getEnclosingFunction

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

PropertyName::getADescendant

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

PropertyName::getName

/**
* Gets the name of this PropertyName.
*
* If this PropertyName is a ComputedPropertyName, it doesn't have a name
*/
pub fn getName(self: PropertyName) -> string;

PropertyName::getRelativePath

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

PropertyName::getModifier

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

PropertyName::getText

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

PropertyName::getStartLineNumber

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

PropertyName::getAModifier

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

PropertyName::getKind

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

PropertyName::getParent

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

PropertyName::getEndColumnNumber

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

PropertyName::getLastChild

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

PropertyName::getParentOid

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

PropertyName::getIndex

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