QualifiedName

/**
* A qualified name.
*/

Inherit from Node

Primary key: id: int

schema QualifiedName extends Node {
  @primary id: int
}

QualifiedName::getEnclosingFunction

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

QualifiedName::getADescendant

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

QualifiedName::getRoot

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

QualifiedName::getAnAncestor

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

QualifiedName::getChild

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

QualifiedName::getChildCount

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

QualifiedName::getAChild

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

QualifiedName::getStartColumnNumber

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

QualifiedName::getStartLineNumber

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

QualifiedName::getEndLineNumber

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

QualifiedName::getATrailingComment

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

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

QualifiedName::getALeadingComment

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

QualifiedName::getFile

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

QualifiedName::__all__

Data constraint method.

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

QualifiedName::getLocation

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

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

QualifiedName::getModifier

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

QualifiedName::getText

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

QualifiedName::getDecorator

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

QualifiedName::getAComment

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

QualifiedName::getADecorator

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

QualifiedName::getAModifier

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

QualifiedName::getKind

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

QualifiedName::getParent

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

QualifiedName::getEndColumnNumber

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

QualifiedName::getLastChild

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

QualifiedName::getRelativePath

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

QualifiedName::getParentOid

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

QualifiedName::getIndex

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

QualifiedName::getAnAncestorEnclosingFunction

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

QualifiedName::getSymbol

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