Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ILazyParseableElementType implementation #18

Open
DaniHi opened this issue Aug 11, 2020 · 1 comment
Open

ILazyParseableElementType implementation #18

DaniHi opened this issue Aug 11, 2020 · 1 comment

Comments

@DaniHi
Copy link

DaniHi commented Aug 11, 2020

Hi,

Is there an ILazyParseableElementType implementation for the antlr4-intellij-adapter? I have a separate preprocessor grammar (incl. lexer + parser) that I want to recognize within the regular grammar. In the Intellij plugin development notes there is a chapter on this topic, but I don't see any way how I can make my preprocessor tokens lazy within the antlr-adapter. Do you have any ideas or recommendations?

Thanks in advance.

@rickihastings
Copy link

Hi, did you find a solution to this? I'm also keen on understanding how you'd do this but can't see a way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants