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