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