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