HomeSort by relevance Sort by last modified time
    Searched refs:expecting (Results 51 - 75 of 140) sorted by null

1 23 4 5 6

  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
MismatchedNotSetException.cs 56 public MismatchedNotSetException(BitSet expecting, IIntStream input)
57 : base(expecting, input)
61 public MismatchedNotSetException(string message, BitSet expecting, IIntStream input)
62 : base(message, expecting, input)
66 public MismatchedNotSetException(string message, BitSet expecting, IIntStream input, Exception innerException)
67 : base(message, expecting, input, innerException)
78 return "MismatchedNotSetException(" + UnexpectedType + "!=" + Expecting + ")";
MismatchedSetException.cs 59 public MismatchedSetException( BitSet expecting, IIntStream input )
62 this._expecting = expecting;
65 public MismatchedSetException(string message, BitSet expecting, IIntStream input)
68 this._expecting = expecting;
71 public MismatchedSetException(string message, BitSet expecting, IIntStream input, Exception innerException)
74 this._expecting = expecting;
83 this._expecting = (BitSet)info.GetValue("Expecting", typeof(BitSet));
86 public BitSet Expecting
100 info.AddValue("Expecting", _expecting);
105 return "MismatchedSetException(" + UnexpectedType + "!=" + Expecting + ")"
    [all...]
MismatchedTreeNodeException.cs 60 public MismatchedTreeNodeException( int expecting, ITreeNodeStream input )
63 this._expecting = expecting;
66 public MismatchedTreeNodeException(string message, int expecting, ITreeNodeStream input)
69 this._expecting = expecting;
72 public MismatchedTreeNodeException(string message, int expecting, ITreeNodeStream input, Exception innerException)
75 this._expecting = expecting;
84 this._expecting = info.GetInt32("Expecting");
87 public int Expecting
101 info.AddValue("Expecting", _expecting);
106 return "MismatchedTreeNodeException(" + UnexpectedType + "!=" + Expecting + ")"
    [all...]
MismatchedTokenException.cs 63 public MismatchedTokenException(int expecting, IIntStream input)
64 : this(expecting, input, null)
68 public MismatchedTokenException(int expecting, IIntStream input, IList<string> tokenNames)
71 this._expecting = expecting;
77 public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames)
80 this._expecting = expecting;
86 public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames, Exception innerException)
89 this._expecting = expecting;
101 this._expecting = info.GetInt32("Expecting");
105 public int Expecting
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
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 + ")";
MissingTokenException.js 1 org.antlr.runtime.MissingTokenException = function(expecting, input, inserted) {
4 this, expecting, input);
13 return this.expecting;
  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestFastQueue.java 45 String expecting = "a b c d e"; local
47 assertEquals(expecting, found);
64 String expecting = "a b c d e"; local
66 assertEquals(expecting, found);
83 String expecting = "abcde"; local
85 assertEquals(expecting, found);
97 String expecting = "queue index 0 > last index -1"; local
99 assertEquals(expecting, found);
113 String expecting = "queue index 0 > last index -1"; local
115 assertEquals(expecting, found)
128 String expecting = "queue index 0 > last index -1"; local
    [all...]
TestLexer.java 191 boolean expecting = true; // should be ok
192 assertEquals(expecting, found);
203 boolean expecting = true; // should be ok
204 assertEquals(expecting, found);
215 boolean expecting = true; // should be ok
216 assertEquals(expecting, found);
231 boolean expecting = true; // should be ok
232 assertEquals(expecting, found);
240 String expecting = "match(\"\\n\\n\")"; local
250 String found = code.substring(m,m+expecting.length())
    [all...]
TestTreeWizard.java 51 String expecting = "ID"; local
52 assertEquals(expecting, found);
59 String expecting = "foo"; local
60 assertEquals(expecting, found);
67 String expecting = "A"; local
68 assertEquals(expecting, found);
75 String expecting = "(A B C D)"; local
76 assertEquals(expecting, found);
83 String expecting = "A B C"; local
84 assertEquals(expecting, found)
97 String expecting = "(A (B C) (B D) E)"; local
106 String expecting = "{10=[ID]}"; local
115 String expecting = "{5=[A], 6=[B], 7=[C], 8=[D]}"; local
124 String expecting = "{5=[A, A], 6=[B, B, B], 7=[C], 8=[D, D]}"; local
138 String expecting = "[B]"; local
153 String expecting = "[C]"; local
168 String expecting = "[B, B, B]"; local
183 String expecting = "[A, A]"; local
200 String expecting = "[B@A[0], B@A[1], B@A[2]]"; local
217 String expecting = "[A@nil[0], A@A[1]]"; local
232 String expecting = "[A]"; \/\/ shouldn't match overall root, just (A B) local
249 String expecting = "[A@A[2], A@D[0]]"; \/\/ shouldn't match overall root, just (A B) local
266 String expecting = "[foo@A[2]foo&bar, big@D[0]big&dog]"; local
398 String expecting = "[foo, big]"; local
    [all...]
