• Home
  • Raw
  • Download

Lines Matching refs:lexer

18     lexer = Zero::Lexer.new( '0' )
20 token = lexer.next_token
23 token = lexer.next_token
28 lexer = Zero::Lexer.new( '0' )
30 token_types = lexer.map { |token| token.name }
35 lexer = Zero::Lexer.new( '1' )
38 token = lexer.next_token
60 lexer = Binary::Lexer.new( '01' )
62 token = lexer.next_token
65 token = lexer.next_token
68 token = lexer.next_token
73 lexer = Binary::Lexer.new( '2' )
75 b = lambda { token = lexer.next_token }
98 lexer = BinaryFooze::Lexer.new( '0fooze1' )
100 token = lexer.next_token
103 token = lexer.next_token
106 token = lexer.next_token
109 token = lexer.next_token
114 lexer = BinaryFooze::Lexer.new( '2' )
116 proc { lexer.next_token }.
137 lexer = FooStar::Lexer.new( 'ffofoofooo' )
139 token = lexer.next_token
145 token = lexer.next_token
151 token = lexer.next_token
157 token = lexer.next_token
163 token = lexer.next_token
168 lexer = FooStar::Lexer.new( '2' )
170 proc { lexer.next_token }.
191 lexer = FooPlus::Lexer.new( 'fofoofooo' )
193 token = lexer.next_token
199 token = lexer.next_token
205 token = lexer.next_token
211 token = lexer.next_token
216 lexer = FooPlus::Lexer.new( '2' )
218 proc { lexer.next_token }.
226 lexer = FooPlus::Lexer.new( 'f' )
228 proc { token = lexer.next_token }.
249 lexer = FoaStar::Lexer.new( 'fofaaooa' )
251 token = lexer.next_token
257 token = lexer.next_token
263 token = lexer.next_token
268 lexer = FoaStar::Lexer.new( 'fofoaooaoa2' )
270 lexer.next_token
271 lexer.next_token
272 proc { lexer.next_token }.
295 lexer = Foab::Lexer.new( 'fofababbooabb' )
297 token = lexer.next_token
303 token = lexer.next_token
309 token = lexer.next_token
314 lexer = Foab::Lexer.new( 'foaboao' )
316 proc { lexer.next_token }.
338 lexer = Fa::Lexer.new( 'ffaf' )
340 token = lexer.next_token
346 token = lexer.next_token
352 token = lexer.next_token
358 token = lexer.next_token
363 lexer = Fa::Lexer.new( 'fafb' )
365 lexer.next_token
366 lexer.next_token
367 proc { lexer.next_token }.
390 lexer = Digit::Lexer.new( '085' )
392 token = lexer.next_token
398 token = lexer.next_token
404 token = lexer.next_token
410 token = lexer.next_token
415 lexer = Digit::Lexer.new( '2a' )
417 lexer.next_token
418 proc { lexer.next_token }.
443 lexer = IDsAndSpaces::Lexer.new( "foobar _Ab98 \n A12sdf" )
445 token = lexer.next_token
451 token = lexer.next_token
457 token = lexer.next_token
463 token = lexer.next_token
469 token = lexer.next_token
475 token = lexer.next_token
480 lexer = IDsAndSpaces::Lexer.new( 'a-b' )
482 lexer.next_token
483 proc { lexer.next_token }.
512 lexer = IDsWithAction::Lexer.new( "foobar _Ab98 \n A12sdf" )
514 token = lexer.next_token
520 token = lexer.next_token
526 token = lexer.next_token
532 token = lexer.next_token
538 token = lexer.next_token
544 token = lexer.next_token
549 lexer = IDsWithAction::Lexer.new( 'a-b' )
551 lexer.next_token
552 proc { lexer.next_token }.