public class ExpressionHelper extends Object
Constructor | Description |
---|---|
ExpressionHelper() |
public static Expression createExpression(Rule rule, Bindings bindings, ParseNode exprTree) throws TypeException
TypeException
public static Expression createExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeException
public static AssignableExpression createFieldExpression(Rule rule, Bindings bindings, ParseNode fieldTree, ParseNode targetTree, Type type) throws TypeException
TypeException
public static Expression createClassLiteralExpression(Rule rule, Bindings bindings, ParseNode pathTree, Type type) throws TypeException
TypeException
public static Expression createCallExpression(Rule rule, Bindings bindings, ParseNode selectorTree, ParseNode recipientTree, ParseNode argTree, Type type) throws TypeException
TypeException
public static Expression createThrowExpression(Rule rule, Bindings bindings, ParseNode typeNameTree, ParseNode argTree) throws TypeException
TypeException
public static Expression createNewExpression(Rule rule, Bindings bindings, ParseNode typeNameTree, ParseNode argTree, ParseNode arrayDimsTree) throws TypeException
TypeException
public static Expression createUnaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeException
public static Expression createBinaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeException
public static Expression createTernaryExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeException
public static ArrayInitExpression createArrayInitExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeException
public static AssignableExpression createAssignableExpression(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeException
public static List<Expression> createExpressionList(Rule rule, Bindings bindings, ParseNode exprTree) throws TypeException
TypeException
public static List<Expression> createExpressionList(Rule rule, Bindings bindings, ParseNode exprTree, Type type) throws TypeException
TypeException
public static List<Expression> createNewArrayDimsList(Rule rule, Bindings bindings, ParseNode exprTree) throws TypeException
TypeException
Copyright © 2018. All rights reserved.