MetaProperty

/** * A meta property. */ 

Inherit from PrimaryExpression

Primary key: id: int

schema MetaProperty extends PrimaryExpression { @primary id: int } 

MetaProperty::getAnAncestor

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

MetaProperty::getStartLineNumber

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

MetaProperty::getChild

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

MetaProperty::getATrailingComment

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

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

MetaProperty::getEndLineNumber

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

MetaProperty::getParentOid

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

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

MetaProperty::getLocation

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

MetaProperty::getIndex

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

MetaProperty::getFile

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

MetaProperty::getALeadingComment

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

MetaProperty::getAComment

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

MetaProperty::getADecorator

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

MetaProperty::__all__

Data constraint method.

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

MetaProperty::getAModifier

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

MetaProperty::getKind

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

MetaProperty::getText

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

MetaProperty::getADescendant

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

MetaProperty::getEnclosingFunction

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

MetaProperty::getName

pub fn getName(self: MetaProperty) -> Identifier; 

MetaProperty::getRelativePath

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

MetaProperty::getKeywordToken

pub fn getKeywordToken(self: MetaProperty) -> KeywordToken; 

MetaProperty::getModifier

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

MetaProperty::getDecorator

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

MetaProperty::getChildCount

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

MetaProperty::getAChild

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

MetaProperty::getStartColumnNumber

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

MetaProperty::getLastChild

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

MetaProperty::getEndColumnNumber

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

MetaProperty::getParent

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

MetaProperty::getExpression

pub fn getExpression(self: MetaProperty) -> Expression; 

MetaProperty::getRoot

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

MetaProperty::getSymbol

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

MetaProperty::getAnAncestorEnclosingFunction

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