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