public class DirectiveLabel extends Directive
Directive.Kind
Modifier and Type | Field and Description |
---|---|
protected LabelValue |
label |
Modifier and Type | Method and Description |
---|---|
Directive |
copy()
Copies the directive.
|
Directive.Kind |
getKind()
Returns the directive kind.
|
Label |
getLabel() |
java.lang.String |
getText()
Returns the string representation of the directive.
|
boolean |
isRealLabel() |
boolean |
needsIndent()
Checks whether an indentation is required when printing the directive.
|
java.lang.String |
toString() |
protected final LabelValue label
public final Label getLabel()
public boolean isRealLabel()
public Directive.Kind getKind()
Directive
public java.lang.String getText()
Directive
public boolean needsIndent()
Directive
needsIndent
in class Directive
true
iff an indentation is required.