public GroovyExpression generateAliasExpression ( GroovyExpression parent , String alias ) { return new FunctionCallExpression ( TraversalStepType . SIDE_EFFECT , parent , AS_METHOD , new LiteralExpression ( alias ) ) ; }
Generates an alias expression