Class RSLParser
java.lang.Object
org.globus.rsl.RSLParser
- All Implemented Interfaces:
RSLParserConstants
Parser for the
Globus Resource Specification Language RSL v1.0.
Things that are not supported:
(1) User-specified delimiter for quoted literals.
(2) RSLs that only contain relations outside of 'spec-list'.
Other notes:
(1) Implicit concatenation is not part of the 'simple value' relation and is implemented by inspecting the white space between individual values.
Things that are not supported:
(1) User-specified delimiter for quoted literals.
(2) RSLs that only contain relations outside of 'spec-list'.
Other notes:
(1) Implicit concatenation is not part of the 'simple value' relation and is implemented by inspecting the white space between individual values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Vectorprivate int[]private int(package private) ASCII_CharStreamprivate intprivate final int[]private final int[]private intprivate ClassFields inherited from interface RSLParserConstants
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringfinal voidbinding(LinkedList list) final LinkedListprivate Valueconcat(LinkedList tokenList) final Valuefinal voidconcatSimpleValueSub(LinkedList list, LinkedList tokenList) final voidfinal voidfinal ValueexplicitConcat(LinkedList valueList, LinkedList tokenList) final ParseExceptionfinal Tokenfinal TokengetToken(int index) private final Tokenjj_consume_token(int kind) private final intjj_ntk()static voidfinal intop()final AbstractRslNodeparse()static AbstractRslNodestatic RslNodevoidReInit(InputStream stream) voidvoidfinal voidrelation(AbstractRslNode node) voidsetRslNodeClass(Class rslNodeClass) final ValueSimpleValue(LinkedList valueList, LinkedList tokenList) final voidspecification(AbstractRslNode parentNode) final voidspecList(AbstractRslNode node) final Stringfinal Tokenfinal AbstractRslNodeprivate Stringprivate Stringprivate voidupdateValueList(Token tok, LinkedList valueList, LinkedList tokenList) final voidvalue(LinkedList list, LinkedList tokenList) final LinkedListfinal ValuevariableReference(LinkedList valueList, LinkedList tokenList)
-
Field Details
-
nodeClass
-
token_source
-
jj_input_stream
ASCII_CharStream jj_input_stream -
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 final int[] jj_la1_0 -
jj_expentries
-
jj_expentry
private int[] jj_expentry -
jj_kind
private int jj_kind
-
-
Constructor Details
-
RSLParser
- Throws:
ParseException
-
RSLParser
-
RSLParser
-
RSLParser
-
-
Method Details
-
main
- Throws:
ParseException
-
parse
- Throws:
ParseException
-
parse
- Throws:
ParseException
-
setRslNodeClass
-
unQuotify
-
concat
-
updateValueList
-
unQuotify
-
parse
- Throws:
ParseException
-
specification
- Throws:
ParseException
-
subSpecification
- Throws:
ParseException
-
relation
- Throws:
ParseException
-
specList
- Throws:
ParseException
-
op
- Throws:
ParseException
-
attribute
- Throws:
ParseException
-
valueSequence
- Throws:
ParseException
-
bindingSequence
- Throws:
ParseException
-
binding
- Throws:
ParseException
-
value
- Throws:
ParseException
-
SimpleValue
- Throws:
ParseException
-
variableReference
public final Value variableReference(LinkedList valueList, LinkedList tokenList) throws ParseException - Throws:
ParseException
-
explicitConcat
- Throws:
ParseException
-
stringToken
- Throws:
ParseException
-
stringLiteral
- Throws:
ParseException
-
concatSimpleValue
- Throws:
ParseException
-
concatSimpleValueSub
- Throws:
ParseException
-
ReInit
-
ReInit
-
ReInit
-
jj_consume_token
- Throws:
ParseException
-
getNextToken
-
getToken
-
jj_ntk
private final int jj_ntk() -
generateParseException
-
enable_tracing
public final void enable_tracing() -
disable_tracing
public final void disable_tracing()
-