Lines Matching refs:look
86 @stream.look(1).should == 'o'
87 @stream.look(2).should == 'h'
88 @stream.look(3).should == "\n"
94 @stream.look(1).should == '!'
95 @stream.look(2).should == "\n"
96 @stream.look(3).should be_nil
223 @stream.look(1).should == 'a'
279 @stream.look.should == ANTLR3::EOF_TOKEN
286 @stream.look(1).type.should == 12
295 @stream.look(1).type.should == 13
304 @stream.look(2).type.should == EOF
313 @stream.look(-1).type.should == 12
322 @stream.look(-1).type.should == 12
330 @stream.look(0).should == nil
341 @stream.look(-1).should == nil
343 @stream.look(-3).should == nil