public class CsmAttribute extends Object implements CsmElement
Constructor and Description |
---|
CsmAttribute(ObservableProperty property) |
Modifier and Type | Method and Description |
---|---|
ObservableProperty |
getProperty() |
int |
getTokenType(Node node,
String text,
String tokenText)
Obtain the token type corresponding to the specific value of the attribute.
|
void |
prettyPrint(Node node,
SourcePrinter printer) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
attribute, block, charToken, child, comma, comment, conditional, conditional, conditional, indent, isCorrespondingElement, list, list, list, list, newline, newline, none, orphanCommentsBeforeThis, orphanCommentsEnding, semicolon, sequence, space, string, string, stringToken, textBlockToken, token, unindent
public CsmAttribute(ObservableProperty property)
public ObservableProperty getProperty()
public void prettyPrint(Node node, SourcePrinter printer)
prettyPrint
in interface CsmElement
public int getTokenType(Node node, String text, String tokenText)
tokenText
- Operator's token textCopyright © 2007–2024. All rights reserved.