Lines Matching refs:exc
76 b.should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
77 exc.unexpected_type.should == '2'
117 should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
118 exc.unexpected_type.should == '2'
171 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
172 exc.expecting.should == 'f'
173 exc.unexpected_type.should == '2'
219 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
220 exc.expecting.should == 'f'
221 exc.unexpected_type.should == '2'
229 should raise_error( ANTLR3::Error::EarlyExit ) { |exc|
230 exc.unexpected_type.should == ANTLR3::Constants::EOF
273 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
274 exc.expecting.should == 'f'
275 exc.unexpected_type.should == '2'
276 exc.column.should == 10
277 exc.line.should == 1
317 should raise_error( ANTLR3::Error::EarlyExit ) do |exc|
318 exc.unexpected_type.should == 'o'
319 exc.column.should == 6
320 exc.line.should == 1
368 should raise_error( ANTLR3::Error::MismatchedToken ) do |exc|
369 exc.unexpected_type.should == 'b'
370 exc.column.should == 3
371 exc.line.should == 1
419 should raise_error( ANTLR3::Error::MismatchedRange ) do |exc|
420 exc.min.should == '0'
421 exc.max.should == '9'
422 exc.unexpected_type.should == 'a'
423 exc.column.should == 1
424 exc.line.should == 1
484 should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
485 exc.unexpected_type.should == '-'
486 exc.column.should == 1
487 exc.line.should == 1
553 should raise_error( ANTLR3::Error::NoViableAlternative ) do |exc|
554 exc.unexpected_type.should == '-'
555 exc.column.should == 1
556 exc.line.should == 1