public class ExpressionHelper extends 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 createClassLiteralExpression(Rule rule, Bindings bindings, ParseNode pathTree, Type type) throws TypeException
TypeExceptionpublic static Expression createCallExpression(Rule rule, Bindings bindings, ParseNode selectorTree, ParseNode recipientTree, ParseNode argTree, Type type) throws TypeException
TypeExceptionpublic 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 ArrayInitExpression createArrayInitExpression(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 List<Expression> createExpressionList(Rule rule, Bindings bindings, ParseNode exprTree) throws TypeException
TypeExceptionpublic static List<Expression> createExpressionList(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeExceptionpublic static List<Expression> createNewArrayDimsList(Rule rule, Bindings bindings, ParseNode exprTree) throws TypeException
TypeExceptionCopyright © 2016. All rights reserved.