Home
last modified time | relevance | path

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

/dports/textproc/py-pygments/Pygments-2.7.2/tests/
H A Dtest_grammar_notation.py17 def lexer_peg(): function
21 def test_peg_basic(lexer_peg): argument
38 assert list(lexer_peg.get_tokens(fragment)) == tokens
41 def test_peg_operators(lexer_peg): argument
58 assert list(lexer_peg.get_tokens(fragment)) == tokens
71 assert list(lexer_peg.get_tokens(fragment)) == tokens
74 def test_peg_modified_strings(lexer_peg): argument
94 assert list(lexer_peg.get_tokens(fragment)) == tokens