Debugging Print Functions
There are multiple debugging print functions that you can use to
visualize what is going on inside your parser.
- dbugprinttok( tok )
Prints the contents of a single token in a nice form.
- dbugplist( tok )
Prints each token in a list using dbugprinttok.
- debugprinttok( tok )
Prints a low-level printout of the contents of a single token.
- printtok( tok )
Prints a single token in a readable form.
- ppexpr( tok )
Prints a tree in parenthesized form. The argument tok
should be an operator.
- pplist( tok )
Prints a list of tokens in parenthesized form.
The argument tok and its links will be printed.