You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ar...@apache.org on 2006/06/04 04:41:25 UTC
svn commit: r411501 [3/30] - in /incubator/lucene.net/trunk/C#/src: ./
Demo/DeleteFiles/ Demo/DemoLib/ Demo/DemoLib/HTML/ Demo/IndexFiles/
Demo/IndexHtml/ Demo/SearchFiles/ Lucene.Net/ Lucene.Net/Analysis/
Lucene.Net/Analysis/Standard/ Lucene.Net/Docum...
Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/HTMLParserConstants.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DemoLib/HTML/HTMLParserConstants.cs?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/HTMLParserConstants.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/HTMLParserConstants.cs Sat Jun 3 19:41:13 2006
@@ -15,7 +15,9 @@
*/
/* Generated By:JavaCC: Do not edit this line. HTMLParserConstants.java */
+
using System;
+
namespace Lucene.Net.Demo.Html
{
@@ -30,26 +32,27 @@
public const int Word = 6;
public const int LET = 7;
public const int NUM = 8;
- public const int Entity = 9;
- public const int Space = 10;
- public const int SP = 11;
- public const int Punct = 12;
- public const int ScriptText = 13;
- public const int ScriptEnd = 14;
- public const int ArgName = 15;
- public const int ArgEquals = 16;
- public const int TagEnd = 17;
- public const int ArgValue = 18;
- public const int ArgQuote1 = 19;
- public const int ArgQuote2 = 20;
- public const int Quote1Text = 22;
- public const int CloseQuote1 = 23;
- public const int Quote2Text = 24;
- public const int CloseQuote2 = 25;
- public const int CommentText1 = 26;
- public const int CommentEnd1 = 27;
- public const int CommentText2 = 28;
- public const int CommentEnd2 = 29;
+ public const int HEX = 9;
+ public const int Entity = 10;
+ public const int Space = 11;
+ public const int SP = 12;
+ public const int Punct = 13;
+ public const int ScriptText = 14;
+ public const int ScriptEnd = 15;
+ public const int ArgName = 16;
+ public const int ArgEquals = 17;
+ public const int TagEnd = 18;
+ public const int ArgValue = 19;
+ public const int ArgQuote1 = 20;
+ public const int ArgQuote2 = 21;
+ public const int Quote1Text = 23;
+ public const int CloseQuote1 = 24;
+ public const int Quote2Text = 25;
+ public const int CloseQuote2 = 26;
+ public const int CommentText1 = 27;
+ public const int CommentEnd1 = 28;
+ public const int CommentText2 = 29;
+ public const int CommentEnd2 = 30;
public const int DEFAULT = 0;
public const int WithinScript = 1;
public const int WithinTag = 2;
@@ -58,6 +61,6 @@
public const int WithinQuote2 = 5;
public const int WithinComment1 = 6;
public const int WithinComment2 = 7;
- public static System.String[] tokenImage = new System.String[]{"<EOF>", "\"<script\"", "<TagName>", "<DeclName>", "\"<!--\"", "\"<!\"", "<Word>", "<LET>", "<NUM>", "<Entity>", "<Space>", "<SP>", "<Punct>", "<ScriptText>", "<ScriptEnd>", "<ArgName>", "\"=\"", "<TagEnd>", "<ArgValue>", "\"\\\'\"", "\"\\\"\"", "<token of kind 21>", "<Quote1Text>", "<CloseQuote1>", "<Quote2Text>", "<CloseQuote2>", "<CommentText1>", "\"-->\"", "<CommentText2>", "\">\""};
+ public static System.String[] tokenImage = new System.String[]{"<EOF>", "\"<script\"", "<TagName>", "<DeclName>", "\"<!--\"", "\"<!\"", "<Word>", "<LET>", "<NUM>", "<HEX>", "<Entity>", "<Space>", "<SP>", "<Punct>", "<ScriptText>", "<ScriptEnd>", "<ArgName>", "\"=\"", "<TagEnd>", "<ArgValue>", "\"\\\'\"", "\"\\\"\"", "<token of kind 22>", "<Quote1Text>", "<CloseQuote1>", "<Quote2Text>", "<CloseQuote2>", "<CommentText1>", "\"-->\"", "<CommentText2>", "\">\""};
}
}
RE: svn commit: r411501 [3/30] - in /incubator/lucene.net/trunk/C#/src: ./ Demo/DeleteFiles/ Demo/DemoLib/ Demo/DemoLib/HTML/ Demo/IndexFiles/ Demo/IndexHtml/ Demo/SearchFiles/ Lucene.Net/ Lucene.Net/Analysis/ Lucene.Net/Analysis/Standard/ Lucene.Net/Docu
Posted by George Aroush <ge...@aroush.net>.
Hi Erik,
No. All comments in the Java Lucene (even formatting) show up as is in the
C# Lucene. This is the effect of semi-automatic-port. We can clean those
up later but I believe it's best to keep them as is for comparison as it
helps to highlight real changes.
I should add a comment in the release note so people don't get confused
about this.
Regards,
-- George Aroush
-----Original Message-----
From: Erik Hatcher [mailto:erik@ehatchersolutions.com]
Sent: Sunday, June 04, 2006 6:10 AM
To: lucene-net-dev@incubator.apache.org
Subject: Re: svn commit: r411501 [3/30] - in
/incubator/lucene.net/trunk/C#/src: ./ Demo/DeleteFiles/ Demo/DemoLib/
Demo/DemoLib/HTML/ Demo/IndexFiles/ Demo/IndexHtml/ Demo/SearchFiles/
Lucene.Net/ Lucene.Net/Analysis/ Lucene.Net/Analysis/Standard/
Lucene.Net/Docu
On Jun 3, 2006, at 10:41 PM, aroush@apache.org wrote:
> Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/
> HTMLParserConstants.cs
> URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/
> src/Demo/DemoLib/HTML/HTMLParserConstants.cs?
> rev=411501&r1=411500&r2=411501&view=diff
> ======================================================================
> ========
> --- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/
> HTMLParserConstants.cs (original)
> +++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/
> HTMLParserConstants.cs Sat Jun 3 19:41:13 2006 @@ -15,7 +15,9 @@
> */
>
> /* Generated By:JavaCC: Do not edit this line.
> HTMLParserConstants.java */
Was it really generated by JavaCC???
Erik
Re: svn commit: r411501 [3/30] - in /incubator/lucene.net/trunk/C#/src: ./ Demo/DeleteFiles/ Demo/DemoLib/ Demo/DemoLib/HTML/ Demo/IndexFiles/ Demo/IndexHtml/ Demo/SearchFiles/ Lucene.Net/ Lucene.Net/Analysis/ Lucene.Net/Analysis/Standard/ Lucene.Net/Docum...
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Jun 3, 2006, at 10:41 PM, aroush@apache.org wrote:
> Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/
> HTMLParserConstants.cs
> URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/
> src/Demo/DemoLib/HTML/HTMLParserConstants.cs?
> rev=411501&r1=411500&r2=411501&view=diff
> ======================================================================
> ========
> --- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/
> HTMLParserConstants.cs (original)
> +++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/
> HTMLParserConstants.cs Sat Jun 3 19:41:13 2006
> @@ -15,7 +15,9 @@
> */
>
> /* Generated By:JavaCC: Do not edit this line.
> HTMLParserConstants.java */
Was it really generated by JavaCC???
Erik