org.cdlib.xtf.textEngine.facet
Class SelectorParser

Object
  extended by SelectorParser
All Implemented Interfaces:
SelectorParserConstants

public class SelectorParser
extends Object
implements SelectorParserConstants


Field Summary
private  Vector jj_expentries
           
private  int[] jj_expentry
           
private  int jj_gen
           
(package private)  SimpleCharStream jj_input_stream
           
private  int jj_kind
           
private  int[] jj_la1
           
private static int[] jj_la1_0
           
 Token jj_nt
           
private  int jj_ntk
           
 Token token
           
 SelectorParserTokenManager token_source
           
 
Fields inherited from interface SelectorParserConstants
BAR, CLOSE_BRACKET, CLOSE_PAREN, COLON, DASH, DEFAULT, DOUBLE_COLON, EOF, EQUAL, NUMBER, OPEN_BRACKET, OPEN_PAREN, POUND, STAR, STRING, TERM, tokenImage
 
Constructor Summary
SelectorParser(InputStream stream)
           
SelectorParser(InputStream stream, String encoding)
           
SelectorParser(Reader stream)
           
SelectorParser(SelectorParserTokenManager tm)
           
 
Method Summary
 void disable_tracing()
           
 GroupSelector docs()
           
 void enable_tracing()
           
 GroupSelector expr()
           
 GroupSelector filter()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
private  Token jj_consume_token(int kind)
           
private static void jj_la1_0()
           
private  int jj_ntk()
           
 GroupSelector level(GroupSelector prev)
           
 GroupSelector name()
           
 GroupSelector parse()
           
 GroupSelector rangeFilter()
           
 void ReInit(InputStream stream)
           
 void ReInit(InputStream stream, String encoding)
           
 void ReInit(Reader stream)
           
 void ReInit(SelectorParserTokenManager tm)
           
 GroupSelector union()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public SelectorParserTokenManager token_source

jj_input_stream

SimpleCharStream jj_input_stream

token

public Token token

jj_nt

public Token jj_nt

jj_ntk

private int jj_ntk

jj_gen

private int jj_gen

jj_la1

private final int[] jj_la1

jj_la1_0

private static int[] jj_la1_0

jj_expentries

private Vector jj_expentries

jj_expentry

private int[] jj_expentry

jj_kind

private int jj_kind
Constructor Detail

SelectorParser

public SelectorParser(InputStream stream)

SelectorParser

public SelectorParser(InputStream stream,
                      String encoding)

SelectorParser

public SelectorParser(Reader stream)

SelectorParser

public SelectorParser(SelectorParserTokenManager tm)
Method Detail

parse

public final GroupSelector parse()
                          throws ParseException
Throws:
ParseException

union

public final GroupSelector union()
                          throws ParseException
Throws:
ParseException

expr

public final GroupSelector expr()
                         throws ParseException
Throws:
ParseException

level

public final GroupSelector level(GroupSelector prev)
                          throws ParseException
Throws:
ParseException

name

public final GroupSelector name()
                         throws ParseException
Throws:
ParseException

filter

public final GroupSelector filter()
                           throws ParseException
Throws:
ParseException

rangeFilter

public final GroupSelector rangeFilter()
                                throws ParseException
Throws:
ParseException

docs

public final GroupSelector docs()
                         throws ParseException
Throws:
ParseException

jj_la1_0

private static void jj_la1_0()

ReInit

public void ReInit(InputStream stream)

ReInit

public void ReInit(InputStream stream,
                   String encoding)

ReInit

public void ReInit(Reader stream)

ReInit

public void ReInit(SelectorParserTokenManager tm)

jj_consume_token

private final Token jj_consume_token(int kind)
                              throws ParseException
Throws:
ParseException

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

jj_ntk

private final int jj_ntk()

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()