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