Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在 Irony 解析器上实现一个解析器,我想跳过一些特殊字符,如 <、>、(、) 等。
我希望解析器将它们视为空格字符。如何在忽略列表中添加一些字符?
如果您的意思是在解析树中被跳过,只需使用MarkPunctuation 例如:
MarkPunctuation("<", ">", "(", ")")