Lines Matching refs:should
22 parser.reported_errors.should be_empty unless expect_errors
68 result.should == ''
82 result.should == 'abc'
96 result.should == 'x'
110 result.should == '(x INT)'
123 result.should == 'ID'
137 result.should == 'c'
151 result.should == 'ick'
166 result.should == 'abc'
180 result.should == '34 abc'
195 result.should == '34 abc'
209 result.should == '(34 abc)'
223 result.should == 'void (34 abc)'
238 result.should == '(DUH a (DUH 1)) (DUH b (DUH 2))'
252 result.should == 'abc'
266 result.should == 'a b'
280 result.should == 'a b'
295 result.should == 'abc'
310 result.should == 'a b'
325 result.should == 'a b'
339 result.should == 'a'
354 result.should == 'a b'
368 result.should == 'abc'
382 result.should == ''
399 result.should == '2'
416 result.should == '(2 a)'
431 result.should == '(- 34)'
446 result.should == '(34 +)'
461 result.should == '(var (: a int) (: b float))'
477 result.should == '(VAR a) (VAR b) (VAR c)'
493 result.should == 'ID'
509 result.should == '(var a) (var b) (var c)'
525 result.should == '({ a b c)'
541 result.should == '(block a b c)'
558 result.should == '(2 1 a)'
575 result.should == '1 a 2 3'
596 result.should == '(TYPE int a) (TYPE int b 3)'
614 result.should == 'd 42'
629 result.should == '(9 3)'
644 result.should == '9 3'
660 result.should == '(+ (+ 3 4) 5)'
676 result.should == '(3 3)'
690 result.should == '(int a) (int b) (int c)'
705 result.should == '(int public a) (int public b) (int public c)'
720 …result.should == '(int public a) (int public b) (int public c) (int public a) (int public b) (int …
736 result.should == '(int (MOD public) a) (int (MOD public) b) (int (MOD public) c)'
750 result.should == 'a b c a b c'
765 result.should == 'a a'
780 result.should == '(a a)'
795 result.should == '(int a b c)'
810 result.should == 'int a int a'
825 result.should == '(int a) (int b) (int c)'
840 result.should == '(int a 1) (int b 2) (int c 3)'
855 result.should == 'a b c'
871 result.should == 'a VAR b c'
889 result.should == 'a a b b b c c c d'
904 result.should == 'a'
918 result.should == '34'
933 result.should == 'a b'
948 result.should == 'a b'
963 result.should == 'a'
978 result.should == 'a b'
993 result.should == 'a b'
1007 result.should == 'a b'
1022 result.should == 'a'
1037 result.should == ''
1051 result.should == '2 34 a de'
1065 result.should == '2'
1096 result.should == '25.0'
1114 result.should == '(modulo abc (PARMS x y #))'
1128 result.should == '34'
1144 errors.should == [ 'line 1:4 extraneous input "34" expecting ID' ]
1145 result.should == '(EXPR int x 1)'
1161 errors.should == [ 'line 1:4 missing ID at "="' ]
1162 result.should == '(EXPR int <missing ID> 1)'
1178 errors.should == [ 'line 1:0 mismatched input "x" expecting set nil' ]
1179 result.should == '(EXPR <error: x> x 1)'
1193 errors.should == [ "line 0:-1 missing INT at \"<EOF>\"" ]
1194 result.should == 'abc <missing INT>'
1211 errors.should == [ 'line 1:4 extraneous input "ick" expecting INT' ]
1212 result.should == 'abc 34'
1226 errors.should == [ 'line 1:0 missing ID at "34"' ]
1227 result.should == '<missing ID> 34'
1243 errors.should == [ 'line 1:0 missing ID at "34"' ]
1244 result.should == '<missing ID> 34'
1261 errors.should == [ 'line 1:0 no viable alternative at input "*"' ]
1262 result.should == '<unexpected: 0 S["*"] @ line 1 col 0 (0..0), resync = *>'
1277 end.should raise_error( ANTLR3::Error::RewriteCardinalityError )
1292 end.should raise_error( ANTLR3::Error::RewriteCardinalityError )
1307 end.should raise_error( ANTLR3::Error::RewriteEmptyStream )
1321 end.should raise_error( ANTLR3::Error::RewriteEarlyExit )