ComponentRegistrationExpression
/**
* A `Component` call expression used to register a custom component.
*/
Inherit from CallExpression
Primary key: id: int
schema ComponentRegistrationExpression extends CallExpression {
@primary id: int
}
ComponentRegistrationExpression::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
:ComponentRegistrationExpression
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: ComponentRegistrationExpression, level: int) -> Node;
ComponentRegistrationExpression::getEndLineNumber
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getEndLineNumber(self: ComponentRegistrationExpression) -> int;
ComponentRegistrationExpression::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
TopLevelDO
pub fn getRoot(self: ComponentRegistrationExpression) -> TopLevelDO;
ComponentRegistrationExpression::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: ComponentRegistrationExpression) -> FunctionLikeDeclaration;
ComponentRegistrationExpression::getADescendant
/**
* Gets a descendant of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*Node
pub fn getADescendant(self: ComponentRegistrationExpression) -> *Node;
ComponentRegistrationExpression::getArgument
/**
* Gets the `i`th argument of this call expression.
* index from 0
*/
- Parameter
self
:ComponentRegistrationExpression
- Parameter
i
:int
- Return
Expression
pub fn getArgument(self: ComponentRegistrationExpression, i: int) -> Expression;
ComponentRegistrationExpression::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getParentOid(self: ComponentRegistrationExpression) -> int;
ComponentRegistrationExpression::getChild
/**
* Gets the `i`th child of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Parameter
i
:int
- Return
Node
pub fn getChild(self: ComponentRegistrationExpression, i: int) -> Node;
ComponentRegistrationExpression::getCallee
/**
* Gets the callee of this call expression.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
FunctionLikeDeclaration
pub fn getCallee(self: ComponentRegistrationExpression) -> FunctionLikeDeclaration;
ComponentRegistrationExpression::getAChild
/**
* Gets a child node of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*Node
pub fn getAChild(self: ComponentRegistrationExpression) -> *Node;
ComponentRegistrationExpression::getStartColumnNumber
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getStartColumnNumber(self: ComponentRegistrationExpression) -> int;
ComponentRegistrationExpression::getStartLineNumber
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getStartLineNumber(self: ComponentRegistrationExpression) -> int;
ComponentRegistrationExpression::getATypeArgument
/**
* Gets a type argument of this call expression.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*TypeNode
pub fn getATypeArgument(self: ComponentRegistrationExpression) -> *TypeNode;
ComponentRegistrationExpression::getAnAncestor
/**
* Gets an ancestor of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*Node
pub fn getAnAncestor(self: ComponentRegistrationExpression) -> *Node;
ComponentRegistrationExpression::isOptionalChaining
/**
* Determines whether this call expression is optional chaining, which means it has a `?.` token.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
bool
pub fn isOptionalChaining(self: ComponentRegistrationExpression) -> bool;
ComponentRegistrationExpression::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
string
pub fn getRelativePath(self: ComponentRegistrationExpression) -> string;
ComponentRegistrationExpression::getExpression
- Parameter
self
:ComponentRegistrationExpression
- Return
LeftHandSideExpression
pub fn getExpression(self: ComponentRegistrationExpression) -> LeftHandSideExpression;
ComponentRegistrationExpression::getParent
/**
* Gets the parent node of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
Node
pub fn getParent(self: ComponentRegistrationExpression) -> Node;
ComponentRegistrationExpression::getTypeArgument
/**
* Gets the `i`th type argument of this call expression.
*/
- Parameter
self
:ComponentRegistrationExpression
- Parameter
i
:int
- Return
TypeNode
pub fn getTypeArgument(self: ComponentRegistrationExpression, i: int) -> TypeNode;
ComponentRegistrationExpression::getQuestionDotToken
/**
* Gets the `?.` token of this call expression.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
QuestionDotToken
pub fn getQuestionDotToken(self: ComponentRegistrationExpression) -> QuestionDotToken;
ComponentRegistrationExpression::getLocation
/**
* Gets the location of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
Location
pub fn getLocation(self: ComponentRegistrationExpression) -> Location;
ComponentRegistrationExpression::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
:ComponentRegistrationExpression
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: ComponentRegistrationExpression, level: int) -> *Node;
ComponentRegistrationExpression::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*ComponentRegistrationExpression
pub fn __all__(db: JavascriptDB) -> *ComponentRegistrationExpression;
ComponentRegistrationExpression::getLastChild
/**
* Gets the last child of this node parent.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
Node
pub fn getLastChild(self: ComponentRegistrationExpression) -> Node;
ComponentRegistrationExpression::hasCallee
/**
* Determine whether this CallExpression has a callee.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
bool
pub fn hasCallee(self: ComponentRegistrationExpression) -> bool;
ComponentRegistrationExpression::getSymbol
/**
* Gets the symbol associated with this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
Symbol
pub fn getSymbol(self: ComponentRegistrationExpression) -> Symbol;
ComponentRegistrationExpression::getAnAncestorEnclosingFunction
/**
* Gets an ancestor enclosing function of it
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: ComponentRegistrationExpression) -> *FunctionLikeDeclaration;
ComponentRegistrationExpression::getIndex
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getIndex(self: ComponentRegistrationExpression) -> int;
ComponentRegistrationExpression::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
string
pub fn getText(self: ComponentRegistrationExpression) -> string;
ComponentRegistrationExpression::getModifier
/**
* Gets the `i`th modifier.
*/
- Parameter
self
:ComponentRegistrationExpression
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: ComponentRegistrationExpression, i: int) -> Modifier;
ComponentRegistrationExpression::getDecorator
/**
* Gets the `i`th decorator.
*/
- Parameter
self
:ComponentRegistrationExpression
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: ComponentRegistrationExpression, i: int) -> Decorator;
ComponentRegistrationExpression::getAnArgument
/**
* Gets an argument of this call expression.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*Expression
pub fn getAnArgument(self: ComponentRegistrationExpression) -> *Expression;
ComponentRegistrationExpression::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getChildCount(self: ComponentRegistrationExpression) -> int;
ComponentRegistrationExpression::getAModifier
/**
* Gets a modifier.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*Modifier
pub fn getAModifier(self: ComponentRegistrationExpression) -> *Modifier;
ComponentRegistrationExpression::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getKind(self: ComponentRegistrationExpression) -> int;
ComponentRegistrationExpression::getFile
/**
* Gets the file of this node.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
File
pub fn getFile(self: ComponentRegistrationExpression) -> File;
ComponentRegistrationExpression::getALeadingComment
/**
* Gets the leading comments of it
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*Comment
pub fn getALeadingComment(self: ComponentRegistrationExpression) -> *Comment;
ComponentRegistrationExpression::getAComment
/**
* Gets the comments related to it
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*Comment
pub fn getAComment(self: ComponentRegistrationExpression) -> *Comment;
ComponentRegistrationExpression::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*Decorator
pub fn getADecorator(self: ComponentRegistrationExpression) -> *Decorator;
ComponentRegistrationExpression::getATrailingComment
/**
* Gets the trailing comments of it
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
*Comment
pub fn getATrailingComment(self: ComponentRegistrationExpression) -> *Comment;
ComponentRegistrationExpression::getEndColumnNumber
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getEndColumnNumber(self: ComponentRegistrationExpression) -> int;
ComponentRegistrationExpression::getArgumentCount
/**
* Gets the count of the arguments.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getArgumentCount(self: ComponentRegistrationExpression) -> int;
ComponentRegistrationExpression::getTypeArgumentCount
/**
* Gets the count of the type arguments.
*/
- Parameter
self
:ComponentRegistrationExpression
- Return
int
pub fn getTypeArgumentCount(self: ComponentRegistrationExpression) -> int;