Java org.eclipse.jdt.core.dom InfixExpression fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom InfixExpression fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom InfixExpression.

The text is from its open source code.

Field

ChildPropertyDescriptorLEFT_OPERAND_PROPERTY
The "leftOperand" structural property of this node type (child type: Expression ).
SimplePropertyDescriptorOPERATOR_PROPERTY
The "operator" structural property of this node type (type: InfixExpression.Operator ).
ChildPropertyDescriptorRIGHT_OPERAND_PROPERTY
The "rightOperand" structural property of this node type (child type: Expression ).
ChildListPropertyDescriptorEXTENDED_OPERANDS_PROPERTY
The "extendedOperands" structural property of this node type (element type: Expression ).
ASTNode.NodeListextendedOperands
The list of extended operand expressions (element type: Expression ).

Constructor

InfixExpression(AST ast)
Creates a new AST node for an infix expression owned by the given AST.

Method

voidaccept(ASTVisitor visitor)
Accepts the given visitor on a visit of the current node.
ASTgetAST()
Returns this node's AST.
ExpressiongetLeftOperand()
Returns the left operand of this infix expression.
StructuralPropertyDescriptorgetLocationInParent()
Returns the location of this node within its parent, or null if this is a root node.
InfixExpression.OperatorgetOperator()
Returns the operator of this infix expression.
ASTNodegetParent()
Returns this node's parent node, or null if this is the root node.
ExpressiongetRightOperand()
Returns the right operand of this infix expression.
intgetStartPosition()
Returns the character index into the original source file indicating where the source fragment corresponding to this node begins.
booleanhasExtendedOperands()
Returns where there are any extended operands.
ITypeBindingresolveTypeBinding()
Resolves and returns the binding for the type of this expression.
voidsetLeftOperand(Expression expression)
Sets the left operand of this infix expression.
voidsetOperator(InfixExpression.Operator operator)
Sets the operator of this infix expression.
voidsetRightOperand(Expression expression)
Sets the right operand of this infix expression.
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.