public class RSLParser extends Object implements RSLParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt |
Token |
token |
RSLParserTokenManager |
token_source |
AND, CHARACTER, DEFAULT, DIGIT, DOUBLE_QUOTED_LITERAL, EOF, EQUAL, GREATER_THAN, GREATER_THAN_EQUAL, LESS_THAN, LESS_THAN_EQUAL, LPAREN, MULTI, NOT_EQUAL, OR, OTHER_CHAR, RPAREN, SINGLE_QUOTED_LITERAL, tokenImage, UNQUOTED_LITERAL, VARIABLES, VARIABLES_DQUOTE, VARIABLES_SQUOTE, VARSTART
Constructor and Description |
---|
RSLParser(InputStream stream) |
RSLParser(Reader stream) |
RSLParser(RSLParserTokenManager tm) |
RSLParser(String rsl) |
public RSLParserTokenManager token_source
public Token token
public Token jj_nt
public RSLParser(String rsl) throws ParseException
ParseException
public RSLParser(InputStream stream)
public RSLParser(Reader stream)
public RSLParser(RSLParserTokenManager tm)
public static void main(String[] argv) throws ParseException
ParseException
public static RslNode parse(String rsl) throws ParseException
ParseException
public static AbstractRslNode parse(Class rslNodeClass, String rsl) throws ParseException
ParseException
public void setRslNodeClass(Class rslNodeClass)
public final AbstractRslNode parse() throws ParseException
ParseException
public final void specification(AbstractRslNode parentNode) throws ParseException
ParseException
public final AbstractRslNode subSpecification() throws ParseException
ParseException
public final void relation(AbstractRslNode node) throws ParseException
ParseException
public final void specList(AbstractRslNode node) throws ParseException
ParseException
public final int op() throws ParseException
ParseException
public final String attribute() throws ParseException
ParseException
public final LinkedList valueSequence() throws ParseException
ParseException
public final LinkedList bindingSequence() throws ParseException
ParseException
public final void binding(LinkedList list) throws ParseException
ParseException
public final void value(LinkedList list, LinkedList tokenList) throws ParseException
ParseException
public final Value SimpleValue(LinkedList valueList, LinkedList tokenList) throws ParseException
ParseException
public final Value variableReference(LinkedList valueList, LinkedList tokenList) throws ParseException
ParseException
public final Value explicitConcat(LinkedList valueList, LinkedList tokenList) throws ParseException
ParseException
public final Token stringToken() throws ParseException
ParseException
public final String stringLiteral() throws ParseException
ParseException
public final Value concatSimpleValue() throws ParseException
ParseException
public final void concatSimpleValueSub(LinkedList list, LinkedList tokenList) throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(Reader stream)
public void ReInit(RSLParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public final ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2016. All rights reserved.