Package org.sonar.plugins.jcl.api.tree
Interface KeyValueExpressionTree
- All Superinterfaces:
ExpressionTree,HasTextRange,JclTree
A key-value pair in a JCL statement, such as
The difference between a
For example, in the following statement:
SER=606674.
The difference between a
KeywordParameterTree and a key-value expression is that a keyword parameter is in a statement's
parameter list, whereas the key-value expression is part of a parameter value.
For example, in the following statement:
//DD1 DD DSN=A.B.C,VOLUME=SER=606674The value of the keyword parameter
VOLUME is the key-value expression SER=606674.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sonar.plugins.jcl.api.tree.JclTree
JclTree.Kind -
Method Summary
Methods inherited from interface org.sonar.plugins.jcl.api.tree.HasTextRange
textRange
-
Method Details
-
key
UnquotedStringTree key()- Returns:
- the key of the key-value pair.
-
equ
SyntaxToken equ()- Returns:
- the token representing the equal sign.
-
value
ExpressionTree value()- Returns:
- the value of the key-value pair.
-