public class ExpressionHelper
extends java.lang.Object
| Constructor and Description |
|---|
ExpressionHelper() |
public static Expression createExpression(Rule rule, Bindings bindings, ParseNode exprTree) throws TypeException
TypeExceptionpublic static Expression createExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeExceptionpublic static AssignableExpression createFieldExpression(Rule rule, Bindings bindings, ParseNode fieldTree, ParseNode targetTree, Type type) throws TypeException
TypeExceptionpublic static Expression createCallExpression(Rule rule, Bindings bindings, ParseNode selectorTree, ParseNode recipientTree, ParseNode argTree, Type type) throws TypeException
TypeExceptionpublic static java.lang.String[] createPathList(ParseNode pathTree)
public static Expression createThrowExpression(Rule rule, Bindings bindings, ParseNode typeNameTree, ParseNode argTree) throws TypeException
TypeExceptionpublic static Expression createNewExpression(Rule rule, Bindings bindings, ParseNode typeNameTree, ParseNode argTree, ParseNode arrayDimsTree) throws TypeException
TypeExceptionpublic static Expression createUnaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeExceptionpublic static Expression createBinaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeExceptionpublic static Expression createTernaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeExceptionpublic static AssignableExpression createAssignableExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeExceptionpublic static java.util.List<Expression> createExpressionList(Rule rule, Bindings bindings, ParseNode exprTree) throws TypeException
TypeExceptionpublic static java.util.List<Expression> createExpressionList(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeExceptionpublic static java.util.List<Expression> createNewExpressionIndexList(Rule rule, Bindings bindings, ParseNode exprTree) throws TypeException
TypeExceptionCopyright © 2013. All Rights Reserved.