Class IndentNode
- java.lang.Object
-
- org.eclipse.xtext.generator.trace.node.CompositeGeneratorNode
-
- org.eclipse.xtext.generator.trace.node.IndentNode
-
- All Implemented Interfaces:
IGeneratorNode
public class IndentNode extends CompositeGeneratorNode
An indent node prepends the indentation string to each line that is generated through its children.
-
-
Constructor Summary
Constructors Constructor Description IndentNode(java.lang.String indentationString)
IndentNode(java.lang.String indentationString, boolean indentImmediately, boolean indentEmptyLines)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIndentationString()
boolean
isIndentEmptyLines()
boolean
isIndentImmediately()
void
setIndentationString(java.lang.String indentationString)
void
setIndentEmptyLines(boolean indentEmptyLines)
void
setIndentImmediately(boolean indentImmediately)
-
Methods inherited from class org.eclipse.xtext.generator.trace.node.CompositeGeneratorNode
getChildren, toString
-
-
-
-
Method Detail
-
getIndentationString
public java.lang.String getIndentationString()
-
setIndentationString
public void setIndentationString(java.lang.String indentationString)
-
isIndentImmediately
public boolean isIndentImmediately()
-
setIndentImmediately
public void setIndentImmediately(boolean indentImmediately)
-
isIndentEmptyLines
public boolean isIndentEmptyLines()
-
setIndentEmptyLines
public void setIndentEmptyLines(boolean indentEmptyLines)
-
-