Searched refs:token_types (Results 1 – 4 of 4) sorted by relevance
252 token_types = []254 token_types.append(' %r: %s,' % (s, tok_names[value]))260 '\n'.join(token_types),
13 def token_types(clex): function44 self.assertEqual(token_types(self.clex), types)432 token_types(self.clex)
30 token_types = lexer.map { |token| token.name }31 token_types.should == %w(ZERO)
36 token_types = [t.type for t in TokenStream(self.test_tokens, "foo", "bar")]37 assert token_types == [