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 String
final void
binding
(LinkedList list) final LinkedList
final Value
final void
concatSimpleValueSub
(LinkedList list, LinkedList tokenList) final void
final void
final Value
explicitConcat
(LinkedList valueList, LinkedList tokenList) final ParseException
final Token
final Token
getToken
(int index) static void
final int
op()
final AbstractRslNode
parse()
static AbstractRslNode
static RslNode
void
ReInit
(InputStream stream) void
void
final void
relation
(AbstractRslNode node) void
setRslNodeClass
(Class rslNodeClass) final Value
SimpleValue
(LinkedList valueList, LinkedList tokenList) final void
specification
(AbstractRslNode parentNode) final void
specList
(AbstractRslNode node) final String
final Token
final AbstractRslNode
final void
value
(LinkedList list, LinkedList tokenList) final LinkedList
final Value
variableReference
(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()
-