Class Expression

    • Field Detail

      • EMPTY_ARRAY

        public static final Expression[] EMPTY_ARRAY
    • Constructor Detail

      • Expression

        public Expression()
    • Method Detail

      • transformExpression

        public abstract Expression transformExpression​(ExpressionTransformer transformer)
        Return a copy of the expression calling the transformer on any nested expressions
        Parameters:
        transformer -
      • transformExpressions

        protected <T extends ExpressionList<T> transformExpressions​(List<? extends Expression> expressions,
                                                                      ExpressionTransformer transformer,
                                                                      Class<T> transformedType)
        Transforms the list of expressions, and checks that all transformed expressions have the given type.
        Returns:
        a new list of transformed expressions
      • setType

        public void setType​(ClassNode t)