HomeSort by relevance Sort by last modified time
    Searched defs:antlr (Results 226 - 250 of 318) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
LookaheadStream.java 28 package org.antlr.runtime.misc;
30 import org.antlr.runtime.Token;
Stats.java 28 package org.antlr.runtime.misc;
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
CommonTree.java 28 package org.antlr.runtime.tree;
30 import org.antlr.runtime.Token;
DOTTreeGenerator.java 28 package org.antlr.runtime.tree;
30 import org.antlr.stringtemplate.StringTemplate;
38 * ST just to use the org.antlr.runtime.tree.* package.
Tree.java 28 package org.antlr.runtime.tree;
30 import org.antlr.runtime.Token;
34 /** What does a tree look like? ANTLR has a number of support classes
39 * NOTE: When constructing trees, ANTLR can build any kind of tree; it can
TreeAdaptor.java 28 package org.antlr.runtime.tree;
30 import org.antlr.runtime.Token;
31 import org.antlr.runtime.TokenStream;
32 import org.antlr.runtime.RecognitionException;
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
LL1DFA.java 28 package org.antlr.analysis;
30 import org.antlr.grammar.v3.ANTLRParser;
31 import org.antlr.misc.IntervalSet;
32 import org.antlr.misc.MultiMap;
MachineProbe.java 29 package org.antlr.analysis;
31 import org.antlr.misc.IntSet;
32 import org.antlr.runtime.CommonToken;
33 import org.antlr.runtime.Token;
34 import org.antlr.tool.Grammar;
NFAState.java 28 package org.antlr.analysis;
30 import org.antlr.tool.ErrorManager;
31 import org.antlr.tool.GrammarAST;
32 import org.antlr.tool.Rule;
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
Target.java 28 package org.antlr.codegen;
30 import org.antlr.Tool;
31 import org.antlr.analysis.Label;
32 import org.antlr.runtime.Token;
34 import org.antlr.tool.Grammar;
39 /** The code generator for ANTLR can usually be retargeted just by providing
47 * of the various files. As new language targets get added to the ANTLR
52 * If org.antlr.codegen.XTarget class exists, it is used else
121 * ANTLR.
152 /** Convert from an ANTLR char literal found in a grammar file t
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
BuildDependencyGenerator.java 28 package org.antlr.tool;
30 import org.antlr.Tool;
31 import org.antlr.codegen.CodeGenerator;
32 import org.antlr.misc.Utils;
96 * name files ANTLR will emit from T.g.
158 * Return a list of File objects that name files ANTLR will read
182 * Return a list of File objects that name files ANTLR will read
213 String fileName = "org/antlr/tool/templates/depend.stg";
GrammarSanity.java 28 package org.antlr.tool;
30 import org.antlr.analysis.NFAState;
31 import org.antlr.analysis.RuleClosureTransition;
32 import org.antlr.analysis.Transition;
33 import org.antlr.grammar.v3.ANTLRParser;
34 import org.antlr.runtime.tree.Tree;
GrammarSerializerFoo.java 29 package org.antlr.tool;
31 import org.antlr.runtime.SerializedGrammar;
40 * file ::= $ANTLR<version:byte><grammartype:byte><name:string>;<numRules:short><rules>
NameSpaceChecker.java 28 package org.antlr.tool;
30 import org.antlr.analysis.Label;
31 import org.antlr.runtime.Token;
  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestASTConstruction.java 28 package org.antlr.test;
30 import org.antlr.tool.Grammar;
TestHeteroAST.java 28 package org.antlr.test;
TestSets.java 28 package org.antlr.test;
TestCompositeGrammars.java 28 package org.antlr.test;
30 import org.antlr.Tool;
31 import org.antlr.tool.*;
162 // and all import'd parsers. Since ANTLR regenerates all imports
210 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
212 Grammar g = new Grammar(antlr,tmpdir+"/M.g",composite);
248 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
250 Grammar g = new Grammar(antlr,tmpdir+"/M.g",composite);
282 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
284 Grammar g = new Grammar(antlr,tmpdir+"/M.g",composite)
335 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
383 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
425 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
460 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
486 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
617 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
657 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
765 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
828 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
874 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
928 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
    [all...]
TestTreeGrammarRewriteAST.java 28 package org.antlr.test;
30 import org.antlr.Tool;
31 import org.antlr.codegen.CodeGenerator;
32 import org.antlr.runtime.RecognitionException;
33 import org.antlr.tool.ErrorManager;
34 import org.antlr.tool.Grammar;
35 import org.antlr.tool.GrammarSyntaxMessage;
242 Tool antlr = newTool(); local
243 antlr.setOutputDirectory(null); // write to /dev/null
244 CodeGenerator generator = new CodeGenerator(antlr, g, "Java")
    [all...]
BaseTest.java 28 package org.antlr.test;
31 import org.antlr.Tool;
32 import org.antlr.analysis.Label;
33 import org.antlr.runtime.CommonTokenStream;
34 import org.antlr.runtime.Token;
35 import org.antlr.runtime.TokenSource;
38 import org.antlr.tool.ANTLRErrorListener;
39 import org.antlr.tool.ErrorManager;
40 import org.antlr.tool.GrammarSemanticsMessage;
41 import org.antlr.tool.Message
148 protected boolean antlr(String fileName, String grammarFileName, String grammarStr, boolean debug) { method in class:BaseTest
168 Tool antlr = newTool(optionsA); local
    [all...]
TestRewriteAST.java 28 package org.antlr.test;
30 import org.antlr.Tool;
31 import org.antlr.codegen.CodeGenerator;
32 import org.antlr.tool.ErrorManager;
33 import org.antlr.tool.Grammar;
34 import org.antlr.tool.GrammarSemanticsMessage;
873 Tool antlr = newTool(); local
874 antlr.setOutputDirectory(null); // write to /dev/null
875 CodeGenerator generator = new CodeGenerator(antlr, g, "Java");
1022 // TODO: FAILS. The should probably generate a warning from antlr
1171 Tool antlr = newTool(); local
1200 Tool antlr = newTool(); local
1228 Tool antlr = newTool(); local
1256 Tool antlr = newTool(); local
1284 Tool antlr = newTool(); local
1312 Tool antlr = newTool(); local
    [all...]
TestSymbolDefinitions.java 28 package org.antlr.test;
30 import org.antlr.Tool;
31 import org.antlr.analysis.Label;
32 import org.antlr.codegen.CodeGenerator;
34 import org.antlr.tool.*;
124 "// $ANTLR src \"<string>\" 3" + newline +
180 // must store literals how they appear in the antlr grammar
226 Tool antlr = newTool(); local
227 CodeGenerator generator = new CodeGenerator(antlr, g, "Java");
726 Tool antlr = newTool() local
785 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
817 Tool antlr = newTool(new String[] {"-lib", tmpdir}); local
    [all...]
  /external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
Antlr3Mojo.java 4 ANTLR - Copyright (c) 2005-2008 Terence Parr
35 package org.antlr.mojo.antlr3;
47 import org.antlr.Tool;
48 import org.antlr.runtime.RecognitionException;
57 * Goal that picks up all the ANTLR grammars in a project and moves those that
61 * @goal antlr
72 // First, let's deal with the options that the ANTLR tool itself
84 * If set to true, then the ANTLR tool will print a version of the input
91 * If set to true, then the code generated by the ANTLR code generator will
106 * If set to true then the ANTLR tool will generate a description of the nf
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
RunnerController.java 29 package org.antlr.gunit.swingui;
49 import org.antlr.gunit.swingui.ImageFactory;
50 import org.antlr.gunit.swingui.model.*;
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
TestSuiteFactory.java 28 package org.antlr.gunit.swingui.model;
30 import org.antlr.gunit.swingui.parsers.ANTLRv3Lexer;
31 import org.antlr.gunit.swingui.parsers.ANTLRv3Parser;
32 import org.antlr.gunit.swingui.parsers.StGUnitLexer;
33 import org.antlr.gunit.swingui.parsers.StGUnitParser;
34 import org.antlr.gunit.swingui.runner.TestSuiteAdapter;
35 import org.antlr.runtime.ANTLRReaderStream;
36 import org.antlr.runtime.CommonTokenStream;
37 import org.antlr.stringtemplate.StringTemplate;
38 import org.antlr.stringtemplate.StringTemplateGroup
    [all...]

Completed in 462 milliseconds

1 2 3 4 5 6 7 8 91011>>