// This file was generated by DAJ from program.cd. aspect programParsing { public static Molecule Molecule.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseMolecule(); } public static Molecule Molecule.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Molecule Molecule.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Atoms Atoms.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseAtoms(); } public static Atoms Atoms.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Atoms Atoms.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Atom Atom.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseAtom(); } public static Atom Atom.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Atom Atom.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static MoleculeId MoleculeId.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseMoleculeId(); } public static MoleculeId MoleculeId.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static MoleculeId MoleculeId.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static AtomId AtomId.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseAtomId(); } public static AtomId AtomId.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static AtomId AtomId.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static ElementType ElementType.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseElementType(); } public static ElementType ElementType.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static ElementType ElementType.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static HydrogenCount HydrogenCount.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseHydrogenCount(); } public static HydrogenCount HydrogenCount.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static HydrogenCount HydrogenCount.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Bonds Bonds.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseBonds(); } public static Bonds Bonds.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Bonds Bonds.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Bond Bond.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseBond(); } public static Bond Bond.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static Bond Bond.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static BondId BondId.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseBondId(); } public static BondId BondId.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static BondId BondId.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static AtomRefs2 AtomRefs2.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseAtomRefs2(); } public static AtomRefs2 AtomRefs2.parse(java.io.File in) throws antlr.ANTLRException, java.io.FileNotFoundException { return parse(new java.io.BufferedReader(new java.io.FileReader(in))); } public static AtomRefs2 AtomRefs2.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Atom_List Atom_List.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseAtom_List(); } public static Atom_List Atom_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 Atom_List Atom_List.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } public static Bond_List Bond_List.parse(java.io.Reader in) throws antlr.ANTLRException { return new programParser(new programLexer(in)).parseBond_List(); } public static Bond_List Bond_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 Bond_List Bond_List.parse(String in) { try { return parse(new java.io.StringReader(in)); } catch (antlr.ANTLRException e) { throw new RuntimeException(e); } } }