Parameter

/** * A parameter declaration. */ 

Inherit from Node

Primary key: id: int

schema Parameter extends Node { @primary id: int } 

Parameter::getEnclosingFunction

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

Parameter::getADescendant

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

Parameter::getRoot

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

Parameter::getAnAncestor

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

Parameter::getChild

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

Parameter::getChildCount

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

Parameter::getIndex

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

Parameter::getParentOid

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

Parameter::getRelativePath

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

Parameter::getEndColumnNumber

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

Parameter::getParent

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

Parameter::getFile

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

Parameter::getDecorator

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

Parameter::getAChild

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

Parameter::getStartColumnNumber

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

Parameter::getQuestionToken

/** * Gets the `?` token of this parameter declaration. */ 
pub fn getQuestionToken(self: Parameter) -> QuestionToken; 

Parameter::getAnAncestorEnclosingFunction

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

Parameter::getSymbol

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

Parameter::isRestParameter

/** * Determines whether this parameter declaration is a rest parameter. */ 
pub fn isRestParameter(self: Parameter) -> bool; 

Parameter::hasInitializer

/** * Determines whether this parameter has the initializer. */ 
pub fn hasInitializer(self: Parameter) -> bool; 

Parameter::getInitializer

/** * Gets the initializer expression of this parameter. */ 
pub fn getInitializer(self: Parameter) -> Expression; 

Parameter::getModifier

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

Parameter::isOptionalParameter

/** * Determines whether this parameter declaration is an optional parameter, which means it has a `?` token. */ 
pub fn isOptionalParameter(self: Parameter) -> bool; 

Parameter::getATrailingComment

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

Parameter::getEndLineNumber

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

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

Parameter::getLastChild

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

Parameter::getNameNode

/** * Gets the name of this parameter declaration. */ 
pub fn getNameNode(self: Parameter) -> BindingName; 

Parameter::getType

/** * Gets the type node of this parameter. */ 
pub fn getType(self: Parameter) -> TypeNode; 

Parameter::getText

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

Parameter::__all__

Data constraint method.

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

Parameter::getDotDotDotToken

/** * Gets the `...` token of this parameter declaration. */ 
pub fn getDotDotDotToken(self: Parameter) -> DotDotDotToken; 

Parameter::getLocation

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

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

Parameter::getKind

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

Parameter::getAModifier

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

Parameter::getADecorator

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

Parameter::getAComment

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

Parameter::getALeadingComment

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

Parameter::getStartLineNumber

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