Parse for macro substitutions. For example, in "\foo{#1}", the #1
is recognized as a HashNumber ({type: "hash_number"}). Double hashes
are automatically replaced with their single-hash substitutions.
The resulting AST is ready for substitutions to be applied to it.
Parse for macro substitutions. For example, in "\foo{#1}", the
#1
is recognized as aHashNumber
({type: "hash_number"}
). Double hashes are automatically replaced with their single-hash substitutions.The resulting AST is ready for substitutions to be applied to it.