public class BinaryExpressionTreeImpl extends JavaScriptTree implements BinaryExpressionTree, TypableTree
| Constructor and Description |
|---|
BinaryExpressionTreeImpl(Tree.Kind kind,
ExpressionTree leftOperand,
InternalSyntaxToken operand,
ExpressionTree rightOperand) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DoubleDispatchVisitor visitor) |
void |
add(Type type) |
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.
|
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParentpublic 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(DoubleDispatchVisitor visitor)
public TypeSet types()
ExpressionTreetypes in interface ExpressionTreepublic void add(Type type)
add in interface TypableTreeCopyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.