org.aminds.lucene.queryParser.regexp.parser
クラス RegexpSyntaxParserTokenManager

java.lang.Object
  上位を拡張 org.aminds.lucene.queryParser.regexp.parser.RegexpSyntaxParserTokenManager
すべての実装されたインタフェース:
RegexpSyntaxParserConstants

public class RegexpSyntaxParserTokenManager
extends Object
implements RegexpSyntaxParserConstants

Token Manager.


フィールドの概要
protected  char curChar
           
 PrintStream debugStream
          Debug output.
protected  JavaCharStream input_stream
           
static int[] jjnewLexState
          Lex State array.
static String[] jjstrLiteralImages
          Token literal values.
static String[] lexStateNames
          Lexer state names.
 
インタフェース org.aminds.lucene.queryParser.regexp.parser.RegexpSyntaxParserConstants から継承されたフィールド
_ESCAPED_CHAR, _NUM_CHAR, _QUOTED_CHAR, _REGEXP_FLAG_CHAR, _TERM_CHAR, _TERM_START_CHAR, _WHITESPACE, AND, Boost, CARAT, COLON, DEFAULT, EOF, FUZZY_SLOP, LPAREN, MINUS, NOT, NUMBER, OR, PLUS, QUOTED, RangeEx, RANGEEX_END, RANGEEX_GOOP, RANGEEX_QUOTED, RANGEEX_START, RANGEEX_TO, RangeIn, RANGEIN_END, RANGEIN_GOOP, RANGEIN_QUOTED, RANGEIN_START, RANGEIN_TO, REGEXP, RPAREN, TERM, tokenImage
 
コンストラクタの概要
RegexpSyntaxParserTokenManager(JavaCharStream stream)
          Constructor.
RegexpSyntaxParserTokenManager(JavaCharStream stream, int lexState)
          Constructor.
 
メソッドの概要
 Token getNextToken()
          Get the next Token.
protected  Token jjFillToken()
           
 void ReInit(JavaCharStream stream)
          Reinitialise parser.
 void ReInit(JavaCharStream stream, int lexState)
          Reinitialise parser.
 void setDebugStream(PrintStream ds)
          Set debug output.
 void SwitchTo(int lexState)
          Switch to specified lex state.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

debugStream

public PrintStream debugStream
Debug output.


jjstrLiteralImages

public static final String[] jjstrLiteralImages
Token literal values.


lexStateNames

public static final String[] lexStateNames
Lexer state names.


jjnewLexState

public static final int[] jjnewLexState
Lex State array.


input_stream

protected JavaCharStream input_stream

curChar

protected char curChar
コンストラクタの詳細

RegexpSyntaxParserTokenManager

public RegexpSyntaxParserTokenManager(JavaCharStream stream)
Constructor.


RegexpSyntaxParserTokenManager

public RegexpSyntaxParserTokenManager(JavaCharStream stream,
                                      int lexState)
Constructor.

メソッドの詳細

setDebugStream

public void setDebugStream(PrintStream ds)
Set debug output.


ReInit

public void ReInit(JavaCharStream stream)
Reinitialise parser.


ReInit

public void ReInit(JavaCharStream stream,
                   int lexState)
Reinitialise parser.


SwitchTo

public void SwitchTo(int lexState)
Switch to specified lex state.


jjFillToken

protected Token jjFillToken()

getNextToken

public Token getNextToken()
Get the next Token.



Copyright (c) 2008-2011 Masashi Nakanishi.