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