PrimaryExpression
/** * A primary expression. */
Inherit from MemberExpression
Primary key: id: int
schema PrimaryExpression extends MemberExpression { @primary id: int }
PrimaryExpression::getModifier
/** * Gets the `i`th modifier. */
- Parameter
self
:PrimaryExpression
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: PrimaryExpression, i: int) -> Modifier;
PrimaryExpression::getText
/** * Gets the text of this node. */
- Parameter
self
:PrimaryExpression
- Return
string
pub fn getText(self: PrimaryExpression) -> string;
PrimaryExpression::getKind
/** * Get the syntax kind of this node */
- Parameter
self
:PrimaryExpression
- Return
int
pub fn getKind(self: PrimaryExpression) -> int;
PrimaryExpression::getAModifier
/** * Gets a modifier. */
- Parameter
self
:PrimaryExpression
- Return
*Modifier
pub fn getAModifier(self: PrimaryExpression) -> *Modifier;
PrimaryExpression::getADecorator
/** * Gets a decorator. */
- Parameter
self
:PrimaryExpression
- Return
*Decorator
pub fn getADecorator(self: PrimaryExpression) -> *Decorator;
PrimaryExpression::getAComment
/** * Gets the comments related to it */
- Parameter
self
:PrimaryExpression
- Return
*Comment
pub fn getAComment(self: PrimaryExpression) -> *Comment;
PrimaryExpression::getFile
/** * Gets the file of this node. */
- Parameter
self
:PrimaryExpression
- Return
File
pub fn getFile(self: PrimaryExpression) -> File;
PrimaryExpression::getALeadingComment
/** * Gets the leading comments of it */
- Parameter
self
:PrimaryExpression
- Return
*Comment
pub fn getALeadingComment(self: PrimaryExpression) -> *Comment;
PrimaryExpression::getAChild
/** * Gets a child node of this node. */
- Parameter
self
:PrimaryExpression
- Return
*Node
pub fn getAChild(self: PrimaryExpression) -> *Node;
PrimaryExpression::getStartColumnNumber
- Parameter
self
:PrimaryExpression
- Return
int
pub fn getStartColumnNumber(self: PrimaryExpression) -> int;
PrimaryExpression::getLastChild
/** * Gets the last child of this node parent. */
- Parameter
self
:PrimaryExpression
- Return
Node
pub fn getLastChild(self: PrimaryExpression) -> Node;
PrimaryExpression::getEndColumnNumber
- Parameter
self
:PrimaryExpression
- Return
int
pub fn getEndColumnNumber(self: PrimaryExpression) -> int;
PrimaryExpression::getParent
/** * Gets the parent node of this node. */
- Parameter
self
:PrimaryExpression
- Return
Node
pub fn getParent(self: PrimaryExpression) -> Node;
PrimaryExpression::getExpression
- Parameter
self
:PrimaryExpression
- Return
Expression
pub fn getExpression(self: PrimaryExpression) -> Expression;
PrimaryExpression::getDecorator
/** * Gets the `i`th decorator. */
- Parameter
self
:PrimaryExpression
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: PrimaryExpression, i: int) -> Decorator;
PrimaryExpression::getChildCount
/** * Gets the number of child nodes. */
- Parameter
self
:PrimaryExpression
- Return
int
pub fn getChildCount(self: PrimaryExpression) -> int;
PrimaryExpression::getRelativePath
/** * Gets the relative path of this node. */
- Parameter
self
:PrimaryExpression
- Return
string
pub fn getRelativePath(self: PrimaryExpression) -> string;
PrimaryExpression::getRoot
/** * Gets the root top-level of this node. */
- Parameter
self
:PrimaryExpression
- Return
TopLevelDO
pub fn getRoot(self: PrimaryExpression) -> TopLevelDO;
PrimaryExpression::getSymbol
/** * Gets the symbol associated with this node. */
- Parameter
self
:PrimaryExpression
- Return
Symbol
pub fn getSymbol(self: PrimaryExpression) -> Symbol;
PrimaryExpression::getAnAncestorEnclosingFunction
/** * Gets an ancestor enclosing function of it */
- Parameter
self
:PrimaryExpression
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: PrimaryExpression) -> *FunctionLikeDeclaration;
PrimaryExpression::getIndex
- Parameter
self
:PrimaryExpression
- Return
int
pub fn getIndex(self: PrimaryExpression) -> int;
PrimaryExpression::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*PrimaryExpression
pub fn __all__(db: JavascriptDB) -> *PrimaryExpression;
PrimaryExpression::getLocation
/** * Gets the location of this node. */
- Parameter
self
:PrimaryExpression
- Return
Location
pub fn getLocation(self: PrimaryExpression) -> Location;
PrimaryExpression::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. */
- Parameter
self
:PrimaryExpression
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: PrimaryExpression, level: int) -> *Node;
PrimaryExpression::getParentOid
/** * Gets the parent oid of this node. */
- Parameter
self
:PrimaryExpression
- Return
int
pub fn getParentOid(self: PrimaryExpression) -> int;
PrimaryExpression::getEnclosingFunction
/** * Gets the enclosing function of it */
- Parameter
self
:PrimaryExpression
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: PrimaryExpression) -> FunctionLikeDeclaration;
PrimaryExpression::getADescendant
/** * Gets a descendant of this node. */
- Parameter
self
:PrimaryExpression
- Return
*Node
pub fn getADescendant(self: PrimaryExpression) -> *Node;
PrimaryExpression::getEndLineNumber
- Parameter
self
:PrimaryExpression
- Return
int
pub fn getEndLineNumber(self: PrimaryExpression) -> int;
PrimaryExpression::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. */
- Parameter
self
:PrimaryExpression
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: PrimaryExpression, level: int) -> Node;
PrimaryExpression::getATrailingComment
/** * Gets the trailing comments of it */
- Parameter
self
:PrimaryExpression
- Return
*Comment
pub fn getATrailingComment(self: PrimaryExpression) -> *Comment;
PrimaryExpression::getChild
/** * Gets the `i`th child of this node. */
- Parameter
self
:PrimaryExpression
- Parameter
i
:int
- Return
Node
pub fn getChild(self: PrimaryExpression, i: int) -> Node;
PrimaryExpression::getStartLineNumber
- Parameter
self
:PrimaryExpression
- Return
int
pub fn getStartLineNumber(self: PrimaryExpression) -> int;
PrimaryExpression::getAnAncestor
/** * Gets an ancestor of this node. */
- Parameter
self
:PrimaryExpression
- Return
*Node
pub fn getAnAncestor(self: PrimaryExpression) -> *Node;