Interface BaseDdStatementTree
- All Superinterfaces:
HasTextRange,JclTree,StatementTree
- All Known Subinterfaces:
DdInStreamStatementTree,DdStatementTree,ImplicitDdInStreamStatementTree
Base interface for all JCL DD statements, including both in-stream and not in-stream data.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sonar.plugins.jcl.api.tree.JclTree
JclTree.Kind -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of concatenated DD statements.Methods inherited from interface org.sonar.plugins.jcl.api.tree.HasTextRange
textRangeMethods inherited from interface org.sonar.plugins.jcl.api.tree.JclTree
children, getKind, is, parentMethods inherited from interface org.sonar.plugins.jcl.api.tree.statement.StatementTree
nameValue, operationValue
-
Method Details
-
concatenatedDdStatements
List<DdStatementTree> concatenatedDdStatements()Returns the list of concatenated DD statements.
As an example, for a DD statement like://SYSUT1 DD DSN=A.B.C,DISP=SHR // DD DSN=D.E.F,DISP=SHR // DD DSN=G.H.I,DISP=SHR
this method will return a list of 2 DD statements, one forDSN=D.E.Fand one forDSN=G.H.I.- Returns:
- list of DD statements concatenated to this one.
-