tunnelvisionlabs / antlr4cs

The original, highly-optimized C# Target for ANTLR 4
Other
444 stars 104 forks source link

Implement DebuggerNonUserCode as an option in response to issue #106 #346

Closed garyhuntddn closed 4 years ago

garyhuntddn commented 4 years ago

Introduce new property that can be used in the OutputFile derived classes to dictate whether to include the DebuggerNonUserCode attribute in generated code.

Added this to the build task and associated classes and to the documentation.

I've not implemented it in the same way as abstract was implemented it as it would have meant introducing multiple properties (in Lexer and Parser) to do the same thing. Obviously happy to change this if that is the preferred option.

Closes #106