Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Lucene.Net.Demo.Html.HTMLParserTokenManager Class Reference

Inherits Lucene.Net.Demo.Html.HTMLParserConstants_Fields.

Public Member Functions

virtual void SetDebugStream (System.IO.StreamWriter ds)
 
 HTMLParserTokenManager (SimpleCharStream stream)
 
 HTMLParserTokenManager (SimpleCharStream stream, int lexState)
 
virtual void ReInit (SimpleCharStream stream)
 
virtual void ReInit (SimpleCharStream stream, int lexState)
 
virtual void SwitchTo (int lexState)
 
virtual Token GetNextToken ()
 

Public Attributes

System.IO.StreamWriter debugStream
 
- Public Attributes inherited from Lucene.Net.Demo.Html.HTMLParserConstants_Fields
const int EOF = 0
 
const int ScriptStart = 1
 
const int TagName = 2
 
const int DeclName = 3
 
const int Comment1 = 4
 
const int Comment2 = 5
 
const int Word = 6
 
const int LET = 7
 
const int NUM = 8
 
const int HEX = 9
 
const int Entity = 10
 
const int Space = 11
 
const int SP = 12
 
const int Punct = 13
 
const int ScriptText = 14
 
const int ScriptEnd = 15
 
const int ArgName = 16
 
const int ArgEquals = 17
 
const int TagEnd = 18
 
const int ArgValue = 19
 
const int ArgQuote1 = 20
 
const int ArgQuote2 = 21
 
const int Quote1Text = 23
 
const int CloseQuote1 = 24
 
const int Quote2Text = 25
 
const int CloseQuote2 = 26
 
const int CommentText1 = 27
 
const int CommentEnd1 = 28
 
const int CommentText2 = 29
 
const int CommentEnd2 = 30
 
const int DEFAULT = 0
 
const int WithinScript = 1
 
const int WithinTag = 2
 
const int AfterEquals = 3
 
const int WithinQuote1 = 4
 
const int WithinQuote2 = 5
 
const int WithinComment1 = 6
 
const int WithinComment2 = 7
 

Static Public Attributes

static readonly System.String[] jjstrLiteralImages = new System.String[]{"", "\x003C\x0073\x0063\x0072\x0069\x0070\x0074", null, null, "\x003C\x0021\x002D\x002D", "\x003C\x0021", null, null, null, null, null, null, null, null, null, null, null, "\x003D", null, null, "\x0027", "\x0022", null, null, null, null, null, null, "\x002D\x002D\x003E", null, "\x003E"}
 
static readonly System.String[] lexStateNames = new System.String[]{"DEFAULT", "WithinScript", "WithinTag", "AfterEquals", "WithinQuote1", "WithinQuote2", "WithinComment1", "WithinComment2"}
 
static readonly int[] jjnewLexState = new int[]{- 1, 1, 2, 2, 6, 7, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, 0, - 1, 3, 0, 2, 4, 5, - 1, - 1, 2, - 1, 2, - 1, 0, - 1, 0}
 
- Static Public Attributes inherited from Lucene.Net.Demo.Html.HTMLParserConstants_Fields
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>", "\">\""}
 

Detailed Description

Definition at line 26 of file HTMLParserTokenManager.cs.

Constructor & Destructor Documentation

Lucene.Net.Demo.Html.HTMLParserTokenManager.HTMLParserTokenManager ( SimpleCharStream  stream)

Definition at line 1816 of file HTMLParserTokenManager.cs.

Lucene.Net.Demo.Html.HTMLParserTokenManager.HTMLParserTokenManager ( SimpleCharStream  stream,
int  lexState 
)

Definition at line 1823 of file HTMLParserTokenManager.cs.

Member Function Documentation

virtual Token Lucene.Net.Demo.Html.HTMLParserTokenManager.GetNextToken ( )
virtual

Definition at line 1874 of file HTMLParserTokenManager.cs.

virtual void Lucene.Net.Demo.Html.HTMLParserTokenManager.ReInit ( SimpleCharStream  stream)
virtual

Definition at line 1827 of file HTMLParserTokenManager.cs.

virtual void Lucene.Net.Demo.Html.HTMLParserTokenManager.ReInit ( SimpleCharStream  stream,
int  lexState 
)
virtual

Definition at line 1841 of file HTMLParserTokenManager.cs.

virtual void Lucene.Net.Demo.Html.HTMLParserTokenManager.SetDebugStream ( System.IO.StreamWriter  ds)
virtual

Definition at line 36 of file HTMLParserTokenManager.cs.

virtual void Lucene.Net.Demo.Html.HTMLParserTokenManager.SwitchTo ( int  lexState)
virtual

Definition at line 1846 of file HTMLParserTokenManager.cs.

Member Data Documentation

System.IO.StreamWriter Lucene.Net.Demo.Html.HTMLParserTokenManager.debugStream

Definition at line 35 of file HTMLParserTokenManager.cs.

readonly int [] Lucene.Net.Demo.Html.HTMLParserTokenManager.jjnewLexState = new int[]{- 1, 1, 2, 2, 6, 7, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, 0, - 1, 3, 0, 2, 4, 5, - 1, - 1, 2, - 1, 2, - 1, 0, - 1, 0}
static

Definition at line 1809 of file HTMLParserTokenManager.cs.

readonly System.String [] Lucene.Net.Demo.Html.HTMLParserTokenManager.jjstrLiteralImages = new System.String[]{"", "\x003C\x0073\x0063\x0072\x0069\x0070\x0074", null, null, "\x003C\x0021\x002D\x002D", "\x003C\x0021", null, null, null, null, null, null, null, null, null, null, null, "\x003D", null, null, "\x0027", "\x0022", null, null, null, null, null, null, "\x002D\x002D\x003E", null, "\x003E"}
static

Definition at line 1807 of file HTMLParserTokenManager.cs.

readonly System.String [] Lucene.Net.Demo.Html.HTMLParserTokenManager.lexStateNames = new System.String[]{"DEFAULT", "WithinScript", "WithinTag", "AfterEquals", "WithinQuote1", "WithinQuote2", "WithinComment1", "WithinComment2"}
static

Definition at line 1808 of file HTMLParserTokenManager.cs.


The documentation for this class was generated from the following file: