[Java] Class BinaryExpression
- org.codehaus.groovy.ast.expr.BinaryExpression
public class BinaryExpression
extends Expression
Represents two expressions and an operation
Constructor Summary
Methods Summary
Inherited Methods Summary
Inherited Methods
Methods inherited from class | Name |
class Expression | getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode | addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode | copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Constructor Detail
public BinaryExpression(Expression leftExpression, Token operation, Expression rightExpression)
public BinaryExpression(Expression leftExpression, Token operation, Expression rightExpression, boolean safe)
Method Detail
public Expression getLeftExpression()
public Token getOperation()
public Expression getRightExpression()
public String getText()
public boolean isSafe()
public void setLeftExpression(Expression leftExpression)
public void setRightExpression(Expression rightExpression)
public void setSafe(boolean safe)
public String toString()