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
*/
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.
*/
pub fn getAnAncestorByLevel(self: PropertyAccessExpression, level: int) -> Node;

PropertyAccessExpression::getEndLineNumber

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

PropertyAccessExpression::getADescendant

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

PropertyAccessExpression::getEnclosingFunction

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

PropertyAccessExpression::getParentOid

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

PropertyAccessExpression::getEndColumnNumber

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

PropertyAccessExpression::getLastChild

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

PropertyAccessExpression::getParent

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

PropertyAccessExpression::getExpression

/**
* Gets the expression on which the property is accessed.
*/
pub fn getExpression(self: PropertyAccessExpression) -> LeftHandSideExpression;

PropertyAccessExpression::isOptionalChaining

/**
* Determines whether this access expression is optional chaining.
*/
pub fn isOptionalChaining(self: PropertyAccessExpression) -> bool;

PropertyAccessExpression::getRelativePath

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

PropertyAccessExpression::getChild

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

PropertyAccessExpression::getCallee

/**
* Gets the callee (GetAccessorDeclaration or SetAccessorDeclaration) of this access expression.
*/
pub fn getCallee(self: PropertyAccessExpression) -> FunctionLikeDeclaration;

PropertyAccessExpression::getIndex

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

PropertyAccessExpression::getFile

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

PropertyAccessExpression::getALeadingComment

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

PropertyAccessExpression::getAComment

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

PropertyAccessExpression::getADecorator

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

PropertyAccessExpression::__all__

Data constraint method.

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.
*/
pub fn getADescendantByLevel(self: PropertyAccessExpression, level: int) -> *Node;

PropertyAccessExpression::getLocation

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

PropertyAccessExpression::getAModifier

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

PropertyAccessExpression::getKind

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

PropertyAccessExpression::getPropertyName

pub fn getPropertyName(self: PropertyAccessExpression) -> string;

PropertyAccessExpression::getProperty

pub fn getProperty(self: PropertyAccessExpression) -> MemberName;

PropertyAccessExpression::getModifier

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

PropertyAccessExpression::getText

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

PropertyAccessExpression::getDecorator

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

PropertyAccessExpression::getChildCount

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

PropertyAccessExpression::getAChild

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

PropertyAccessExpression::getStartColumnNumber

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

PropertyAccessExpression::getPropertyExpression

/**
* Gets the property expression of this AccessExpression.
*/
pub fn getPropertyExpression(self: PropertyAccessExpression) -> Expression;

PropertyAccessExpression::getStartLineNumber

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

PropertyAccessExpression::getAnAncestor

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

PropertyAccessExpression::getRoot

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

PropertyAccessExpression::getSymbol

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

PropertyAccessExpression::getAnAncestorEnclosingFunction

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