Tag generated classes as non CLS compliant.
This commit is contained in:
parent
d27cd5f634
commit
8897097b95
|
@ -64,6 +64,7 @@ using IToken = Antlr4.Runtime.IToken;
|
||||||
/// \<see cref="<csIdentifier.(file.parserName)>"/>.
|
/// \<see cref="<csIdentifier.(file.parserName)>"/>.
|
||||||
/// \</summary>
|
/// \</summary>
|
||||||
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
||||||
|
[System.CLSCompliant(false)]
|
||||||
public interface I<file.grammarName>Listener : IParseTreeListener {
|
public interface I<file.grammarName>Listener : IParseTreeListener {
|
||||||
<file.listenerNames:{lname |
|
<file.listenerNames:{lname |
|
||||||
/// \<summary>
|
/// \<summary>
|
||||||
|
@ -101,6 +102,7 @@ using ParserRuleContext = Antlr4.Runtime.ParserRuleContext;
|
||||||
/// of the available methods.
|
/// of the available methods.
|
||||||
/// \</summary>
|
/// \</summary>
|
||||||
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
||||||
|
[System.CLSCompliant(false)]
|
||||||
public partial class <file.grammarName>BaseListener : I<file.grammarName>Listener {
|
public partial class <file.grammarName>BaseListener : I<file.grammarName>Listener {
|
||||||
<file.listenerNames:{lname |
|
<file.listenerNames:{lname |
|
||||||
/// \<summary>
|
/// \<summary>
|
||||||
|
@ -150,6 +152,7 @@ using IToken = Antlr4.Runtime.IToken;
|
||||||
/// \</summary>
|
/// \</summary>
|
||||||
/// \<typeparam name="Result">The return type of the visit operation.\</typeparam>
|
/// \<typeparam name="Result">The return type of the visit operation.\</typeparam>
|
||||||
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
||||||
|
[System.CLSCompliant(false)]
|
||||||
public interface I<file.grammarName>Visitor\<Result> : IParseTreeVisitor\<Result> {
|
public interface I<file.grammarName>Visitor\<Result> : IParseTreeVisitor\<Result> {
|
||||||
<file.visitorNames:{lname |
|
<file.visitorNames:{lname |
|
||||||
/// \<summary>
|
/// \<summary>
|
||||||
|
@ -182,6 +185,7 @@ using ParserRuleContext = Antlr4.Runtime.ParserRuleContext;
|
||||||
/// \</summary>
|
/// \</summary>
|
||||||
/// \<typeparam name="Result">The return type of the visit operation.\</typeparam>
|
/// \<typeparam name="Result">The return type of the visit operation.\</typeparam>
|
||||||
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
||||||
|
[System.CLSCompliant(false)]
|
||||||
public partial class <file.grammarName>BaseVisitor\<Result> : AbstractParseTreeVisitor\<Result>, I<file.grammarName>Visitor\<Result> {
|
public partial class <file.grammarName>BaseVisitor\<Result> : AbstractParseTreeVisitor\<Result>, I<file.grammarName>Visitor\<Result> {
|
||||||
<file.visitorNames:{lname |
|
<file.visitorNames:{lname |
|
||||||
/// \<summary>
|
/// \<summary>
|
||||||
|
@ -220,6 +224,7 @@ Parser(parser, funcs, atn, sempredFuncs, superClass) ::= <<
|
||||||
|
|
||||||
Parser_(parser, funcs, atn, sempredFuncs, ctor, superClass) ::= <<
|
Parser_(parser, funcs, atn, sempredFuncs, ctor, superClass) ::= <<
|
||||||
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
||||||
|
[System.CLSCompliant(false)]
|
||||||
public <if(parser.abstractRecognizer)>abstract <endif>partial class <csIdentifier.(parser.name)> : <superClass> {
|
public <if(parser.abstractRecognizer)>abstract <endif>partial class <csIdentifier.(parser.name)> : <superClass> {
|
||||||
<if(parser.tokens)>
|
<if(parser.tokens)>
|
||||||
public const int
|
public const int
|
||||||
|
@ -908,6 +913,7 @@ using DFA = Antlr4.Runtime.Dfa.DFA;
|
||||||
|
|
||||||
Lexer(lexer, atn, actionFuncs, sempredFuncs, superClass) ::= <<
|
Lexer(lexer, atn, actionFuncs, sempredFuncs, superClass) ::= <<
|
||||||
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
[System.CodeDom.Compiler.GeneratedCode("ANTLR", "<file.ANTLRVersion>")]
|
||||||
|
[System.CLSCompliant(false)]
|
||||||
public <if(lexer.abstractRecognizer)>abstract <endif>partial class <csIdentifier.(lexer.name)> : <superClass> {
|
public <if(lexer.abstractRecognizer)>abstract <endif>partial class <csIdentifier.(lexer.name)> : <superClass> {
|
||||||
public const int
|
public const int
|
||||||
<lexer.tokens:{k | <k>=<lexer.tokens.(k)>}; separator=", ", wrap, anchor>;
|
<lexer.tokens:{k | <k>=<lexer.tokens.(k)>}; separator=", ", wrap, anchor>;
|
||||||
|
|
Loading…
Reference in New Issue