public class ModuleNode extends AstNode
Constructor and Description |
---|
ModuleNode(java.util.List<LabelNode> labels,
java.lang.String moduleName,
int startpos,
int endpos,
ArgumentNode[] arguments) |
Modifier and Type | Method and Description |
---|---|
ModuleNode |
copyOf(ArgumentNode[] arguments,
boolean argumentOverriding)
Construct a copy of the module node but the supplied replacement
arguments can adjust the argument set that the resultant copy will have,
in three ways:
- they can be used to fill in variables in parameters
- they can override existing parameters with the same name
- they can behave as additional parameters
|
ArgumentNode[] |
getArguments() |
java.util.Properties |
getArgumentsAsProperties() |
java.util.List<java.lang.String> |
getLabelNames() |
java.lang.String |
getName() |
boolean |
hasArguments() |
boolean |
isJobStep() |
void |
setIsJobStep(boolean isjobstep) |
java.lang.String |
stringify(boolean includePositionalInfo) |
java.lang.String |
toString() |
getEndPos, getStartPos, stringify
public ModuleNode(java.util.List<LabelNode> labels, java.lang.String moduleName, int startpos, int endpos, ArgumentNode[] arguments)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String stringify(boolean includePositionalInfo)
public java.lang.String getName()
public ArgumentNode[] getArguments()
public boolean hasArguments()
public boolean isJobStep()
public java.util.List<java.lang.String> getLabelNames()
public java.util.Properties getArgumentsAsProperties()
Properties
object.public void setIsJobStep(boolean isjobstep)
public ModuleNode copyOf(ArgumentNode[] arguments, boolean argumentOverriding)