Home
last modified time | relevance | path

Searched refs:token_types (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Tools/scripts/
Dgenerate_token.py252 token_types = []
254 token_types.append(' %r: %s,' % (s, tok_names[value]))
260 '\n'.join(token_types),
/external/python/pycparser/tests/
Dtest_c_lexer.py13 def token_types(clex): function
44 self.assertEqual(token_types(self.clex), types)
432 token_types(self.clex)
/external/antlr/runtime/Ruby/test/functional/lexer/
Dbasic.rb30 token_types = lexer.map { |token| token.name }
31 token_types.should == %w(ZERO)
/external/python/jinja/tests/
Dtest_lexnparse.py36 token_types = [t.type for t in TokenStream(self.test_tokens, "foo", "bar")]
37 assert token_types == [