Lucene.Net.Expressions: fix documentation comment formatting problems

Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/9fb8cb15
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/9fb8cb15
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/9fb8cb15

Branch: refs/heads/api-work
Commit: 9fb8cb15373665625c682ad2a5214f627283ce1f
Parents: 2e2feda
Author: Shad Storhaug <[email protected]>
Authored: Sun Feb 5 11:24:44 2017 +0700
Committer: Shad Storhaug <[email protected]>
Committed: Sun Feb 5 14:47:46 2017 +0700

----------------------------------------------------------------------
 .../JS/JavascriptCompiler.cs                    |   1 +
 .../JS/JavascriptLexer.cs                       | 242 +++++++++----------
 .../JS/JavascriptParser.cs                      |   2 +-
 3 files changed, 123 insertions(+), 122 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/9fb8cb15/src/Lucene.Net.Expressions/JS/JavascriptCompiler.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Expressions/JS/JavascriptCompiler.cs 
b/src/Lucene.Net.Expressions/JS/JavascriptCompiler.cs
index d037d2d..3495648 100644
--- a/src/Lucene.Net.Expressions/JS/JavascriptCompiler.cs
+++ b/src/Lucene.Net.Expressions/JS/JavascriptCompiler.cs
@@ -164,6 +164,7 @@ namespace Lucene.Net.Expressions.JS
 
         /// <summary>Constructs a compiler for expressions with specific set 
of functions</summary>
         /// <param name="sourceText">The expression to compile</param>
