Tag generated classes as non CLS compliant.

This commit is contained in:
Ryan Harris 2013-08-26 16:45:05 -04:00
parent d27cd5f634
commit 8897097b95
1 changed files with 6 additions and 0 deletions

View File

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