Home | History | Annotate | Download | only in antlr3

Lines Matching defs:sourceDirectory

198     private File sourceDirectory;
218 return sourceDirectory;
344 if (!sourceDirectory.exists()) {
346 log.info("No ANTLR grammars to compile in " + sourceDirectory.getAbsolutePath());
351 log.info("ANTLR: Processing source directory " + sourceDirectory.getAbsolutePath());
357 tool.setInputDirectory(sourceDirectory.getAbsolutePath());
363 processGrammarFiles(sourceDirectory, outputDirectory);
402 * @param sourceDirectory
409 private void processGrammarFiles(File sourceDirectory, File outputDirectory)
428 Set grammarFiles = scan.getIncludedSources(sourceDirectory, null);
450 String relPath = findSourceSubdir(sourceDirectory
474 * terms to the sourceDirectory. This will then allow ANTLR to
478 * @param sourceDirectory The source directory File object
482 private String findSourceSubdir(File sourceDirectory, String grammarFileName) {
483 String srcPath = sourceDirectory.getPath() + File.separator;
486 throw new IllegalArgumentException("expected " + grammarFileName + " to be prefixed with " + sourceDirectory);