public class CustomAST extends AbstractSyntaxTree
AbstractSyntaxTree.LogCounter| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getChildren()
Get the child object list for this substitution API object.
|
java.util.List |
getExpressions()
Get a list of expressions owned by this substitution API object.
|
ILocation |
getSourceLocation()
Get source location information for this AST, if any is defined, else return null.
|
ITechnology |
getSourceTechnology()
Get source technology information for this AST, if any is defined, else return null.
|
java.lang.String |
getSourceTemplate()
Get the source template.
|
java.lang.String |
getSourceText()
Get the source text.
|
ILocation |
getTargetLocation()
Get target location information for this AST, if any is defined, else return null.
|
ITechnology |
getTargetTechnology()
Get target technology information for this AST, if any is defined, else return null.
|
java.lang.String |
getTargetText()
Get the target text.
|
java.util.Map |
getTemplateSubstitutionMap()
Get the template substitution map.
|
java.lang.String |
getText()
Get the text.
|
java.lang.String |
getType()
Get the class type of this Object.
|
boolean |
hasSourceAndTargetText()
Return true if this object has both source and target text available, else false.
|
getCodeGenerationTemplate, getCodeGenerationTemplateName, getCustomTemplate, getKMName, getLeafLevelChildren, getMapPhysicalNode, getOrder, getParentAST, getParentOfType, getPropertyValue, getSourceLanguage, getTargetLanguage, hasCustomTemplate, isLeafLevelNode, isPushFromSourcepublic java.lang.String getSourceTemplate()
public ILocation getSourceLocation()
getSourceLocation in class AbstractSyntaxTreeGenerationExceptionpublic ILocation getTargetLocation()
getTargetLocation in class AbstractSyntaxTreeGenerationExceptionpublic ITechnology getSourceTechnology()
throws GenerationException
getSourceTechnology in class AbstractSyntaxTreeGenerationExceptionpublic ITechnology getTargetTechnology()
throws GenerationException
getTargetTechnology in class AbstractSyntaxTreeGenerationExceptionpublic java.lang.String getText()
throws GenerationException
getText in class AbstractSyntaxTreeGenerationExceptionpublic java.lang.String getTargetText()
throws GenerationException
getTargetText in class AbstractSyntaxTreeGenerationExceptionpublic java.lang.String getSourceText()
throws GenerationException
getSourceText in class AbstractSyntaxTreeGenerationExceptionpublic java.util.Map getTemplateSubstitutionMap()
getTemplateSubstitutionMap in class AbstractSyntaxTreepublic boolean hasSourceAndTargetText()
AbstractSyntaxTreehasSourceAndTargetText in class AbstractSyntaxTreepublic java.lang.String getType()
getType in class AbstractSyntaxTreepublic java.util.List getChildren()
getChildren in class AbstractSyntaxTreepublic java.util.List getExpressions()
AbstractSyntaxTreegetExpressions in class AbstractSyntaxTree