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

ComponentRegistrationExpression::getEndLineNumber

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

ComponentRegistrationExpression::getRoot

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

ComponentRegistrationExpression::getEnclosingFunction

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

ComponentRegistrationExpression::getADescendant

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

ComponentRegistrationExpression::getArgument

/**
* Gets the `i`th argument of this call expression.
* index from 0
*/
pub fn getArgument(self: ComponentRegistrationExpression, i: int) -> Expression;

ComponentRegistrationExpression::getParentOid

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

ComponentRegistrationExpression::getChild

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

ComponentRegistrationExpression::getCallee

/**
* Gets the callee of this call expression.
*/
pub fn getCallee(self: ComponentRegistrationExpression) -> FunctionLikeDeclaration;

ComponentRegistrationExpression::getAChild

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

ComponentRegistrationExpression::getStartColumnNumber

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

ComponentRegistrationExpression::getStartLineNumber

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

ComponentRegistrationExpression::getATypeArgument

/**
* Gets a type argument of this call expression.
*/
pub fn getATypeArgument(self: ComponentRegistrationExpression) -> *TypeNode;

ComponentRegistrationExpression::getAnAncestor

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

ComponentRegistrationExpression::isOptionalChaining

/**
* Determines whether this call expression is optional chaining, which means it has a `?.` token.
*/
pub fn isOptionalChaining(self: ComponentRegistrationExpression) -> bool;

ComponentRegistrationExpression::getRelativePath

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

ComponentRegistrationExpression::getExpression

pub fn getExpression(self: ComponentRegistrationExpression) -> LeftHandSideExpression;

ComponentRegistrationExpression::getParent

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

ComponentRegistrationExpression::getTypeArgument

/**
* Gets the `i`th type argument of this call expression.
*/
pub fn getTypeArgument(self: ComponentRegistrationExpression, i: int) -> TypeNode;

ComponentRegistrationExpression::getQuestionDotToken

/**
* Gets the `?.` token of this call expression.
*/
pub fn getQuestionDotToken(self: ComponentRegistrationExpression) -> QuestionDotToken;

ComponentRegistrationExpression::getLocation

/**
* Gets the location of this node.
*/
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.
*/
pub fn getADescendantByLevel(self: ComponentRegistrationExpression, level: int) -> *Node;

ComponentRegistrationExpression::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *ComponentRegistrationExpression;

ComponentRegistrationExpression::getLastChild

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

ComponentRegistrationExpression::hasCallee

/**
* Determine whether this CallExpression has a callee.
*/
pub fn hasCallee(self: ComponentRegistrationExpression) -> bool;

ComponentRegistrationExpression::getSymbol

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

ComponentRegistrationExpression::getAnAncestorEnclosingFunction

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

ComponentRegistrationExpression::getIndex

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

ComponentRegistrationExpression::getText

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

ComponentRegistrationExpression::getModifier

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

ComponentRegistrationExpression::getDecorator

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

ComponentRegistrationExpression::getAnArgument

/**
* Gets an argument of this call expression.
*/
pub fn getAnArgument(self: ComponentRegistrationExpression) -> *Expression;

ComponentRegistrationExpression::getChildCount

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

ComponentRegistrationExpression::getAModifier

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

ComponentRegistrationExpression::getKind

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

ComponentRegistrationExpression::getFile

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

ComponentRegistrationExpression::getALeadingComment

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

ComponentRegistrationExpression::getAComment

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

ComponentRegistrationExpression::getADecorator

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

ComponentRegistrationExpression::getATrailingComment

/**
* Gets the trailing comments of it
*/
pub fn getATrailingComment(self: ComponentRegistrationExpression) -> *Comment;

ComponentRegistrationExpression::getEndColumnNumber

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

ComponentRegistrationExpression::getArgumentCount

/**
* Gets the count of the arguments.
*/
pub fn getArgumentCount(self: ComponentRegistrationExpression) -> int;

ComponentRegistrationExpression::getTypeArgumentCount

/**
* Gets the count of the type arguments.
*/
pub fn getTypeArgumentCount(self: ComponentRegistrationExpression) -> int;