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
FieldsModifier and TypeFieldDescriptionprivate Vector
private int[]
private int
(package private) ASCII_CharStream
private int
private final int[]
private final int[]
private int
private Class
Fields 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
private Value
concat
(LinkedList tokenList) 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) private final Token
jj_consume_token
(int kind) private final int
jj_ntk()
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
private String
private String
private void
updateValueList
(Token tok, LinkedList valueList, LinkedList tokenList) final void
value
(LinkedList list, LinkedList tokenList) final LinkedList
final Value
variableReference
(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()
-