public class TemplateNode extends CompositeGeneratorNode implements org.eclipse.xtend2.lib.StringConcatenationClient.TargetStringConcatenation
StringConcatenationClient to compute its children.| Constructor and Description |
|---|
TemplateNode(org.eclipse.xtend2.lib.StringConcatenationClient contents,
GeneratorNodeExtensions nodeFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(java.lang.Object object) |
void |
append(java.lang.Object object,
java.lang.String indentation) |
void |
appendImmediate(java.lang.Object object,
java.lang.String indentation) |
char |
charAt(int index) |
protected static boolean |
hasContent(java.lang.CharSequence s) |
protected java.lang.Iterable<IGeneratorNode> |
leafsBackwards(IGeneratorNode it) |
int |
length() |
void |
newLine() |
void |
newLineIfNotEmpty() |
java.lang.CharSequence |
subSequence(int start,
int end) |
getChildren, toStringpublic TemplateNode(org.eclipse.xtend2.lib.StringConcatenationClient contents,
GeneratorNodeExtensions nodeFactory)
public void append(java.lang.Object object,
java.lang.String indentation)
append in interface org.eclipse.xtend2.lib.StringConcatenationClient.TargetStringConcatenationpublic void append(java.lang.Object object)
append in interface org.eclipse.xtend2.lib.StringConcatenationClient.TargetStringConcatenationprotected java.lang.Iterable<IGeneratorNode> leafsBackwards(IGeneratorNode it)
public void appendImmediate(java.lang.Object object,
java.lang.String indentation)
appendImmediate in interface org.eclipse.xtend2.lib.StringConcatenationClient.TargetStringConcatenationprotected static boolean hasContent(java.lang.CharSequence s)
public void newLine()
newLine in interface org.eclipse.xtend2.lib.StringConcatenationClient.TargetStringConcatenationpublic void newLineIfNotEmpty()
newLineIfNotEmpty in interface org.eclipse.xtend2.lib.StringConcatenationClient.TargetStringConcatenationpublic char charAt(int index)
charAt in interface java.lang.CharSequencepublic int length()
length in interface java.lang.CharSequencepublic java.lang.CharSequence subSequence(int start,
int end)
subSequence in interface java.lang.CharSequence