@Test public void testGetProduction() throws Exception { final Production p = pm.loadProduction(" testGetProduction (state <s> ^superstate nil) --> (<s> ^foo bar)"); assertNotNull(p); assertSame(p, pm.getProduction("testGetProduction")); }
@Override public Production getProduction(String name) { return productionsByName.get(name); }
DefaultProductionManager implements ProductionManager { @Override public Production getProduction(String name) { return productionsByName.get(name); } }
DefaultProductionManager implements ProductionManager { @Override public Production getProduction(String name) { return productionsByName.get(name); } DefaultProductionManager(Agent context); }
DefaultProductionManager implements ProductionManager { @Override public Production getProduction(String name) { return productionsByName.get(name); } DefaultProductionManager(Agent context); void initialize(); void resetStatistics(); @Override void addChunk(Production p); @Override void exciseProduction(Production prod, boolean print_sharp_sign); @Override Production getProduction(String name); @Override List<Production> getProductions(ProductionType type); @Override Parser getParser(); @Override void setParser(Parser parser); @Override Production loadProduction(String productionBody); @Override Production loadProduction(String productionBody,
            SourceLocation location); ProductionAddResult addProduction(Production p, boolean reorder_nccs); @Override Map<ProductionType, Integer> getProductionCounts(); @Override int getProductionCount(); void addProductionToNameTypeMaps(Production p); }
DefaultProductionManager implements ProductionManager { @Override public Production getProduction(String name) { return productionsByName.get(name); } DefaultProductionManager(Agent context); void initialize(); void resetStatistics(); @Override void addChunk(Production p); @Override void exciseProduction(Production prod, boolean print_sharp_sign); @Override Production getProduction(String name); @Override List<Production> getProductions(ProductionType type); @Override Parser getParser(); @Override void setParser(Parser parser); @Override Production loadProduction(String productionBody); @Override Production loadProduction(String productionBody,
            SourceLocation location); ProductionAddResult addProduction(Production p, boolean reorder_nccs); @Override Map<ProductionType, Integer> getProductionCounts(); @Override int getProductionCount(); void addProductionToNameTypeMaps(Production p);  }