public class BinaryExpressionTreeImpl extends JavaScriptTree implements BinaryExpressionTree
| Constructor and Description |
|---|
BinaryExpressionTreeImpl(Tree.Kind kind,
ExpressionTree leftOperand,
InternalSyntaxToken operand,
ExpressionTree rightOperand) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TreeVisitor visitor) |
Iterator<Tree> |
childrenIterator()
Creates iterator for children of this node.
|
Tree.Kind |
getKind() |
ExpressionTree |
leftOperand() |
SyntaxToken |
operator() |
ExpressionTree |
rightOperand() |
TypeSet |
types()
Returns an unmodifiable set of the possible types for the expression.
|
addChild, addChildren, getAstNode, getLine, is, isLeaf, isLegacy, prependChildren, prependChildrenfindChildren, findDirectChildren, findFirstChild, findFirstDirectChild, findFirstParent, getChild, getChildren, getChildren, getDescendants, getFirstAncestor, getFirstAncestor, getFirstChild, getFirstChild, getFirstDescendant, getFromIndex, getLastChild, getLastChild, getLastToken, getName, getNextAstNode, getNextSibling, getNumberOfChildren, getParent, getPreviousAstNode, getPreviousSibling, getToIndex, getToken, getTokenLine, getTokenOriginalValue, getTokens, getTokenValue, getType, hasAncestor, hasAncestor, hasChildren, hasChildren, hasDescendant, hasDirectChildren, hasParent, hasParents, hasToBeSkippedFromAst, hasToken, is, isCopyBookOrGeneratedNode, isNot, nextAstNode, nextSibling, previousAstNode, previousSibling, select, setFromIndex, setToIndex, toStringpublic BinaryExpressionTreeImpl(Tree.Kind kind, ExpressionTree leftOperand, InternalSyntaxToken operand, ExpressionTree rightOperand)
public ExpressionTree leftOperand()
leftOperand in interface BinaryExpressionTreepublic SyntaxToken operator()
operator in interface BinaryExpressionTreepublic ExpressionTree rightOperand()
rightOperand in interface BinaryExpressionTreepublic Tree.Kind getKind()
getKind in class JavaScriptTreepublic Iterator<Tree> childrenIterator()
JavaScriptTreenull elements.childrenIterator in class JavaScriptTreepublic void accept(TreeVisitor visitor)
public TypeSet types()
ExpressionTreetypes in interface ExpressionTreeCopyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.