// This file was generated by DAJ from program.cd. import edu.neu.ccs.demeter.dj.*; aspect programParsing { public static Start Start.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseStart(); } public static Start Start.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Start Start.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Exp Exp.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseExp(); } public static Exp Exp.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Exp Exp.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Simple Simple.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseSimple(); } public static Simple Simple.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Simple Simple.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Compound Compound.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseCompound(); } public static Compound Compound.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Compound Compound.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Op Op.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseOp(); } public static Op Op.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Op Op.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static NaryOp NaryOp.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseNaryOp(); } public static NaryOp NaryOp.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static NaryOp NaryOp.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static UnaryOp UnaryOp.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseUnaryOp(); } public static UnaryOp UnaryOp.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static UnaryOp UnaryOp.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Plus Plus.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parsePlus(); } public static Plus Plus.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Plus Plus.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static UnaryPlus UnaryPlus.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseUnaryPlus(); } public static UnaryPlus UnaryPlus.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static UnaryPlus UnaryPlus.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Minus Minus.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseMinus(); } public static Minus Minus.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Minus Minus.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static UnaryMinus UnaryMinus.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseUnaryMinus(); } public static UnaryMinus UnaryMinus.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static UnaryMinus UnaryMinus.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Exp_List Exp_List.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseExp_List(); } public static Exp_List Exp_List.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Exp_List Exp_List.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } }