/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
H A D | MismatchedSetException.java | 31 public BitSet expecting; field in class:MismatchedSetException 36 public MismatchedSetException(BitSet expecting, IntStream input) { argument 38 this.expecting = expecting; 42 return "MismatchedSetException("+getUnexpectedType()+"!="+expecting+")";
|
H A D | MismatchedTokenException.java | 32 public int expecting = Token.INVALID_TOKEN_TYPE; field in class:MismatchedTokenException 37 public MismatchedTokenException(int expecting, IntStream input) { argument 39 this.expecting = expecting; 43 return "MismatchedTokenException("+getUnexpectedType()+"!="+expecting+")";
|
H A D | MismatchedTreeNodeException.java | 36 public int expecting; field in class:MismatchedTreeNodeException 41 public MismatchedTreeNodeException(int expecting, TreeNodeStream input) { argument 43 this.expecting = expecting; 47 return "MismatchedTreeNodeException("+getUnexpectedType()+"!="+expecting+")";
|
H A D | MismatchedNotSetException.java | 34 public MismatchedNotSetException(BitSet expecting, IntStream input) { argument 35 super(expecting, input); 39 return "MismatchedNotSetException("+getUnexpectedType()+"!="+expecting+")";
|
H A D | UnwantedTokenException.java | 35 public UnwantedTokenException(int expecting, IntStream input) { argument 36 super(expecting, input); 44 String exp = ", expected "+expecting; 45 if ( expecting==Token.INVALID_TOKEN_TYPE ) {
|
H A D | MissingTokenException.java | 30 /** We were expecting a token but it's not found. The current token 38 public MissingTokenException(int expecting, IntStream input, Object inserted) { argument 39 super(expecting, input); 44 return expecting;
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | MismatchedSetException.as | 31 public var expecting:BitSet; 33 public function MismatchedSetException(expecting:BitSet, input:IntStream) { 35 this.expecting = expecting; 39 return "MismatchedSetException("+unexpectedType+"!="+expecting+")";
|
H A D | MismatchedTokenException.as | 32 public var expecting:int = TokenConstants.INVALID_TOKEN_TYPE; 34 public function MismatchedTokenException(expecting:int, input:IntStream) { 36 this.expecting = expecting; 40 return "MismatchedTokenException("+unexpectedType+"!="+expecting+")";
|
H A D | MismatchedNotSetException.as | 32 public function MismatchedNotSetException(expecting:BitSet, input:IntStream) { 33 super(expecting, input);
|
H A D | MismatchedTreeNodeException.as | 5 public var expecting:int; 7 public function MismatchedTreeNodeException(expecting:int, input:TreeNodeStream) { 9 this.expecting = expecting; 13 return "MismatchedTreeNodeException("+unexpectedType+"!="+expecting+")";
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
H A D | TestNFAConstruction.java | 45 String expecting = 51 checkRule(g, "a", expecting); 58 String expecting = 65 checkRule(g, "a", expecting); 72 /* expecting (0)--Ep-->(1)--Ep-->(2)--A-->(3)--Ep-->(4)--Ep-->(5,end) 76 String expecting = 88 checkRule(g, "a", expecting); 96 String expecting = 110 checkRule(g, "A", expecting); 118 String expecting 1193 checkRule(Grammar g, String rule, String expecting) argument [all...] |
H A D | TestCharDFAConversion.java | 51 String expecting = 56 checkDecision(g, 1, expecting, null); 67 String expecting = 73 checkDecision(g, 1, expecting, null); 85 String expecting = 90 checkDecision(g, 1, expecting, null); 101 String expecting = 106 checkDecision(g, 1, expecting, null); 120 String expecting = 132 checkDecision(g, 1, expecting, nul 509 checkDecision(Grammar g, int decision, String expecting, int[] expectingUnreachableAlts) argument [all...] |
H A D | TestASTConstruction.java | 43 String expecting = 46 assertEquals(expecting, found); 53 String expecting = 56 assertEquals(expecting, found); 64 String expecting = 67 assertEquals(expecting, found); 75 String expecting = 78 assertEquals(expecting, found); 86 String expecting = 89 assertEquals(expecting, foun [all...] |
H A D | TestIntervalSet.java | 46 String expecting = "99"; 47 assertEquals(s.toString(), expecting); 55 String expecting = "{1, 122, 65520}"; 56 assertEquals(s.toString(), expecting); 64 String expecting = "{1, 48..57, 97..122}"; 65 assertEquals(s.toString(), expecting); 71 String expecting = "13..15"; 73 assertEquals(result, expecting); 79 String expecting = "100"; 81 assertEquals(result, expecting); [all...] |
H A D | TestJavaCodeGeneration.java | 49 boolean expecting = true; // should be ok 50 assertEquals(expecting, found); 62 boolean expecting = true; // should be ok 63 assertEquals(expecting, found); 109 boolean expecting = true; // should be ok 110 assertEquals(expecting, found); 124 boolean expecting = true; // should be ok 125 assertEquals(expecting, found); 137 boolean expecting = true; // should be ok 138 assertEquals(expecting, foun [all...] |
H A D | TestSyntaxErrors.java | 43 String expecting = "line 1:1 no viable alternative at input 'e'\n"; 45 assertEquals(expecting, result); 57 String expecting = "line 1:2 no viable alternative at input 'e'\n"; 59 assertEquals(expecting, result); 70 String expecting = "line 1:3 no viable alternative at input 'e'\n"; 72 assertEquals(expecting, result); 87 String expecting = "line 1:0 no viable alternative at input '('\n"; 89 assertEquals(expecting, result); 109 String expecting = "{HARDWARE,SOFTWARE}\n"; 110 assertEquals(expecting, resul [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
H A D | MismatchedSetException.js | 1 org.antlr.runtime.MismatchedSetException = function(expecting, input) { 4 this.expecting = expecting; 12 this.getUnexpectedType() + "!=" + this.expecting + ")";
|
H A D | MismatchedTokenException.js | 1 org.antlr.runtime.MismatchedTokenException = function(expecting, input) { 3 this.expecting = org.antlr.runtime.Token.INVALID_TOKEN_TYPE; 7 this.expecting = expecting; 16 this.getUnexpectedType() + "!=" + this.expecting + ")";
|
H A D | MismatchedTreeNodeException.js | 1 org.antlr.runtime.MismatchedTreeNodeException = function(expecting, input) { 2 if (expecting && input) { 5 this.expecting = expecting; 14 this.getUnexpectedType() + "!=" + this.expecting + ")";
|
H A D | MismatchedNotSetException.js | 1 org.antlr.runtime.MismatchedNotSetException = function(expecting, input) { 2 org.antlr.runtime.MismatchedNotSetException.superclass.constructor.call(this, expecting, input); 10 this.getUnexpectedType() + "!=" + this.expecting + ")";
|
H A D | UnwantedTokenException.js | 2 org.antlr.runtime.UnwantedTokenException = function(expecting, input) { 5 this, expecting, input); 16 var exp = ", expected "+this.expecting; 17 if ( this.expecting===org.antlr.runtime.Token.INVALID_TOKEN_TYPE ) {
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
H A D | t048rewrite.py | 29 expecting = "0abc" 30 self.failUnlessEqual(result, expecting) 38 expecting = "abcx" 39 self.failUnlessEqual(result, expecting) 48 expecting = "axbxc" 49 self.failUnlessEqual(result, expecting) 57 expecting = "xbc" 58 self.failUnlessEqual(result, expecting) 66 expecting = "abx" 67 self.failUnlessEqual(result, expecting) [all...] |
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/ |
H A D | junit.stg | 47 testTreeRuleMethod(methodName,testTreeRuleName,testRuleName,test,tokenType,expecting) ::= << 52 Object expecting = <expecting>; 54 assertEquals("testing rule "+<testTreeRuleName>, expecting, actual); 58 testTreeRuleMethod2(methodName,testTreeRuleName,testRuleName,test,returnType,expecting) ::= << 63 assertTrue("testing rule "+<testTreeRuleName>, <expecting>); 67 testRuleMethod(isLexicalRule,methodName,testRuleName,test,tokenType,expecting) ::= << 72 Object expecting = <expecting>; 74 assertEquals("testing rule "+<testRuleName>, expecting, actua [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
H A D | MismatchedNotSetException.cs | 51 public MismatchedNotSetException(BitSet expecting, IIntStream input) argument 52 : base(expecting, input) { 55 public MismatchedNotSetException(string message, BitSet expecting, IIntStream input) argument 56 : base(message, expecting, input) { 59 public MismatchedNotSetException(string message, BitSet expecting, IIntStream input, Exception innerException) argument 60 : base(message, expecting, input, innerException) {
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | MismatchedNotSetException.cs | 56 public MismatchedNotSetException(BitSet expecting, IIntStream input) argument 57 : base(expecting, input) 61 public MismatchedNotSetException(string message, BitSet expecting, IIntStream input) argument 62 : base(message, expecting, input) 66 public MismatchedNotSetException(string message, BitSet expecting, IIntStream input, Exception innerException) argument 67 : base(message, expecting, input, innerException)
|