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.
*/
pub fn getSymbol(self: ExclamationToken) -> Symbol;

ExclamationToken::getAnAncestorEnclosingFunction

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

ExclamationToken::getIndex

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

ExclamationToken::getParentOid

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

ExclamationToken::getRelativePath

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

ExclamationToken::getLastChild

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

ExclamationToken::getEndColumnNumber

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

ExclamationToken::getParent

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

ExclamationToken::getChildCount

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

ExclamationToken::getDecorator

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

ExclamationToken::getEndLineNumber

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

ExclamationToken::getATrailingComment

/**
* Gets the trailing comments of it
*/
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.
*/
pub fn getAnAncestorByLevel(self: ExclamationToken, level: int) -> Node;

ExclamationToken::getChild

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

ExclamationToken::getRoot

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

ExclamationToken::getAChild

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

ExclamationToken::getStartColumnNumber

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

ExclamationToken::getStartLineNumber

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

ExclamationToken::__all__

Data constraint method.

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

ExclamationToken::getLocation

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

ExclamationToken::getKind

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

ExclamationToken::getAModifier

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

ExclamationToken::getAnAncestor

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

ExclamationToken::getEnclosingFunction

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

ExclamationToken::getADescendant

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

ExclamationToken::getALeadingComment

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

ExclamationToken::getFile

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

ExclamationToken::getModifier

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

ExclamationToken::getText

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

ExclamationToken::getAComment

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

ExclamationToken::getADecorator

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