PublicKeyword

/**
* A `public` keyword.
*/

Inherit from Modifier

Primary key: id: int

schema PublicKeyword extends Modifier {
  @primary id: int
}

PublicKeyword::getADecorator

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

PublicKeyword::getAComment

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

PublicKeyword::getText

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

PublicKeyword::getModifier

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

PublicKeyword::getFile

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

PublicKeyword::getALeadingComment

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

PublicKeyword::getADescendant

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

PublicKeyword::getEnclosingFunction

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

PublicKeyword::getAnAncestor

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

PublicKeyword::getDecorator

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

PublicKeyword::getChildCount

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

PublicKeyword::getEndColumnNumber

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

PublicKeyword::getParent

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

PublicKeyword::getLastChild

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

PublicKeyword::getIndex

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

PublicKeyword::__all__

Data constraint method.

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

PublicKeyword::getLocation

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

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

PublicKeyword::getRelativePath

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

PublicKeyword::getAnAncestorEnclosingFunction

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

PublicKeyword::getSymbol

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

PublicKeyword::getRoot

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

PublicKeyword::getParentOid

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

PublicKeyword::getEndLineNumber

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

PublicKeyword::getATrailingComment

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

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

PublicKeyword::getChild

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

PublicKeyword::getAChild

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

PublicKeyword::getStartColumnNumber

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

PublicKeyword::getStartLineNumber

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

PublicKeyword::getAModifier

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

PublicKeyword::getKind

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