IndexSignatureDeclaration

/**
* An index signature declaration.
*/

Inherit from TypeElement

Primary key: id: int

schema IndexSignatureDeclaration extends TypeElement {
  @primary id: int
}

IndexSignatureDeclaration::getSymbol

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

IndexSignatureDeclaration::getAnAncestorEnclosingFunction

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

IndexSignatureDeclaration::getIndex

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

IndexSignatureDeclaration::getParentOid

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

IndexSignatureDeclaration::getRelativePath

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

IndexSignatureDeclaration::getLastChild

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

IndexSignatureDeclaration::getEndColumnNumber

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

IndexSignatureDeclaration::getParent

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

IndexSignatureDeclaration::getChildCount

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

IndexSignatureDeclaration::getDecorator

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

IndexSignatureDeclaration::getEndLineNumber

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

IndexSignatureDeclaration::getATrailingComment

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

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

IndexSignatureDeclaration::getChild

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

IndexSignatureDeclaration::getRoot

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

IndexSignatureDeclaration::getAChild

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

IndexSignatureDeclaration::getStartColumnNumber

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

IndexSignatureDeclaration::getStartLineNumber

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

IndexSignatureDeclaration::__all__

Data constraint method.

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

IndexSignatureDeclaration::getLocation

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

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

IndexSignatureDeclaration::getKind

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

IndexSignatureDeclaration::getAModifier

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

IndexSignatureDeclaration::getAnAncestor

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

IndexSignatureDeclaration::getEnclosingFunction

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

IndexSignatureDeclaration::getADescendant

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

IndexSignatureDeclaration::getALeadingComment

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

IndexSignatureDeclaration::getFile

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

IndexSignatureDeclaration::getModifier

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

IndexSignatureDeclaration::getText

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

IndexSignatureDeclaration::getAComment

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

IndexSignatureDeclaration::getADecorator

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