+        /// <param name="functions">The set of functions to compile 
with</param>
         private JavascriptCompiler(string sourceText, IDictionary<string, 
MethodInfo> functions)
         {
             if (sourceText == null)

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/9fb8cb15/src/Lucene.Net.Expressions/JS/JavascriptLexer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Expressions/JS/JavascriptLexer.cs 
b/src/Lucene.Net.Expressions/JS/JavascriptLexer.cs
index 416f4da..a396464 100644
--- a/src/Lucene.Net.Expressions/JS/JavascriptLexer.cs
+++ b/src/Lucene.Net.Expressions/JS/JavascriptLexer.cs
@@ -147,11 +147,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_ADD"
-               // $ANTLR start "AT_BIT_AND"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_BIT_AND()
+        // do for sure before leaving
+        // $ANTLR end "AT_ADD"
+        // $ANTLR start "AT_BIT_AND"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_BIT_AND()
                {
                    int _type = AT_BIT_AND;
                    int _channel = TokenChannels.Default;
@@ -164,11 +164,11 @@ namespace Lucene.Net.Expressions.JS
                    state.channel = _channel;
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_BIT_AND"
-               // $ANTLR start "AT_BIT_NOT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_BIT_NOT()
+        // do for sure before leaving
+        // $ANTLR end "AT_BIT_AND"
+        // $ANTLR start "AT_BIT_NOT"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_BIT_NOT()
                {
                        try
                        {
@@ -187,11 +187,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_BIT_NOT"
-               // $ANTLR start "AT_BIT_OR"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_BIT_OR()
+        // do for sure before leaving
+        // $ANTLR end "AT_BIT_NOT"
+        // $ANTLR start "AT_BIT_OR"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_BIT_OR()
                {
                        try
                        {
@@ -210,11 +210,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_BIT_OR"
-               // $ANTLR start "AT_BIT_SHL"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_BIT_SHL()
+        // do for sure before leaving
+        // $ANTLR end "AT_BIT_OR"
+        // $ANTLR start "AT_BIT_SHL"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_BIT_SHL()
                {
                        try
                        {
@@ -233,11 +233,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_BIT_SHL"
-               // $ANTLR start "AT_BIT_SHR"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_BIT_SHR()
+        // do for sure before leaving
+        // $ANTLR end "AT_BIT_SHL"
+        // $ANTLR start "AT_BIT_SHR"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_BIT_SHR()
                {
                        try
                        {
@@ -256,11 +256,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_BIT_SHR"
-               // $ANTLR start "AT_BIT_SHU"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_BIT_SHU()
+        // do for sure before leaving
+        // $ANTLR end "AT_BIT_SHR"
+        // $ANTLR start "AT_BIT_SHU"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_BIT_SHU()
                {
                        try
                        {
@@ -282,7 +282,7 @@ namespace Lucene.Net.Expressions.JS
                // do for sure before leaving
                // $ANTLR end "AT_BIT_SHU"
                // $ANTLR start "AT_BIT_XOR"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MAT_BIT_XOR()
                {
                        try
@@ -305,7 +305,7 @@ namespace Lucene.Net.Expressions.JS
                // do for sure before leaving
                // $ANTLR end "AT_BIT_XOR"
                // $ANTLR start "AT_BOOL_AND"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MAT_BOOL_AND()
                {
                        try
@@ -325,11 +325,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_BOOL_AND"
-               // $ANTLR start "AT_BOOL_NOT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_BOOL_NOT()
+        // do for sure before leaving
+        // $ANTLR end "AT_BOOL_AND"
+        // $ANTLR start "AT_BOOL_NOT"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_BOOL_NOT()
                {
                        try
                        {
@@ -348,11 +348,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_BOOL_NOT"
-               // $ANTLR start "AT_BOOL_OR"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_BOOL_OR()
+        // do for sure before leaving
+        // $ANTLR end "AT_BOOL_NOT"
+        // $ANTLR start "AT_BOOL_OR"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_BOOL_OR()
                {
                        try
                        {
@@ -371,11 +371,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_BOOL_OR"
-               // $ANTLR start "AT_COLON"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_COLON()
+        // do for sure before leaving
+        // $ANTLR end "AT_BOOL_OR"
+        // $ANTLR start "AT_COLON"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_COLON()
                {
                        try
                        {
@@ -394,11 +394,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_COLON"
-               // $ANTLR start "AT_COMMA"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_COMMA()
+        // do for sure before leaving
+        // $ANTLR end "AT_COLON"
+        // $ANTLR start "AT_COMMA"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_COMMA()
                {
                        try
                        {
@@ -417,11 +417,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_COMMA"
-               // $ANTLR start "AT_COMP_EQ"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_COMP_EQ()
+        // do for sure before leaving
+        // $ANTLR end "AT_COMMA"
+        // $ANTLR start "AT_COMP_EQ"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_COMP_EQ()
                {
                        try
                        {
@@ -440,11 +440,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_COMP_EQ"
-               // $ANTLR start "AT_COMP_GT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_COMP_GT()
+        // do for sure before leaving
+        // $ANTLR end "AT_COMP_EQ"
+        // $ANTLR start "AT_COMP_GT"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_COMP_GT()
                {
                        try
                        {
@@ -463,11 +463,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_COMP_GT"
-               // $ANTLR start "AT_COMP_GTE"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_COMP_GTE()
+        // do for sure before leaving
+        // $ANTLR end "AT_COMP_GT"
+        // $ANTLR start "AT_COMP_GTE"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_COMP_GTE()
                {
                        try
                        {
@@ -486,11 +486,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_COMP_GTE"
-               // $ANTLR start "AT_COMP_LT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_COMP_LT()
+        // do for sure before leaving
+        // $ANTLR end "AT_COMP_GTE"
+        // $ANTLR start "AT_COMP_LT"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_COMP_LT()
                {
                        try
                        {
@@ -509,11 +509,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_COMP_LT"
-               // $ANTLR start "AT_COMP_LTE"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_COMP_LTE()
+        // do for sure before leaving
+        // $ANTLR end "AT_COMP_LT"
+        // $ANTLR start "AT_COMP_LTE"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_COMP_LTE()
                {
                        try
                        {
@@ -532,11 +532,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_COMP_LTE"
-               // $ANTLR start "AT_COMP_NEQ"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_COMP_NEQ()
+        // do for sure before leaving
+        // $ANTLR end "AT_COMP_LTE"
+        // $ANTLR start "AT_COMP_NEQ"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_COMP_NEQ()
                {
                        try
                        {
@@ -555,11 +555,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_COMP_NEQ"
-               // $ANTLR start "AT_COND_QUE"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_COND_QUE()
+        // do for sure before leaving
+        // $ANTLR end "AT_COMP_NEQ"
+        // $ANTLR start "AT_COND_QUE"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_COND_QUE()
                {
                        try
                        {
@@ -578,11 +578,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_COND_QUE"
-               // $ANTLR start "AT_DIVIDE"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_DIVIDE()
+        // do for sure before leaving
+        // $ANTLR end "AT_COND_QUE"
+        // $ANTLR start "AT_DIVIDE"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_DIVIDE()
                {
                        try
                        {
@@ -601,11 +601,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_DIVIDE"
-               // $ANTLR start "AT_DOT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_DOT()
+        // do for sure before leaving
+        // $ANTLR end "AT_DIVIDE"
+        // $ANTLR start "AT_DOT"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_DOT()
                {
                        try
                        {
@@ -624,11 +624,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_DOT"
-               // $ANTLR start "AT_LPAREN"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_LPAREN()
+        // do for sure before leaving
+        // $ANTLR end "AT_DOT"
+        // $ANTLR start "AT_LPAREN"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_LPAREN()
                {
                        try
                        {
@@ -650,7 +650,7 @@ namespace Lucene.Net.Expressions.JS
                // do for sure before leaving
                // $ANTLR end "AT_LPAREN"
                // $ANTLR start "AT_MODULO"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MAT_MODULO()
                {
                        try
@@ -670,11 +670,11 @@ namespace Lucene.Net.Expressions.JS
                        }
                }
 
-               // do for sure before leaving
-               // $ANTLR end "AT_MODULO"
-               // $ANTLR start "AT_MULTIPLY"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
-               public void MAT_MULTIPLY()
+        // do for sure before leaving
+        // $ANTLR end "AT_MODULO"
+        // $ANTLR start "AT_MULTIPLY"
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
+        public void MAT_MULTIPLY()
                {
                        try
                        {
@@ -696,7 +696,7 @@ namespace Lucene.Net.Expressions.JS
                // do for sure before leaving
                // $ANTLR end "AT_MULTIPLY"
                // $ANTLR start "AT_RPAREN"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MAT_RPAREN()
                {
                        try
@@ -719,7 +719,7 @@ namespace Lucene.Net.Expressions.JS
                // do for sure before leaving
                // $ANTLR end "AT_RPAREN"
                // $ANTLR start "AT_SUBTRACT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MAT_SUBTRACT()
                {
                        try
@@ -742,7 +742,7 @@ namespace Lucene.Net.Expressions.JS
                // do for sure before leaving
                // $ANTLR end "AT_SUBTRACT"
                // $ANTLR start "NAMESPACE_ID"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MNAMESPACE_ID()
                {
                        try
@@ -792,7 +792,7 @@ loop1_break: ;
                // do for sure before leaving
                // $ANTLR end "NAMESPACE_ID"
                // $ANTLR start "ID"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MID()
                {
                        try
@@ -858,7 +858,7 @@ loop2_break: ;
                // do for sure before leaving
                // $ANTLR end "ID"
                // $ANTLR start "WS"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MWS()
                {
                        try
@@ -924,7 +924,7 @@ loop2_break: ;
                // do for sure before leaving
                // $ANTLR end "WS"
                // $ANTLR start "DECIMAL"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MDECIMAL()
                {
                    try
@@ -1094,7 +1094,7 @@ loop2_break: ;
                // do for sure before leaving
                // $ANTLR end "DECIMAL"
                // $ANTLR start "OCTAL"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MOCTAL()
                {
                        try
@@ -1159,7 +1159,7 @@ loop2_break: ;
                // do for sure before leaving
                // $ANTLR end "OCTAL"
                // $ANTLR start "HEX"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MHEX()
                {
                        try
@@ -1278,7 +1278,7 @@ loop2_break: ;
                // do for sure before leaving
                // $ANTLR end "HEX"
                // $ANTLR start "DECIMALINTEGER"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MDECIMALINTEGER()
                {
                        try
@@ -1362,7 +1362,7 @@ loop2_break: ;
                // do for sure before leaving
                // $ANTLR end "DECIMALINTEGER"
                // $ANTLR start "EXPONENT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MEXPONENT()
                {
                        try
@@ -1457,7 +1457,7 @@ loop2_break: ;
                // do for sure before leaving
                // $ANTLR end "EXPONENT"
                // $ANTLR start "DECIMALDIGIT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MDECIMALDIGIT()
                {
                        try
@@ -1485,7 +1485,7 @@ loop2_break: ;
                // do for sure before leaving
                // $ANTLR end "DECIMALDIGIT"
                // $ANTLR start "HEXDIGIT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MHEXDIGIT()
                {
                        try
@@ -1514,7 +1514,7 @@ loop2_break: ;
                // do for sure before leaving
                // $ANTLR end "HEXDIGIT"
                // $ANTLR start "OCTALDIGIT"
-               /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+               /// <exception 
cref="Antlr.Runtime.RecognitionException"></exception>
                public void MOCTALDIGIT()
                {
                        try

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/9fb8cb15/src/Lucene.Net.Expressions/JS/JavascriptParser.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Expressions/JS/JavascriptParser.cs 
b/src/Lucene.Net.Expressions/JS/JavascriptParser.cs
index 0fea96c..ca6d636 100644
--- a/src/Lucene.Net.Expressions/JS/JavascriptParser.cs
+++ b/src/Lucene.Net.Expressions/JS/JavascriptParser.cs
@@ -398,7 +398,7 @@ namespace Lucene.Net.Expressions.JS
 
         // $ANTLR start "conditional"
         // src/java/org/apache/lucene/expressions/js/Javascript.g:254:1: 
conditional : logical_or ( AT_COND_QUE ^ conditional AT_COLON ! conditional )? ;
-        /// <exception 
cref="Org.Antlr.Runtime.RecognitionException"></exception>
+        /// <exception cref="Antlr.Runtime.RecognitionException"></exception>
         public AstParserRuleReturnScope<ITree, IToken> Conditional()
         {
             var retval = new AstParserRuleReturnScope<ITree, IToken> { Start = 
input.LT(1) };

Reply via email to