Lines Matching refs:new_token
264 @source2.tokens << new_token( 10, :channel => ANTLR3::HIDDEN ) << new_token( 11 )
284 @source.tokens << new_token(12)
292 @source.tokens << new_token(12, :channel => ANTLR3::HIDDEN_CHANNEL) <<
293 new_token(13)
300 @source.tokens << new_token(12) <<
301 new_token(13, :channel => ANTLR3::HIDDEN_CHANNEL)
309 @source.tokens << new_token(12) << new_token(13)
318 @source.tokens << new_token(12) << new_token(13)
328 @source.tokens << new_token(12) << new_token(13)
335 @source.tokens << new_token(10) <<
336 new_token(11, :channel => HIDDEN_CHANNEL) <<
337 new_token(12, :channel => HIDDEN_CHANNEL) <<
338 new_token(13)
348 @source.tokens << new_token(12) << new_token(13) << new_token(14) << new_token(EOF)
359 @source.tokens << new_token(12) << new_token(13) << new_token(EOF)
372 @source.tokens << new_token(12) << new_token(13) << new_token(EOF)
384 @source.tokens << new_token(12) << new_token(13) << new_token(EOF)
395 @source.tokens << new_token(12, 'foo') <<
396 new_token(13, 'bar') << new_token(14, 'gnurz') <<
397 new_token(15, 'blarz')
404 def new_token(type, opts = {}) method in TestCommonTokenStream