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

<<111213

  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestTreeWizard.java 28 package org.antlr.test;
30 import org.antlr.runtime.tree.CommonTree;
31 import org.antlr.runtime.tree.CommonTreeAdaptor;
32 import org.antlr.runtime.tree.TreeAdaptor;
33 import org.antlr.runtime.tree.TreeWizard;
TestDFAConversion.java 28 package org.antlr.test;
30 import org.antlr.Tool;
31 import org.antlr.analysis.DFA;
32 import org.antlr.analysis.DecisionProbe;
33 import org.antlr.codegen.CodeGenerator;
34 import org.antlr.misc.BitSet;
35 import org.antlr.tool.*;
755 Tool antlr = newTool(); local
756 antlr.setOutputDirectory(null); // write to /dev/null
757 CodeGenerator generator = new CodeGenerator(antlr, g, "Java")
    [all...]
TestAutoAST.java 28 package org.antlr.test;
369 // TODO: FAILS until I rebuild the antlr.g in v3
TestNFAConstruction.java 28 package org.antlr.test;
30 import org.antlr.analysis.State;
31 import org.antlr.tool.FASerializer;
32 import org.antlr.tool.Grammar;
786 "// $ANTLR src \"<string>\" 2"+newline+
TestSemanticPredicates.java 28 package org.antlr.test;
30 import org.antlr.analysis.DFA;
31 import org.antlr.analysis.DecisionProbe;
32 import org.antlr.codegen.CodeGenerator;
33 import org.antlr.misc.BitSet;
34 import org.antlr.runtime.Token;
35 import org.antlr.tool.*;
716 * test a||a||b||a||a etc... ANTLR makes a unique set and THEN
802 // mimic actions of org.antlr.Tool first time for grammar g
TestTreeNodeStream.java 28 package org.antlr.test;
30 import org.antlr.runtime.CommonToken;
31 import org.antlr.runtime.Token;
32 import org.antlr.runtime.tree.*;
TestTrees.java 28 package org.antlr.test;
30 import org.antlr.runtime.CommonToken;
31 import org.antlr.runtime.Token;
32 import org.antlr.runtime.tree.CommonTree;
33 import org.antlr.runtime.tree.CommonTreeAdaptor;
34 import org.antlr.runtime.tree.Tree;
35 import org.antlr.runtime.tree.TreeAdaptor;
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
JUnitCodeGen.java 28 package org.antlr.gunit;
30 import org.antlr.stringtemplate.StringTemplate;
31 import org.antlr.stringtemplate.StringTemplateGroup;
32 import org.antlr.stringtemplate.StringTemplateGroupLoader;
33 import org.antlr.stringtemplate.CommonGroupLoader;
34 import org.antlr.stringtemplate.language.AngleBracketTemplateLexer;
112 StringTemplateGroupLoader loader = new CommonGroupLoader("org/antlr/gunit", null);
288 typeText = "org.antlr.gunit.gUnitParser.OK";
291 typeText = "org.antlr.gunit.gUnitParser.FAIL";
294 typeText = "org.antlr.gunit.gUnitParser.STRING"
    [all...]
