def ptokens(s):
lexer.input(s)<EOL>for tok in lexer:<EOL><INDENT>print(tok)<EOL><DEDENT>
Lex a string as XPath tokens, and print each token as it is lexed.
    This is used primarily for debugging. You probably don't want this
    function.