Search in sources :

Example 1 with PigletParser

use of org.apache.hyracks.algebricks.examples.piglet.parser.PigletParser in project asterixdb by apache.

the class PigletCompiler method parse.

public List<ASTNode> parse(Reader in) throws ParseException {
    PigletParser parser = new PigletParser(in);
    List<ASTNode> statements = parser.Statements();
    return statements;
}
Also used : ASTNode(org.apache.hyracks.algebricks.examples.piglet.ast.ASTNode) PigletParser(org.apache.hyracks.algebricks.examples.piglet.parser.PigletParser)

Aggregations

ASTNode (org.apache.hyracks.algebricks.examples.piglet.ast.ASTNode)1 PigletParser (org.apache.hyracks.algebricks.examples.piglet.parser.PigletParser)1