public abstract class AbstractConstraintProcessor
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractConstraintProcessor.ExpressionType
Expression types.
|
| Constructor and Description |
|---|
AbstractConstraintProcessor() |
| Modifier and Type | Method and Description |
|---|---|
abstract ContextStack |
getContextStack()
Returns the context stack, e.g., for type exclusions.
|
net.ssehub.easy.varModel.cst.ConstraintSyntaxTree |
process(net.ssehub.easy.varModel.model.Constraint constraint,
AbstractConstraintProcessor.ExpressionType type)
Processes a constraint (taking over the parent of
constraint). |
abstract net.ssehub.easy.varModel.cst.ConstraintSyntaxTree |
process(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree cst,
AbstractConstraintProcessor.ExpressionType type,
java.lang.String slot,
net.ssehub.easy.varModel.model.IModelElement parent)
Processes a constraint syntax tree.
|
public abstract net.ssehub.easy.varModel.cst.ConstraintSyntaxTree process(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree cst,
AbstractConstraintProcessor.ExpressionType type,
java.lang.String slot,
net.ssehub.easy.varModel.model.IModelElement parent)
cst - the constraint syntax treetype - the type of cstslot - the slot name, only in case of AbstractConstraintProcessor.ExpressionType.DEFAULT or
AbstractConstraintProcessor.ExpressionType.ANNOTATION_DEFAULTparent - the actual/intended parent if not determined otherwisecstpublic net.ssehub.easy.varModel.cst.ConstraintSyntaxTree process(net.ssehub.easy.varModel.model.Constraint constraint,
AbstractConstraintProcessor.ExpressionType type)
constraint). [convenience]constraint - the constraint to be processedtype - the type of the constraintconstraintpublic abstract ContextStack getContextStack()
Copyright © 2009 - 2018 SSE. All Rights Reserved.