PageRegistrationExpression

/**
* A `Page` call expression used to register a page.
*/

Inherit from CallExpression

Primary key: id: int

schema PageRegistrationExpression extends CallExpression {
  @primary id: int
}

PageRegistrationExpression::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: PageRegistrationExpression, level: int) -> Node;

PageRegistrationExpression::getEndLineNumber

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

PageRegistrationExpression::getRoot

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

PageRegistrationExpression::getEnclosingFunction

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

PageRegistrationExpression::getADescendant

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

PageRegistrationExpression::getArgument

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

PageRegistrationExpression::getParentOid

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

PageRegistrationExpression::getChild

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

PageRegistrationExpression::getCallee

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

PageRegistrationExpression::getAChild

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

PageRegistrationExpression::getStartColumnNumber

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

PageRegistrationExpression::getStartLineNumber

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

PageRegistrationExpression::getATypeArgument

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

PageRegistrationExpression::getAnAncestor

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

PageRegistrationExpression::isOptionalChaining

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

PageRegistrationExpression::getRelativePath

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

PageRegistrationExpression::getExpression

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

PageRegistrationExpression::getParent

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

PageRegistrationExpression::getTypeArgument

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

PageRegistrationExpression::getQuestionDotToken

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

PageRegistrationExpression::getLocation

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

PageRegistrationExpression::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: PageRegistrationExpression, level: int) -> *Node;

PageRegistrationExpression::__all__

Data constraint method.

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

PageRegistrationExpression::getLastChild

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

PageRegistrationExpression::hasCallee

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

PageRegistrationExpression::getSymbol

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

PageRegistrationExpression::getAnAncestorEnclosingFunction

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

PageRegistrationExpression::getIndex

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

PageRegistrationExpression::getText

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

PageRegistrationExpression::getModifier

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

PageRegistrationExpression::getDecorator

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

PageRegistrationExpression::getAnArgument

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

PageRegistrationExpression::getChildCount

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

PageRegistrationExpression::getAModifier

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

PageRegistrationExpression::getKind

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

PageRegistrationExpression::getFile

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

PageRegistrationExpression::getALeadingComment

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

PageRegistrationExpression::getAComment

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

PageRegistrationExpression::getADecorator

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

PageRegistrationExpression::getATrailingComment

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

PageRegistrationExpression::getEndColumnNumber

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

PageRegistrationExpression::getArgumentCount

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

PageRegistrationExpression::getTypeArgumentCount

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