public class CsmAttribute extends java.lang.Object implements CsmElement
Modifier and Type | Field and Description |
---|---|
private ObservableProperty |
property |
Constructor and Description |
---|
CsmAttribute(ObservableProperty property) |
Modifier and Type | Method and Description |
---|---|
ObservableProperty |
getProperty() |
int |
getTokenType(Node node,
java.lang.String text)
Obtain the token type corresponding to the specific value of the attribute.
|
void |
prettyPrint(Node node,
SourcePrinter printer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attribute, block, charToken, child, comma, comment, conditional, conditional, indent, list, list, list, list, newline, none, orphanCommentsBeforeThis, orphanCommentsEnding, semicolon, sequence, space, string, string, stringToken, token, token, unindent
private final ObservableProperty property
public CsmAttribute(ObservableProperty property)
public ObservableProperty getProperty()
public void prettyPrint(Node node, SourcePrinter printer)
prettyPrint
in interface CsmElement
public int getTokenType(Node node, java.lang.String text)