How to ignore special characters, as it was whitespace, on Irony parser

200 Views Asked by At

I am implementing a parser at Irony parser and I want to skip some special characters as <,>,(,), etc.

I want the parser to treat them as the space character. How can I add some characters at the ignore list?

1

There are 1 best solutions below

0
Moamen Mohamed On BEST ANSWER

If you mean to be skipped in the parse tree, just use MarkPunctuation for example:

MarkPunctuation("<", ">", "(", ")")