Searched refs:expecting (Results 1 - 25 of 144) sorted by relevance

123456

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DMismatchedSetException.java31 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 DMismatchedTokenException.java32 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 DMismatchedTreeNodeException.java36 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 DMismatchedNotSetException.java34 public MismatchedNotSetException(BitSet expecting, IntStream input) { argument
35 super(expecting, input);
39 return "MismatchedNotSetException("+getUnexpectedType()+"!="+expecting+")";
H A DUnwantedTokenException.java35 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 DMissingTokenException.java30 /** 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 DMismatchedSetException.as31 public var expecting:BitSet;
33 public function MismatchedSetException(expecting:BitSet, input:IntStream) {
35 this.expecting = expecting;
39 return "MismatchedSetException("+unexpectedType+"!="+expecting+")";
H A DMismatchedTokenException.as32 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 DMismatchedNotSetException.as32 public function MismatchedNotSetException(expecting:BitSet, input:IntStream) {
33 super(expecting, input);
H A DMismatchedTreeNodeException.as5 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 DTestNFAConstruction.java45 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 DTestCharDFAConversion.java51 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 DTestASTConstruction.java43 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 DTestIntervalSet.java46 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 DTestJavaCodeGeneration.java49 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 DTestSyntaxErrors.java43 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 DMismatchedSetException.js1 org.antlr.runtime.MismatchedSetException = function(expecting, input) {
4 this.expecting = expecting;
12 this.getUnexpectedType() + "!=" + this.expecting + ")";
H A DMismatchedTokenException.js1 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 DMismatchedTreeNodeException.js1 org.antlr.runtime.MismatchedTreeNodeException = function(expecting, input) {
2 if (expecting && input) {
5 this.expecting = expecting;
14 this.getUnexpectedType() + "!=" + this.expecting + ")";
H A DMismatchedNotSetException.js1 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 DUnwantedTokenException.js2 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 Dt048rewrite.py29 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 Djunit.stg47 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 DMismatchedNotSetException.cs51 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 DMismatchedNotSetException.cs56 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)

Completed in 4733 milliseconds

123456