Package uk.co.badgersinfoil.metaas.impl.antlr

Examples of uk.co.badgersinfoil.metaas.impl.antlr.LinkedListTree


    LinkedListTree ast = ASTBuilder.newArrayLiteral();
    return new ASTASArrayLiteral(ast);
  }

  public ASObjectLiteral newObjectLiteral() {
    LinkedListTree ast = ASTBuilder.newObjectLiteral();
    return new ASTASObjectLiteral(ast);
  }
View Full Code Here


    LinkedListTree ast = ASTBuilder.newObjectLiteral();
    return new ASTASObjectLiteral(ast);
  }

  public ASXMLLiteral newXMLLiteral(String value) {
    LinkedListTree ast = AS3FragmentParser.parseXMLLiteral(value);
    return new ASTASXMLLiteral(ast);
  }
View Full Code Here

    }
    if ((flags & ASRegexpLiteral.FLAG_IGNORE_CASE) != 0) {
      flagList.append('i');
    }
    value = regexpEscapeDelimiter(value);
    LinkedListTree ast = AS3FragmentParser.parseRegexpLiteral("/"+value+"/"+flagList);
    return new ASTASRegexpLiteral(ast);
  }
View Full Code Here

    }
    return result.toString();
  }

  public Expression dup(Expression expr) {
    LinkedListTree ast = ASTUtils.ast(expr);
    return ExpressionBuilder.build(ASTBuilder.dup(ast));
  }
View Full Code Here

  }

  public ASDescendantExpression newDescendantExpression(Expression target,
                                                        Expression selector)
  {
    LinkedListTree ast
      = ASTBuilder.newDescendantExpression(ast(target),
                                           ast(selector));
    return new ASTASDescendantExpression(ast);
  }
View Full Code Here

  }

  public ASFilterExpression newFilterExpression(Expression target,
                                                Expression selector)
  {
    LinkedListTree ast
      = ASTBuilder.newFilterExpression(ast(target),
                                       ast(selector));
    return new ASTASFilterExpression(ast);
  }
View Full Code Here

                                       ast(selector));
    return new ASTASFilterExpression(ast);
  }

  public ASStarAttribute newStarAttribute() {
    LinkedListTree ast = ASTBuilder.newStarAttribute();
    return new ASTASStarAttribute(ast);
  }
View Full Code Here

    LinkedListTree ast = ASTBuilder.newStarAttribute();
    return new ASTASStarAttribute(ast);
  }

  public ASPropertyAttribute newPropertyAttribute(String propertyName) {
    LinkedListTree ast = ASTBuilder.newPropertyAttribute(propertyName);
    return new ASTASPropertyAttribute(ast);
  }
View Full Code Here

    LinkedListTree ast = ASTBuilder.newPropertyAttribute(propertyName);
    return new ASTASPropertyAttribute(ast);
  }

  public ASExpressionAttribute newExpressionAttribute(Expression expr) {
    LinkedListTree ast = ASTBuilder.newExpressionAttribute(ast(expr));
    return new ASTASExpressionAttribute(ast);
  }
View Full Code Here

    LinkedListTree ast = ASTBuilder.newExpressionAttribute(ast(expr));
    return new ASTASExpressionAttribute(ast);
  }

  public ASSimpleNameExpression newSimpleName(String name) {
    LinkedListTree ast = AS3FragmentParser.parseSimpleIdent(name);
    return new ASTASSimpleNameExpression(ast);
  }
View Full Code Here

TOP

Related Classes of uk.co.badgersinfoil.metaas.impl.antlr.LinkedListTree

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.