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