public class BinaryExpressionHelper
extends java.lang.Object
Constructor and Description |
---|
BinaryExpressionHelper(WriterController wc) |
Modifier and Type | Method and Description |
---|---|
protected void |
assignToArray(Expression parent,
Expression receiver,
Expression index,
Expression rhsValueLoader) |
void |
eval(BinaryExpression expression) |
protected void |
evaluateBinaryExpression(java.lang.String message,
BinaryExpression binExp) |
protected void |
evaluateBinaryExpressionWithAssignment(java.lang.String method,
BinaryExpression expression) |
protected void |
evaluateCompareExpression(MethodCaller compareMethod,
BinaryExpression expression) |
void |
evaluateEqual(BinaryExpression expression,
boolean defineVariable) |
void |
evaluatePostfixMethod(PostfixExpression expression) |
void |
evaluatePrefixMethod(PrefixExpression expression) |
void |
evaluateTernary(TernaryExpression expression) |
WriterController |
getController() |
MethodCaller |
getIsCaseMethod() |
protected void |
writePostOrPrefixMethod(int op,
java.lang.String method,
Expression expression,
Expression orig) |
public BinaryExpressionHelper(WriterController wc)
public WriterController getController()
public void eval(BinaryExpression expression)
protected void assignToArray(Expression parent, Expression receiver, Expression index, Expression rhsValueLoader)
public void evaluateEqual(BinaryExpression expression, boolean defineVariable)
protected void evaluateCompareExpression(MethodCaller compareMethod, BinaryExpression expression)
protected void evaluateBinaryExpression(java.lang.String message, BinaryExpression binExp)
protected void evaluateBinaryExpressionWithAssignment(java.lang.String method, BinaryExpression expression)
public MethodCaller getIsCaseMethod()
public void evaluatePostfixMethod(PostfixExpression expression)
public void evaluatePrefixMethod(PrefixExpression expression)
protected void writePostOrPrefixMethod(int op, java.lang.String method, Expression expression, Expression orig)
public void evaluateTernary(TernaryExpression expression)