@Override public AstModel getAstModel(String name) { for (AstFile lf : project.getResources(AstFile.class)) { if (lf.getAstModel() != null && lf.getAstModel().getName().equals(name)) { return lf.getAstModel(); } } return null; }
@Override public LexerBuild getLexerBuild(String name) { for (LexerFile lf : project.getResources(LexerFile.class)) { if (lf.getBuild() != null && lf.getBuild().getName().equals(name)) { return lf.getBuild(); } } return null; }