public class CsmList extends java.lang.Object implements CsmElement
Modifier and Type | Field and Description |
---|---|
private CsmElement |
following |
private CsmElement |
preceeding |
private ObservableProperty |
property |
private CsmElement |
separatorPost |
private CsmElement |
separatorPre |
Constructor and Description |
---|
CsmList(ObservableProperty property) |
CsmList(ObservableProperty property,
CsmElement separator) |
CsmList(ObservableProperty property,
CsmElement separatorPre,
CsmElement separatorPost,
CsmElement preceeding,
CsmElement following) |
Modifier and Type | Method and Description |
---|---|
CsmElement |
getFollowing() |
CsmElement |
getPreceeding() |
ObservableProperty |
getProperty() |
CsmElement |
getSeparatorPost() |
CsmElement |
getSeparatorPre() |
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
private final CsmElement separatorPost
private final CsmElement separatorPre
private final CsmElement preceeding
private final CsmElement following
public CsmList(ObservableProperty property, CsmElement separator)
public CsmList(ObservableProperty property)
public CsmList(ObservableProperty property, CsmElement separatorPre, CsmElement separatorPost, CsmElement preceeding, CsmElement following)
public ObservableProperty getProperty()
public CsmElement getSeparatorPost()
public CsmElement getSeparatorPre()
public CsmElement getPreceeding()
public CsmElement getFollowing()
public void prettyPrint(Node node, SourcePrinter printer)
prettyPrint
in interface CsmElement