InterfaceDeclaration

/**
* An interface declaration.
*/

Inherit from DeclarationStatement

Primary key: id: int

schema InterfaceDeclaration extends DeclarationStatement {
  @primary id: int
}

InterfaceDeclaration::getADecorator

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

InterfaceDeclaration::getAComment

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

InterfaceDeclaration::getText

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

InterfaceDeclaration::getModifier

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

InterfaceDeclaration::getFile

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

InterfaceDeclaration::getALeadingComment

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

InterfaceDeclaration::getADescendant

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

InterfaceDeclaration::getEnclosingFunction

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

InterfaceDeclaration::getAnAncestor

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

InterfaceDeclaration::getDecorator

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

InterfaceDeclaration::getChildCount

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

InterfaceDeclaration::getEndColumnNumber

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

InterfaceDeclaration::getParent

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

InterfaceDeclaration::getLastChild

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

InterfaceDeclaration::getIndex

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

InterfaceDeclaration::__all__

Data constraint method.

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

InterfaceDeclaration::getLocation

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

InterfaceDeclaration::getRelativePath

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

InterfaceDeclaration::getAnAncestorEnclosingFunction

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

InterfaceDeclaration::getSymbol

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

InterfaceDeclaration::getRoot

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

InterfaceDeclaration::getParentOid

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

InterfaceDeclaration::getEndLineNumber

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

InterfaceDeclaration::getATrailingComment

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

InterfaceDeclaration::getChild

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

InterfaceDeclaration::getAChild

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

InterfaceDeclaration::getStartColumnNumber

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

InterfaceDeclaration::getStartLineNumber

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

InterfaceDeclaration::getAModifier

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

InterfaceDeclaration::getKind

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