ExclamationToken
/** * An `!` token. */
Inherit from Token
Primary key: id: int
schema ExclamationToken extends Token { @primary id: int }
ExclamationToken::getSymbol
/** * Gets the symbol associated with this node. */
- Parameter
self
:ExclamationToken
- Return
Symbol
pub fn getSymbol(self: ExclamationToken) -> Symbol;
ExclamationToken::getAnAncestorEnclosingFunction
/** * Gets an ancestor enclosing function of it */
- Parameter
self
:ExclamationToken
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: ExclamationToken) -> *FunctionLikeDeclaration;
ExclamationToken::getIndex
- Parameter
self
:ExclamationToken
- Return
int
pub fn getIndex(self: ExclamationToken) -> int;
ExclamationToken::getParentOid
/** * Gets the parent oid of this node. */
- Parameter
self
:ExclamationToken
- Return
int
pub fn getParentOid(self: ExclamationToken) -> int;
ExclamationToken::getRelativePath
/** * Gets the relative path of this node. */
- Parameter
self
:ExclamationToken
- Return
string
pub fn getRelativePath(self: ExclamationToken) -> string;
ExclamationToken::getLastChild
/** * Gets the last child of this node parent. */
- Parameter
self
:ExclamationToken
- Return
Node
pub fn getLastChild(self: ExclamationToken) -> Node;
ExclamationToken::getEndColumnNumber
- Parameter
self
:ExclamationToken
- Return
int
pub fn getEndColumnNumber(self: ExclamationToken) -> int;
ExclamationToken::getParent
/** * Gets the parent node of this node. */
- Parameter
self
:ExclamationToken
- Return
Node
pub fn getParent(self: ExclamationToken) -> Node;
ExclamationToken::getChildCount
/** * Gets the number of child nodes. */
- Parameter
self
:ExclamationToken
- Return
int
pub fn getChildCount(self: ExclamationToken) -> int;
ExclamationToken::getDecorator
/** * Gets the `i`th decorator. */
- Parameter
self
:ExclamationToken
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: ExclamationToken, i: int) -> Decorator;
ExclamationToken::getEndLineNumber
- Parameter
self
:ExclamationToken
- Return
int
pub fn getEndLineNumber(self: ExclamationToken) -> int;
ExclamationToken::getATrailingComment
/** * Gets the trailing comments of it */
- Parameter
self
:ExclamationToken
- Return
*Comment
pub fn getATrailingComment(self: ExclamationToken) -> *Comment;
ExclamationToken::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
:ExclamationToken
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: ExclamationToken, level: int) -> Node;
ExclamationToken::getChild
/** * Gets the `i`th child of this node. */
- Parameter
self
:ExclamationToken
- Parameter
i
:int
- Return
Node
pub fn getChild(self: ExclamationToken, i: int) -> Node;
ExclamationToken::getRoot
/** * Gets the root top-level of this node. */
- Parameter
self
:ExclamationToken
- Return
TopLevelDO
pub fn getRoot(self: ExclamationToken) -> TopLevelDO;
ExclamationToken::getAChild
/** * Gets a child node of this node. */
- Parameter
self
:ExclamationToken
- Return
*Node
pub fn getAChild(self: ExclamationToken) -> *Node;
ExclamationToken::getStartColumnNumber
- Parameter
self
:ExclamationToken
- Return
int
pub fn getStartColumnNumber(self: ExclamationToken) -> int;
ExclamationToken::getStartLineNumber
- Parameter
self
:ExclamationToken
- Return
int
pub fn getStartLineNumber(self: ExclamationToken) -> int;
ExclamationToken::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*ExclamationToken
pub fn __all__(db: JavascriptDB) -> *ExclamationToken;
ExclamationToken::getLocation
/** * Gets the location of this node. */
- Parameter
self
:ExclamationToken
- Return
Location
pub fn getLocation(self: ExclamationToken) -> Location;
ExclamationToken::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
:ExclamationToken
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: ExclamationToken, level: int) -> *Node;
ExclamationToken::getKind
/** * Get the syntax kind of this node */
- Parameter
self
:ExclamationToken
- Return
int
pub fn getKind(self: ExclamationToken) -> int;
ExclamationToken::getAModifier
/** * Gets a modifier. */
- Parameter
self
:ExclamationToken
- Return
*Modifier
pub fn getAModifier(self: ExclamationToken) -> *Modifier;
ExclamationToken::getAnAncestor
/** * Gets an ancestor of this node. */
- Parameter
self
:ExclamationToken
- Return
*Node
pub fn getAnAncestor(self: ExclamationToken) -> *Node;
ExclamationToken::getEnclosingFunction
/** * Gets the enclosing function of it */
- Parameter
self
:ExclamationToken
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: ExclamationToken) -> FunctionLikeDeclaration;
ExclamationToken::getADescendant
/** * Gets a descendant of this node. */
- Parameter
self
:ExclamationToken
- Return
*Node
pub fn getADescendant(self: ExclamationToken) -> *Node;
ExclamationToken::getALeadingComment
/** * Gets the leading comments of it */
- Parameter
self
:ExclamationToken
- Return
*Comment
pub fn getALeadingComment(self: ExclamationToken) -> *Comment;
ExclamationToken::getFile
/** * Gets the file of this node. */
- Parameter
self
:ExclamationToken
- Return
File
pub fn getFile(self: ExclamationToken) -> File;
ExclamationToken::getModifier
/** * Gets the `i`th modifier. */
- Parameter
self
:ExclamationToken
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: ExclamationToken, i: int) -> Modifier;
ExclamationToken::getText
/** * Gets the text of this node. */
- Parameter
self
:ExclamationToken
- Return
string
pub fn getText(self: ExclamationToken) -> string;
ExclamationToken::getAComment
/** * Gets the comments related to it */
- Parameter
self
:ExclamationToken
- Return
*Comment
pub fn getAComment(self: ExclamationToken) -> *Comment;
ExclamationToken::getADecorator
/** * Gets a decorator. */
- Parameter
self
:ExclamationToken
- Return
*Decorator
pub fn getADecorator(self: ExclamationToken) -> *Decorator;