TestTreeNodeStream.java 51 String expecting = " 101"; local
53 assertEquals(expecting, found);
55 expecting = " 101";
57 assertEquals(expecting, found);
68 String expecting = " 101 102 103 104"; local
70 assertEquals(expecting, found);
72 expecting = " 101 2 102 2 103 3 104 3";
74 assertEquals(expecting, found);
91 String expecting = " 101 102 103 104 105"; local
93 assertEquals(expecting, found)
108 String expecting = " 101 102 103"; local
123 String expecting = " 101"; local
137 String expecting = " 101 102"; local
355 String expecting = " 10 2 100 101 20 2 30 2 40 50 2 60 2 70 3 3 3 80 2 90 3 3 3"; local
    [all...]
TestLeftRecursion.java 20 String expecting = "abc\n"; local
21 assertEquals(expecting, found);
35 String expecting = "abc\n"; local
36 assertEquals(expecting, found);
374 String expecting = tests[i+1]+"\n"; local
378 assertEquals(expecting, found);
TestInterpretedParsing.java 72 String expecting = local
74 assertEquals(expecting, result);
107 String expecting = local
109 assertEquals(expecting, result);
142 String expecting = local
144 assertEquals(expecting, result);
177 String expecting = local
179 assertEquals(expecting, result);
TestAttributes.java 61 String expecting = action; local
69 assertEquals(expecting, found);
74 String expecting = "int $n; \"$in string$\""; local
89 String found = translator.translate(); assertEquals(expecting, found);
94 String expecting = "i; i.x; u; u.x"; local
109 String found = translator.translate(); assertEquals(expecting, found);
117 String expecting = "x, (*a).foo(21,33), 3.2+1, '\\n', \"a,oo\\nick\", {bl, \"fdkj\"eck}"; local
135 assertEquals(expecting, rawTranslation);
170 String expecting = "34, '{', \"it's<\", '\"', \"\\\"\", 19"; local
188 assertEquals(expecting, rawTranslation)
206 String expecting = "(*a).foo(21,33,\\",\\")"; local
231 String expecting = "34<50"; local
257 String expecting = "foo.get(\\"ick\\");"; local
286 String expecting = "foo.get(\\"ick\\"); x=3;"; local
341 String expecting = "x, (A1!=null?A1.getText():null)+\\"3242\\", (*A1).foo(21,33), 3.2+1, '\\\\n', \\"a,oo\\\\nick\\", {bl, \\"fdkj\\"eck}"; local
371 String expecting = "(x!=null?x.foo:0)"; local
397 String expecting = "(x!=null?input.toString(x.start,x.stop):null)"; local
419 String expecting = action; local
445 String expecting = "x"; local
471 String expecting = "retval.b = true;"; local
499 String expecting = "x"; local
525 String expecting = "retval.i; retval.i.x; retval.u; retval.u.x"; local
573 String expecting = expecting1; local
587 String expecting = action; local
614 String expecting = "id; f; (id!=null?id.getText():null); id.getText(); id.dork (id!=null?id.getType():0); (id!=null?id.getLine():0); (id!=null?id.getCharPositionInLine():0); (id!=null?id.getChannel():0); (id!=null?id.getTokenIndex():0);"; local
636 String expecting = "(r!=null?r.x:0); (r!=null?((Token)r.start):null);" + newline + local
680 String expecting = "(r!=null?r.x:0); (r!=null?((MYTOKEN)r.start):null); (r!=null?((MYTOKEN)r.stop):null); (r!=null?((Object)r.tree):null); (r!=null?r.x:0); (r!=null?((MYTOKEN)r.stop):null);"; local
708 String expecting = "(r!=null?r.x:0); (r!=null?((Token)r.start):null); (r!=null?((Token)r.stop):null); (r!=null?((Object)r.tree):null); (r!=null?r.x:0); (r!=null?((Object)r.tree):null);"; local
734 String expecting = action; local
761 String expecting = action; local
790 String expecting = action; local
818 String expecting = action; local
846 String expecting = action; local
872 String expecting = action; local
896 String expecting = action; local
924 String expecting = "((Symbols_scope)Symbols_stack.peek()).names.add((id!=null?id.getText():null));"; local
977 String expecting = local
1005 String expecting = local
1033 String expecting = local
1061 String expecting = "((foo_bar_scope)foo_bar_stack.peek()).a_b;"; local
1087 String expecting = "((Symbols_scope)Symbols_stack.peek()).x;"; local
1117 String expecting = "public void foo() {((Symbols_scope)Symbols_stack.peek()).names.add('foo');}"; local
1144 String expecting = "public void foo() {((a_scope)a_stack.peek()).name;}"; local
1169 String expecting = "((a_scope)a_stack.peek()).n;"; local
1194 String expecting = action; local
1221 String expecting = "a_stack;"; local
1247 String expecting = "((a_scope)a_stack.peek()).n;"; local
1273 String expecting = "Symbols_stack;"; local
1303 String expecting = "((a_scope)a_stack.peek()).n;"; local
1330 String expecting = "i;"; local
1351 String expecting = "retval.i;"; local
1373 String expecting = "retval.i = 1;"; local
1395 String expecting = ""; local
1490 String expecting = "retval.st;"; local
1513 String expecting = "(b1!=null?((Token)b1.start):null);"; local
1540 String expecting = "((b_scope)b_stack.peek()).n;"; local
1565 String expecting = "retval.st =null;"; local
1587 String expecting = "input.toString(retval.start,input.LT(-1))"; local
1610 String expecting = "((Token)retval.start);"; local
1635 String expecting = "(ID1!=null?ID1.getText():null);"; local
1668 String expecting = "(b1!=null?input.toString(b1.start,b1.stop):null);"; local
1696 String expecting = action; local
1727 String expecting = action; local
1758 String expecting = "$n;"; local
1855 String expecting = "list_ids.size();"; local
1878 String expecting = "list_ids.size();"; local
1902 String expecting = "list_ids.size();"; local
1926 String expecting = "list_ids.size();"; local
1950 String expecting = "ID1; (ID1!=null?ID1.getText():null); ID1.getText()"; local
1976 String expecting = "(r1!=null?((Token)r1.start):null);"; local
2000 String expecting = "(x!=null?((Token)x.start):null);"; local
2024 String expecting = "(x!=null?((Token)x.start):null);"; local
2049 String expecting = "(x!=null?x.getText():null);"; local
2073 String expecting = "(x!=null?x.getText():null);"; local
2126 String expecting = "[a, b]\\na b\\n"; local
2140 String expecting = "[hi, mom]\\n"; local
2203 String expecting = "int x=0"; local
2241 String expecting = "int (*)() x=NULL"; local
2310 String expecting = "(i!=null?i.getText():null)"; local
2333 String expecting = "(ID1!=null?ID1.getText():null)"; local
2356 String expecting = "ID1"; local
2458 String expecting = "getText() _type state.tokenStartLine state.tokenStartCharPositionInLine _channel -1 state.tokenStartCharIndex (getCharIndex()-1)"; local
2480 String expecting = "a (b!=null?b.getText():null) c (d!=null?d.getText():null)"; local
2503 String expecting = "getText() _type=1 state.tokenStartLine=1 state.tokenStartCharPositionInLine=1 _channel=1 -1"; local
2593 String expecting = "id_tree;"; local
2619 String expecting = "ID1_tree;"; local
2641 String expecting = ""; local
2664 String expecting = ""; local
2687 String expecting = "((field_scope)field_stack.peek()).x = retval.st;"; local
2712 String expecting = "retval.tree = null;"; local
2735 String expecting = "i = 42; i = 23;"; local
2785 String expecting = "retval.tree = null; retval.st = null; "; local
2884 String expecting = "((Object)retval.tree).scope = localScope;"; local
2913 String expecting = "(a!=null?a.getLine():0) == (b!=null?b.getLine():0)"; local
2937 String expecting = "if (((rule_scope)rule_stack.peek()).foo == \\"foo\\" || 1) { System.out.println(\\"ouch\\"); }"; local
2983 String expecting = "(r!=null?r.x:0); (r!=null?((CommonTree)r.start):null); $r.stop"; local
3017 String expecting = "input.getTokenStream().toString(" + local
3044 String expecting = "int x = ((b_scope)b_stack.peek()).n;"; local
    [all...]
