public class ModuleNode extends AstNode
Constructor and Description |
---|
ModuleNode(LabelNode label,
java.lang.String moduleName,
int startpos,
int endpos,
ArgumentNode[] arguments) |
Modifier and Type | Method and Description |
---|---|
ArgumentNode[] |
getArguments() |
java.util.Properties |
getArgumentsAsProperties() |
java.lang.String |
getLabelName()
Return the label for this module, that is:
an explicit label if provided
the module name if no label was provided
|
java.lang.String |
getName() |
boolean |
hasArguments() |
java.lang.String |
stringify(boolean includePositionalInfo) |
java.lang.String |
toString() |
getEndPos, getStartPos, stringify
public ModuleNode(LabelNode label, 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 java.lang.String getLabelName()
public java.util.Properties getArgumentsAsProperties()
Properties
object.