gUnitBaseTest.java 28 package org.antlr.gunit;
31 import org.antlr.runtime.*;
32 import org.antlr.runtime.tree.CommonTree;
33 import org.antlr.runtime.tree.CommonTreeNodeStream;
34 import org.antlr.runtime.tree.TreeAdaptor;
35 import org.antlr.runtime.tree.TreeNodeStream;
36 import org.antlr.stringtemplate.StringTemplate;
47 * ANTLR parser/tree walker
66 /** Set up ANTLR input stream based on input source, file or String */
136 } catch (InvocationTargetException e) { // This exception could be caused from ANTLR Runtime Exception, e.g. MismatchedTokenExceptio
    [all...]
gUnitExecutor.java 28 package org.antlr.gunit;
30 import org.antlr.runtime.*;
31 import org.antlr.runtime.tree.CommonTree;
32 import org.antlr.runtime.tree.CommonTreeNodeStream;
33 import org.antlr.runtime.tree.TreeAdaptor;
34 import org.antlr.runtime.tree.TreeNodeStream;
35 import org.antlr.stringtemplate.CommonGroupLoader;
36 import org.antlr.stringtemplate.StringTemplate;
37 import org.antlr.stringtemplate.StringTemplateGroup;
38 import org.antlr.stringtemplate.StringTemplateGroupLoader
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
WorkSpaceController.java 29 package org.antlr.gunit.swingui;
33 import org.antlr.gunit.swingui.runner.gUnitAdapter;
36 import org.antlr.gunit.swingui.model.*;
37 import org.antlr.gunit.swingui.ImageFactory;
99 return "ANTLR grammar file (*.g)";
136 return "ANTLR unit test file (*.gunit)";
243 putValue(SHORT_DESCRIPTION, "Create a test suite from an ANTLR grammar");
  /external/antlr/antlr-3.4/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
GUnitExecuteMojo.java 1 package org.antlr.mojo.antlr3;
33 import org.antlr.runtime.ANTLRFileStream;
34 import org.antlr.runtime.RecognitionException;
35 import org.antlr.gunit.GrammarInfo;
36 import org.antlr.gunit.gUnitExecutor;
37 import org.antlr.gunit.AbstractTest;
38 import org.antlr.gunit.Interp;
52 public static final String ANTLR_GROUP_ID = "org.antlr";
53 public static final String ANTLR_ARTIFACT_NAME = "antlr";
54 public static final String ANTLR_RUNTIME_ARTIFACT_NAME = "antlr-runtime"
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
TokenRewriteStream.java 28 package org.antlr.runtime;
BaseRecognizer.java 28 package org.antlr.runtime;
206 * would have to subclassing exception, but then somehow get ANTLR
383 * ANTLR stops at the end of a rule.
450 * ANTLR's error recovery mechanism is based upon original ideas:
733 if ( t.getClassName().startsWith("org.antlr.runtime.") ) {
763 * Have ANTLR generate an implementation for this method.
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DebugEventHub.java 28 package org.antlr.runtime.debug;
30 import org.antlr.runtime.Token;
31 import org.antlr.runtime.RecognitionException;
DebugEventRepeater.java 28 package org.antlr.runtime.debug;
30 import org.antlr.runtime.Token;
31 import org.antlr.runtime.RecognitionException;
DebugTreeAdaptor.java 28 package org.antlr.runtime.debug;
30 import org.antlr.runtime.Token;
31 import org.antlr.runtime.TokenStream;
32 import org.antlr.runtime.RecognitionException;
33 import org.antlr.runtime.tree.TreeAdaptor;
DebugEventSocketProxy.java 28 package org.antlr.runtime.debug;
30 import org.antlr.runtime.RecognitionException;
31 import org.antlr.runtime.Token;
32 import org.antlr.runtime.BaseRecognizer;
33 import org.antlr.runtime.tree.TreeAdaptor;
84 out.println("ANTLR "+ DebugEventListener.PROTOCOL_VERSION);
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
BaseTree.java 28 package org.antlr.runtime.tree;
34 * actually have any user data. ANTLR v3 uses a list of children approach
BufferedTreeNodeStream.java 28 package org.antlr.runtime.tree;
30 import org.antlr.runtime.Token;
31 import org.antlr.runtime.TokenStream;
32 import org.antlr.runtime.misc.IntArray;
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
IntervalSet.java 28 package org.antlr.misc;
30 import org.antlr.analysis.Label;
31 import org.antlr.tool.Grammar;
632 * ANTLR code gen target.
667 public org.antlr.runtime.BitSet toRuntimeBitSet() {
668 org.antlr.runtime.BitSet s =
669 new org.antlr.runtime.BitSet(getMaxElement()+1);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Interpreter.java 28 package org.antlr.tool;
30 import org.antlr.analysis.DFA;
31 import org.antlr.analysis.*;
32 import org.antlr.misc.IntervalSet;
33 import org.antlr.runtime.*;
34 import org.antlr.runtime.debug.BlankDebugEventListener;
35 import org.antlr.runtime.debug.DebugEventListener;
36 import org.antlr.runtime.debug.ParseTreeBuilder;
37 import org.antlr.runtime.tree.ParseTree;
LeftRecursiveRuleAnalyzer.java 1 package org.antlr.tool;
3 import org.antlr.codegen.CodeGenerator;
4 import org.antlr.grammar.v3.*;
5 import org.antlr.runtime.Token;
6 import org.antlr.runtime.tree.CommonTreeNodeStream;
7 import org.antlr.runtime.tree.TreeNodeStream;
NFAFactory.java 28 package org.antlr.tool;
30 import org.antlr.analysis.*;
31 import org.antlr.misc.IntSet;
32 import org.antlr.misc.IntervalSet;
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/
Tool.java 28 package org.antlr;
30 import org.antlr.analysis.*;
31 import org.antlr.codegen.CodeGenerator;
32 import org.antlr.misc.Graph;
33 import org.antlr.runtime.misc.Stats;
34 import org.antlr.tool.*;
40 /** The main ANTLR entry point. Read a grammar and generate a parser. */
90 Tool antlr = new Tool(args); local
93 antlr.process();
103 * Load the properties file org/antlr/antlr.properties and populate an
    [all...]

Completed in 1969 milliseconds

<<111213