TestTemplates.java 50 String expecting = "x = templateLib.getInstanceOf(\"foo\"," + local
82 assertEquals(expecting, found);
88 String expecting = "x = templateLib.getInstanceOf(\"foo\");"; local
119 assertEquals(expecting, found);
125 String expecting = "x = templateLib.getInstanceOf(\"foo\"," + local
157 assertEquals(expecting, found);
162 String expecting = "x = new StringTemplate(templateLib,(ID1!=null?ID1.getText():null));"; local
192 assertEquals(expecting, found);
197 String expecting = "(x).setAttribute(\"y\", z);"; local
228 assertEquals(expecting, found)
233 String expecting = "(foo((ID1!=null?ID1.getText():null)).getST()).setAttribute(\\"y\\", z);"; local
291 String expecting = null; local
319 String expecting = null; local
    [all...]
TestTrees.java 259 String expecting = "(a c)"; local
260 assertEquals(expecting, t.toStringTree());
272 String expecting = "(a b x d)"; local
273 assertEquals(expecting, t.toStringTree());
285 String expecting = "(a x c d)"; local
286 assertEquals(expecting, t.toStringTree());
298 String expecting = "(a b c x)"; local
299 assertEquals(expecting, t.toStringTree());
314 String expecting = "(a x y c d)"; local
315 assertEquals(expecting, t.toStringTree())
330 String expecting = "(a b c x y)"; local
346 String expecting = "(a b x y d)"; local
360 String expecting = "(a x d)"; local
374 String expecting = "(a b x)"; local
388 String expecting = "(a x)"; local
404 String expecting = "(a x y)"; local
    [all...]
  /external/valgrind/main/gdbserver_tests/
