public class ASTStringProvider extends PatternLanguageSwitch<java.lang.String>
Modifier and Type | Field and Description |
---|---|
static ASTStringProvider |
INSTANCE |
modelPackage
Modifier and Type | Method and Description |
---|---|
java.lang.String |
caseAggregatedValue(AggregatedValue object)
Returns the result of interpreting the object as an instance of 'Aggregated Value'.
|
java.lang.String |
caseAnnotation(Annotation object)
Returns the result of interpreting the object as an instance of 'Annotation'.
|
java.lang.String |
caseAnnotationParameter(AnnotationParameter object)
Returns the result of interpreting the object as an instance of 'Annotation Parameter'.
|
java.lang.String |
caseBoolValue(BoolValue object)
Returns the result of interpreting the object as an instance of 'Bool Value'.
|
java.lang.String |
caseCheckConstraint(CheckConstraint object)
Returns the result of interpreting the object as an instance of 'Check Constraint'.
|
java.lang.String |
caseClassType(ClassType object)
Returns the result of interpreting the object as an instance of 'Class Type'.
|
java.lang.String |
caseCompareConstraint(CompareConstraint object)
Returns the result of interpreting the object as an instance of 'Compare Constraint'.
|
java.lang.String |
caseEClassifierConstraint(EClassifierConstraint object)
Returns the result of interpreting the object as an instance of 'EClassifier Constraint'.
|
java.lang.String |
caseEnumValue(EnumValue object)
Returns the result of interpreting the object as an instance of 'Enum Value'.
|
java.lang.String |
caseFunctionEvaluationValue(FunctionEvaluationValue object)
Returns the result of interpreting the object as an instance of 'Function Evaluation Value'.
|
java.lang.String |
caseJavaType(JavaType object)
Returns the result of interpreting the object as an instance of 'Java Type'.
|
java.lang.String |
caseListValue(ListValue object)
Returns the result of interpreting the object as an instance of 'List Value'.
|
java.lang.String |
caseModifiers(Modifiers object)
Returns the result of interpreting the object as an instance of 'Modifiers'.
|
java.lang.String |
caseNumberValue(NumberValue object)
Returns the result of interpreting the object as an instance of 'Number Value'.
|
java.lang.String |
casePackageImport(PackageImport object)
Returns the result of interpreting the object as an instance of 'Package Import'.
|
java.lang.String |
caseParameter(Parameter object)
Returns the result of interpreting the object as an instance of 'Parameter'.
|
java.lang.String |
casePathExpressionConstraint(PathExpressionConstraint object)
Returns the result of interpreting the object as an instance of 'Path Expression Constraint'.
|
java.lang.String |
casePattern(Pattern object)
Returns the result of interpreting the object as an instance of 'Pattern'.
|
java.lang.String |
casePatternCall(PatternCall object)
Returns the result of interpreting the object as an instance of 'Pattern Call'.
|
java.lang.String |
casePatternCompositionConstraint(PatternCompositionConstraint object)
Returns the result of interpreting the object as an instance of 'Pattern Composition Constraint'.
|
java.lang.String |
casePatternImport(PatternImport object)
Returns the result of interpreting the object as an instance of 'Pattern Import'.
|
java.lang.String |
caseReferenceType(ReferenceType object)
Returns the result of interpreting the object as an instance of 'Reference Type'.
|
java.lang.String |
caseStringValue(StringValue object)
Returns the result of interpreting the object as an instance of 'String Value'.
|
java.lang.String |
caseTypeCheckConstraint(TypeCheckConstraint object)
Returns the result of interpreting the object as an instance of 'Type Check Constraint'.
|
java.lang.String |
caseVariable(Variable object)
Returns the result of interpreting the object as an instance of 'Variable'.
|
java.lang.String |
caseVariableReference(VariableReference object)
Returns the result of interpreting the object as an instance of 'Variable Reference'.
|
java.lang.String |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
caseCallableRelation, caseComputationValue, caseConstraint, caseEntityType, caseExpression, caseLiteralValueReference, caseLocalVariable, caseParameterRef, casePatternBody, casePatternModel, caseRelationType, caseType, caseUnaryTypeConstraint, caseValueReference, caseVQLImportSection, caseXImportSection, doSwitch, isSwitchFor
public static final ASTStringProvider INSTANCE
public java.lang.String defaultCase(org.eclipse.emf.ecore.EObject object)
PatternLanguageSwitch
defaultCase
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)
public java.lang.String casePackageImport(PackageImport object)
PatternLanguageSwitch
casePackageImport
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String casePatternImport(PatternImport object)
PatternLanguageSwitch
casePatternImport
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseEClassifierConstraint(EClassifierConstraint object)
PatternLanguageSwitch
caseEClassifierConstraint
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseEnumValue(EnumValue object)
PatternLanguageSwitch
caseEnumValue
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseClassType(ClassType object)
PatternLanguageSwitch
caseClassType
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseReferenceType(ReferenceType object)
PatternLanguageSwitch
caseReferenceType
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String casePattern(Pattern object)
PatternLanguageSwitch
casePattern
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseAnnotation(Annotation object)
PatternLanguageSwitch
caseAnnotation
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseAnnotationParameter(AnnotationParameter object)
PatternLanguageSwitch
caseAnnotationParameter
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseModifiers(Modifiers object)
PatternLanguageSwitch
caseModifiers
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseVariable(Variable object)
PatternLanguageSwitch
caseVariable
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseVariableReference(VariableReference object)
PatternLanguageSwitch
caseVariableReference
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String casePatternCall(PatternCall object)
PatternLanguageSwitch
casePatternCall
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseParameter(Parameter object)
PatternLanguageSwitch
caseParameter
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseJavaType(JavaType object)
PatternLanguageSwitch
caseJavaType
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseTypeCheckConstraint(TypeCheckConstraint object)
PatternLanguageSwitch
caseTypeCheckConstraint
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String casePatternCompositionConstraint(PatternCompositionConstraint object)
PatternLanguageSwitch
casePatternCompositionConstraint
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseCompareConstraint(CompareConstraint object)
PatternLanguageSwitch
caseCompareConstraint
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseCheckConstraint(CheckConstraint object)
PatternLanguageSwitch
caseCheckConstraint
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String casePathExpressionConstraint(PathExpressionConstraint object)
PatternLanguageSwitch
casePathExpressionConstraint
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseStringValue(StringValue object)
PatternLanguageSwitch
caseStringValue
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseNumberValue(NumberValue object)
PatternLanguageSwitch
caseNumberValue
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseBoolValue(BoolValue object)
PatternLanguageSwitch
caseBoolValue
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseListValue(ListValue object)
PatternLanguageSwitch
caseListValue
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseFunctionEvaluationValue(FunctionEvaluationValue object)
PatternLanguageSwitch
caseFunctionEvaluationValue
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)
public java.lang.String caseAggregatedValue(AggregatedValue object)
PatternLanguageSwitch
caseAggregatedValue
in class PatternLanguageSwitch<java.lang.String>
object
- the target of the switch.doSwitch(EObject)