public class TextTemplateTree extends AbstractSyntaxTree
AbstractSyntaxTree.LogCounter| Constructor and Description |
|---|
TextTemplateTree(java.lang.String templateText) |
TextTemplateTree(TextTemplateTree otherTree) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(TextTemplateTree node) |
java.util.List |
getChildren()
Get the list of child objects owned by this substitution API object.
|
java.util.List |
getExpressions()
Get a list of expressions owned by this substitution API object.
|
java.util.Map |
getTemplateSubstitutionMap()
Get a hash map containing built-in template substitution variable names as the hash key,
and the substitution variable value as values.
|
java.lang.String |
getType()
Get a class type string for this substitution API object.
|
getCodeGenerationTemplate, getCodeGenerationTemplateName, getCustomTemplate, getKMName, getLeafLevelChildren, getMapPhysicalNode, getOrder, getParentAST, getParentOfType, getPropertyValue, getSourceLanguage, getSourceLocation, getSourceTechnology, getSourceText, getTargetLanguage, getTargetLocation, getTargetTechnology, getTargetText, getText, hasCustomTemplate, hasSourceAndTargetText, isLeafLevelNode, isPushFromSourcepublic TextTemplateTree(java.lang.String templateText)
public TextTemplateTree(TextTemplateTree otherTree) throws GenerationException
GenerationExceptionpublic java.util.List getChildren()
AbstractSyntaxTreegetChildren in class AbstractSyntaxTreepublic void addChild(TextTemplateTree node)
public java.lang.String getType()
AbstractSyntaxTreegetType in class AbstractSyntaxTreepublic java.util.List getExpressions()
AbstractSyntaxTreegetExpressions in class AbstractSyntaxTreepublic java.util.Map getTemplateSubstitutionMap()
AbstractSyntaxTreegetTemplateSubstitutionMap in class AbstractSyntaxTree