AppObject
/**
* The app object, which is the first argument of the AppRegistrationExpression.
*/
Inherit from ObjectLiteralExpression
Primary key: id: int
schema AppObject extends ObjectLiteralExpression {
@primary id: int
}
AppObject::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:AppObject
- Return
string
pub fn getRelativePath(self: AppObject) -> string;
AppObject::getExpression
- Parameter
self
:AppObject
- Return
Expression
pub fn getExpression(self: AppObject) -> Expression;
AppObject::getParent
/**
* Gets the parent node of this node.
*/
pub fn getParent(self: AppObject) -> Node;
AppObject::getEndColumnNumber
- Parameter
self
:AppObject
- Return
int
pub fn getEndColumnNumber(self: AppObject) -> int;
AppObject::getLastChild
/**
* Gets the last child of this node parent.
*/
pub fn getLastChild(self: AppObject) -> Node;
AppObject::getStartColumnNumber
- Parameter
self
:AppObject
- Return
int
pub fn getStartColumnNumber(self: AppObject) -> int;
AppObject::getAChild
/**
* Gets a child node of this node.
*/
pub fn getAChild(self: AppObject) -> *Node;
AppObject::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:AppObject
- Return
int
pub fn getChildCount(self: AppObject) -> int;
AppObject::getDecorator
/**
* Gets the `i`th decorator.
*/
pub fn getDecorator(self: AppObject, i: int) -> Decorator;
AppObject::getALeadingComment
/**
* Gets the leading comments of it
*/
pub fn getALeadingComment(self: AppObject) -> *Comment;
AppObject::getPropertyByName
/**
* Get the property of this ObjectLiteralExpression by name.
*/
- Parameter
self
:AppObject
- Parameter
name
:string
- Return
ObjectLiteralElement
pub fn getPropertyByName(self: AppObject, name: string) -> ObjectLiteralElement;
AppObject::getFile
/**
* Gets the file of this node.
*/
pub fn getFile(self: AppObject) -> File;
AppObject::getAComment
/**
* Gets the comments related to it
*/
pub fn getAComment(self: AppObject) -> *Comment;
AppObject::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:AppObject
- Return
*Decorator
pub fn getADecorator(self: AppObject) -> *Decorator;
AppObject::hasProperty
/**
* Determine whether this ObjectLiteralExpression has a property with the specified name.
*/
- Parameter
self
:AppObject
- Parameter
name
:string
- Return
bool
pub fn hasProperty(self: AppObject, name: string) -> bool;
AppObject::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:AppObject
- Return
int
pub fn getParentOid(self: AppObject) -> int;
AppObject::getADescendant
/**
* Gets a descendant of this node.
*/
pub fn getADescendant(self: AppObject) -> *Node;
AppObject::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:AppObject
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: AppObject) -> FunctionLikeDeclaration;
AppObject::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:AppObject
- Return
TopLevelDO
pub fn getRoot(self: AppObject) -> TopLevelDO;
AppObject::getAnAncestor
/**
* Gets an ancestor of this node.
*/
pub fn getAnAncestor(self: AppObject) -> *Node;
AppObject::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: AppObject, level: int) -> Node;
AppObject::getEndLineNumber
- Parameter
self
:AppObject
- Return
int
pub fn getEndLineNumber(self: AppObject) -> int;
AppObject::getATrailingComment
/**
* Gets the trailing comments of it
*/
pub fn getATrailingComment(self: AppObject) -> *Comment;
AppObject::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*AppObject
pub fn __all__(db: JavascriptDB) -> *AppObject;
AppObject::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: AppObject, level: int) -> *Node;
AppObject::getLocation
/**
* Gets the location of this node.
*/
pub fn getLocation(self: AppObject) -> Location;
AppObject::getStartLineNumber
- Parameter
self
:AppObject
- Return
int
pub fn getStartLineNumber(self: AppObject) -> int;
AppObject::getChild
/**
* Gets the `i`th child of this node.
*/
pub fn getChild(self: AppObject, i: int) -> Node;
AppObject::getSymbol
/**
* Gets the symbol associated with this node.
*/
pub fn getSymbol(self: AppObject) -> Symbol;
AppObject::getAnAncestorEnclosingFunction
/**
* Gets an ancestor enclosing function of it
*/
- Parameter
self
:AppObject
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: AppObject) -> *FunctionLikeDeclaration;
AppObject::getPropertyAssignmentByName
/**
* Get the PropertyAssignment of this ObjectLiteralExpression by name.
*/
- Parameter
self
:AppObject
- Parameter
name
:string
- Return
PropertyAssignment
pub fn getPropertyAssignmentByName(self: AppObject, name: string) -> PropertyAssignment;
AppObject::getIndex
- Parameter
self
:AppObject
- Return
int
pub fn getIndex(self: AppObject) -> int;
AppObject::getAProperty
/**
* Get a property, which is an ObjectLiteralElement.
*/
- Parameter
self
:AppObject
- Return
*ObjectLiteralElement
pub fn getAProperty(self: AppObject) -> *ObjectLiteralElement;
AppObject::getAModifier
/**
* Gets a modifier.
*/
pub fn getAModifier(self: AppObject) -> *Modifier;
AppObject::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:AppObject
- Return
int
pub fn getKind(self: AppObject) -> int;
AppObject::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:AppObject
- Return
string
pub fn getText(self: AppObject) -> string;
AppObject::getModifier
/**
* Gets the `i`th modifier.
*/
pub fn getModifier(self: AppObject, i: int) -> Modifier;
AppObject::getProperty
/**
* Get the `i`th property.
*/
- Parameter
self
:AppObject
- Parameter
i
:int
- Return
ObjectLiteralElement
pub fn getProperty(self: AppObject, i: int) -> ObjectLiteralElement;