public class PatternQuerySpecificationClassInferrer
extends java.lang.Object
IQuerySpecification
implementation inferrer.Constructor and Description |
---|
PatternQuerySpecificationClassInferrer() |
Modifier and Type | Method and Description |
---|---|
ParameterDirection |
direction(Variable variable) |
org.eclipse.xtend2.lib.StringConcatenationClient |
directionLiteral(Variable variable) |
ExecutionType |
getRequestedExecutionType(Pattern pattern) |
org.eclipse.xtend2.lib.StringConcatenationClient |
inferAnnotations(Pattern pattern) |
org.eclipse.xtend2.lib.StringConcatenationClient |
inferBodies(Pattern pattern) |
void |
inferExpressions(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass,
Pattern pattern) |
boolean |
inferPQueryMembers(org.eclipse.xtext.common.types.JvmDeclaredType pQueryClass,
Pattern pattern) |
org.eclipse.xtend2.lib.StringConcatenationClient |
inferQueryEvaluationHints(Pattern pattern) |
org.eclipse.xtext.common.types.JvmDeclaredType |
inferQuerySpecificationClass(Pattern pattern,
boolean isPrelinkingPhase,
java.lang.String querySpecificationPackageName,
org.eclipse.xtext.common.types.JvmType matcherClass,
org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder builder,
org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder annBuilder,
EMFPatternLanguageGeneratorConfig config)
Infers the
IQuerySpecification implementation class from Pattern . |
boolean |
inferQuerySpecificationInnerClasses(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass,
Pattern pattern,
boolean withPatternSpecificMatcher)
Infers inner class for QuerySpecification class based on the input 'pattern'.
|
boolean |
inferQuerySpecificationMethods(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass,
Pattern pattern,
org.eclipse.xtext.common.types.JvmType matcherClass,
org.eclipse.xtext.common.types.JvmType matchClass,
boolean withPatternSpecificMatcher)
Infers methods for QuerySpecification class based on the input 'pattern'.
|
void |
initializeSpecification(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass,
Pattern pattern,
org.eclipse.xtext.common.types.JvmType matcherClass,
org.eclipse.xtext.common.types.JvmType matchClass,
EMFPatternLanguageGeneratorConfig config) |
org.eclipse.xtend2.lib.StringConcatenationClient |
outputAnnotationParameter(java.lang.Object value) |
org.eclipse.xtend2.lib.StringConcatenationClient |
parameterInstantiation(Variable variable) |
public PatternQuerySpecificationClassInferrer()
public org.eclipse.xtext.common.types.JvmDeclaredType inferQuerySpecificationClass(Pattern pattern, boolean isPrelinkingPhase, java.lang.String querySpecificationPackageName, org.eclipse.xtext.common.types.JvmType matcherClass, org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder builder, org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder annBuilder, EMFPatternLanguageGeneratorConfig config)
IQuerySpecification
implementation class from Pattern
.public void initializeSpecification(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass, Pattern pattern, org.eclipse.xtext.common.types.JvmType matcherClass, org.eclipse.xtext.common.types.JvmType matchClass, EMFPatternLanguageGeneratorConfig config)
public boolean inferQuerySpecificationMethods(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass, Pattern pattern, org.eclipse.xtext.common.types.JvmType matcherClass, org.eclipse.xtext.common.types.JvmType matchClass, boolean withPatternSpecificMatcher)
public ParameterDirection direction(Variable variable)
public org.eclipse.xtend2.lib.StringConcatenationClient directionLiteral(Variable variable)
public boolean inferPQueryMembers(org.eclipse.xtext.common.types.JvmDeclaredType pQueryClass, Pattern pattern)
public ExecutionType getRequestedExecutionType(Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient inferQueryEvaluationHints(Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient inferBodies(Pattern pattern) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public boolean inferQuerySpecificationInnerClasses(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass, Pattern pattern, boolean withPatternSpecificMatcher)
public void inferExpressions(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass, Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient parameterInstantiation(Variable variable)
public org.eclipse.xtend2.lib.StringConcatenationClient inferAnnotations(Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient outputAnnotationParameter(java.lang.Object value)