ForInStatement

/** * A `for`-`in` loop. */ 

Inherit from EnhancedForStatement

Primary key: id: int

schema ForInStatement extends EnhancedForStatement { @primary id: int } 

ForInStatement::getText

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

ForInStatement::getModifier

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

ForInStatement::getFile

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

ForInStatement::getALeadingComment

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

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

ForInStatement::getATrailingComment

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

ForInStatement::getBody

/** * Gets the body of this `for`-`in` or `for`-`of` loop. */ 
pub fn getBody(self: ForInStatement) -> Statement; 

ForInStatement::getInitializerIndex

/** * Gets the iterator index of this loop. * * In a `for`-`in` loop, the index is always 0. * In a `for`-`of` loop, the index is 1 if it is a `for`-`await`-`of`, otherwise, the index is 0. */ 
pub fn getInitializerIndex(self: ForInStatement) -> int; 

ForInStatement::getEndLineNumber

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

ForInStatement::getStartLineNumber

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

ForInStatement::getStartColumnNumber

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

ForInStatement::getAChild

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

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

ForInStatement::getKind

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

ForInStatement::getAModifier

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

ForInStatement::__all__

Data constraint method.

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

ForInStatement::getLocation

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

ForInStatement::getEndColumnNumber

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

ForInStatement::getLastChild

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

ForInStatement::getIndex

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

ForInStatement::getInitializer

/** * Gets the iterator of this `for`-`in` or `for`-`of` loop. */ 
pub fn getInitializer(self: ForInStatement) -> ForInitializer; 

ForInStatement::getRelativePath

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

ForInStatement::getAnAncestorEnclosingFunction

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

ForInStatement::getSymbol

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

ForInStatement::getRoot

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

ForInStatement::getParentOid

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

ForInStatement::getEnclosingFunction

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

ForInStatement::getADescendant

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

ForInStatement::getADecorator

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

ForInStatement::getAComment

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

ForInStatement::getDecorator

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

ForInStatement::getChildCount

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

ForInStatement::getChild

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

ForInStatement::getAnAncestor

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

ForInStatement::getParent

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

ForInStatement::getExpression

/** * Gets the expression over which this `for`-`in` or `for`-`of` loop iterates. */ 
pub fn getExpression(self: ForInStatement) -> Expression;