mcleak.stderr.exp 4 expecting details 10 bytes reachable
10 expecting to have NO details
11 expecting details +10 bytes lost, +21 bytes reachable
12 expecting details +65 bytes reachable
13 expecting to have NO details
14 expecting details +10 bytes reachable
15 expecting details -10 bytes reachable, +10 bytes lost
16 expecting details -10 bytes lost, +10 bytes reachable
17 expecting details 32 (+32) bytes lost, 33 (-32) bytes reachable
  /external/antlr/antlr-3.4/runtime/Python/unittests/
testtree.py 28 expecting = "101"
30 self.failUnlessEqual(expecting, found)
32 expecting = "101"
34 self.failUnlessEqual(expecting, found)
77 expecting = "101 102 103 104"
79 self.failUnlessEqual(expecting, found)
81 expecting = "101 2 102 2 103 3 104 3"
83 self.failUnlessEqual(expecting, found)
100 expecting = "101 102 103 104 105"
102 self.failUnlessEqual(expecting, found
    [all...]
testtreewizard.py 287 expecting = "ID"
288 self.failUnlessEqual(expecting, found)
295 expecting = "foo"
296 self.failUnlessEqual(expecting, found)
303 expecting = "A"
304 self.failUnlessEqual(expecting, found)
311 expecting = "(A B C D)"
312 self.failUnlessEqual(expecting, found)
319 expecting = "A B C"
320 self.failUnlessEqual(expecting, found
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/antlr3/
exceptions.py 199 def __init__(self, expecting, input):
201 self.expecting = expecting
205 #return "MismatchedTokenException("+self.expecting+")"
207 self.getUnexpectedType(), self.expecting
220 exp = ", expected %s" % self.expecting
221 if self.expecting == INVALID_TOKEN_TYPE:
233 We were expecting a token but it's not found. The current token
237 def __init__(self, expecting, input, inserted):
238 MismatchedTokenException.__init__(self, expecting, input
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
MismatchedTokenException.cs 61 public MismatchedTokenException(int expecting, IIntStream input)
62 : this(expecting, input, null) {
65 public MismatchedTokenException(int expecting, IIntStream input, IList<string> tokenNames)
67 this._expecting = expecting;
72 public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames)
74 this._expecting = expecting;
81 public MismatchedTokenException(string message, int expecting, IIntStream input, IList<string> tokenNames, Exception innerException)
83 this._expecting = expecting;
94 this._expecting = info.GetInt32("Expecting");
98 public int Expecting {
    [all...]
  /external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
MissingTokenException.pm 17 return $self->expecting;
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
error.rb 218 attr_reader :expecting
220 def initialize( expecting, input )
221 @expecting = expecting
226 "%s: %p %p" % [ self.class, unexpected_type, @expecting.inspect ]
242 exp = @expecting == INVALID_TOKEN_TYPE ? '' : ", expected %p" % @expecting
292 def initialize( expecting, input, inserted )
293 super( expecting, input )
298 return @expecting
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRMismatchedTokenException.h 35 NSInteger expecting; variable
40 @property (assign, getter=getExpecting, setter=setExpecting:) NSInteger expecting; variable
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRMismatchedTokenException.h 35 NSInteger expecting; variable
40 @property (assign, getter=getExpecting, setter=setExpecting:) NSInteger expecting; variable
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRMismatchedTokenException.h 35 NSInteger expecting; variable
40 @property (assign, getter=getExpecting, setter=setExpecting:) NSInteger expecting; variable

Completed in 316 milliseconds

1 23 4 5 6