Package org.globus.rsl
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
FieldsFields inherited from interface org.globus.rsl.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 LinkedListfinal Valuefinal voidconcatSimpleValueSub(LinkedList list, LinkedList tokenList) final voidfinal voidfinal ValueexplicitConcat(LinkedList valueList, LinkedList tokenList) final ParseExceptionfinal Tokenfinal TokengetToken(int index) 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 AbstractRslNodefinal voidvalue(LinkedList list, LinkedList tokenList) final LinkedListfinal ValuevariableReference(LinkedList valueList, LinkedList tokenList)
-
Field Details
-
token_source
-
token
-
jj_nt
-
-
Constructor Details
-
RSLParser
- Throws:
ParseException
-
RSLParser
-
RSLParser
-
RSLParser
-
-
Method Details
-
main
- Throws:
ParseException
-
parse
- Throws:
ParseException
-
parse
- Throws:
ParseException
-
setRslNodeClass
-
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
-
getNextToken
-
getToken
-
generateParseException
-
enable_tracing
public final void enable_tracing() -
disable_tracing
public final void disable_tracing()
-