antlr4cs icon indicating copy to clipboard operation
antlr4cs copied to clipboard

Support for super (base) classes in VS plugin

Open KvanTTT opened this issue 6 years ago • 3 comments

I mean --superClass option in the tool for generating JavaScript and similar parsers.

Maybe also consider --contextSuperClass option.

KvanTTT avatar Apr 11 '18 15:04 KvanTTT

It looks like everything is in place for these options to work. Were you observing a particular problem?

sharwell avatar Apr 29 '18 15:04 sharwell

My apologies, I resolved my problems :)

KvanTTT avatar Apr 30 '18 19:04 KvanTTT

Is it possible to implement it inside .csproj instead of a grammar file? Antlr tool supports them by -DsuperClass and -DcontextSuperClass options.

I want to use my own superclasses but don't want to pollute grammar with them.

KvanTTT avatar May 13 '19 09:05 KvanTTT