public class CsmConditional extends Object implements CsmElement
Modifier and Type | Class and Description |
---|---|
static class |
CsmConditional.Condition |
Constructor and Description |
---|
CsmConditional(List<ObservableProperty> properties,
CsmConditional.Condition condition,
CsmElement thenElement,
CsmElement elseElement) |
CsmConditional(ObservableProperty property,
CsmConditional.Condition condition,
CsmElement thenElement) |
CsmConditional(ObservableProperty property,
CsmConditional.Condition condition,
CsmElement thenElement,
CsmElement elseElement) |
Modifier and Type | Method and Description |
---|---|
CsmConditional.Condition |
getCondition() |
CsmElement |
getElseElement() |
List<ObservableProperty> |
getProperties() |
ObservableProperty |
getProperty() |
CsmElement |
getThenElement() |
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, conditional, indent, list, list, list, list, newline, newline, none, orphanCommentsBeforeThis, orphanCommentsEnding, semicolon, sequence, space, string, string, stringToken, textBlockToken, token, token, unindent
public CsmConditional(ObservableProperty property, CsmConditional.Condition condition, CsmElement thenElement, CsmElement elseElement)
public CsmConditional(List<ObservableProperty> properties, CsmConditional.Condition condition, CsmElement thenElement, CsmElement elseElement)
public CsmConditional(ObservableProperty property, CsmConditional.Condition condition, CsmElement thenElement)
public CsmConditional.Condition getCondition()
public ObservableProperty getProperty()
public List<ObservableProperty> getProperties()
public CsmElement getThenElement()
public CsmElement getElseElement()
public void prettyPrint(Node node, SourcePrinter printer)
prettyPrint
in interface CsmElement
Copyright © 2007–2020. All rights reserved.