private class AttributeValues.ResolutionVisitor
extends java.lang.Object
implements net.ssehub.easy.varModel.model.IModelVisitor
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<net.ssehub.easy.varModel.model.Attribute,java.util.List<net.ssehub.easy.varModel.model.values.Value>> |
assignments |
private java.lang.StringBuilder |
errors |
| Modifier | Constructor and Description |
|---|---|
private |
ResolutionVisitor() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<net.ssehub.easy.varModel.model.Attribute,java.util.List<net.ssehub.easy.varModel.model.values.Value>> |
getAssignments()
Returns the actual assignments.
|
java.lang.String |
getErrors()
Returns the errors occurred while assignment.
|
private void |
resolve(net.ssehub.easy.varModel.model.IAttributableElement elt)
Resolves an attributable element.
|
void |
visitAttribute(net.ssehub.easy.varModel.model.Attribute attribute) |
void |
visitAttributeAssignment(net.ssehub.easy.varModel.model.AttributeAssignment assignment) |
void |
visitComment(net.ssehub.easy.varModel.model.Comment comment) |
void |
visitCompound(net.ssehub.easy.varModel.model.datatypes.Compound compound) |
void |
visitCompoundAccessStatement(net.ssehub.easy.varModel.model.CompoundAccessStatement access) |
void |
visitConstraint(net.ssehub.easy.varModel.model.Constraint constraint) |
void |
visitDecisionVariableDeclaration(net.ssehub.easy.varModel.model.DecisionVariableDeclaration decl) |
void |
visitDerivedDatatype(net.ssehub.easy.varModel.model.datatypes.DerivedDatatype datatype) |
void |
visitEnum(net.ssehub.easy.varModel.model.datatypes.Enum eenum) |
void |
visitEnumLiteral(net.ssehub.easy.varModel.model.datatypes.EnumLiteral literal) |
void |
visitFreezeBlock(net.ssehub.easy.varModel.model.FreezeBlock freeze) |
void |
visitOperationDefinition(net.ssehub.easy.varModel.model.OperationDefinition opdef) |
void |
visitOrderedEnum(net.ssehub.easy.varModel.model.datatypes.OrderedEnum eenum) |
void |
visitPartialEvaluationBlock(net.ssehub.easy.varModel.model.PartialEvaluationBlock block) |
void |
visitProject(net.ssehub.easy.varModel.model.Project project) |
void |
visitProjectImport(net.ssehub.easy.varModel.model.ProjectImport pImport) |
void |
visitProjectInterface(net.ssehub.easy.varModel.model.ProjectInterface iface) |
void |
visitReference(net.ssehub.easy.varModel.model.datatypes.Reference reference) |
void |
visitSequence(net.ssehub.easy.varModel.model.datatypes.Sequence sequence) |
void |
visitSet(net.ssehub.easy.varModel.model.datatypes.Set set) |
private java.util.Map<net.ssehub.easy.varModel.model.Attribute,java.util.List<net.ssehub.easy.varModel.model.values.Value>> assignments
private java.lang.StringBuilder errors
public java.util.Map<net.ssehub.easy.varModel.model.Attribute,java.util.List<net.ssehub.easy.varModel.model.values.Value>> getAssignments()
public java.lang.String getErrors()
public void visitEnum(net.ssehub.easy.varModel.model.datatypes.Enum eenum)
visitEnum in interface net.ssehub.easy.varModel.model.datatypes.ICustomDatatypeVisitorpublic void visitOrderedEnum(net.ssehub.easy.varModel.model.datatypes.OrderedEnum eenum)
visitOrderedEnum in interface net.ssehub.easy.varModel.model.datatypes.ICustomDatatypeVisitorpublic void visitCompound(net.ssehub.easy.varModel.model.datatypes.Compound compound)
visitCompound in interface net.ssehub.easy.varModel.model.datatypes.ICustomDatatypeVisitorpublic void visitDerivedDatatype(net.ssehub.easy.varModel.model.datatypes.DerivedDatatype datatype)
visitDerivedDatatype in interface net.ssehub.easy.varModel.model.datatypes.ICustomDatatypeVisitorpublic void visitEnumLiteral(net.ssehub.easy.varModel.model.datatypes.EnumLiteral literal)
visitEnumLiteral in interface net.ssehub.easy.varModel.model.datatypes.ICustomDatatypeVisitorpublic void visitReference(net.ssehub.easy.varModel.model.datatypes.Reference reference)
visitReference in interface net.ssehub.easy.varModel.model.datatypes.ICustomDatatypeVisitorpublic void visitSequence(net.ssehub.easy.varModel.model.datatypes.Sequence sequence)
visitSequence in interface net.ssehub.easy.varModel.model.datatypes.ICustomDatatypeVisitorpublic void visitSet(net.ssehub.easy.varModel.model.datatypes.Set set)
visitSet in interface net.ssehub.easy.varModel.model.datatypes.ICustomDatatypeVisitorpublic void visitProject(net.ssehub.easy.varModel.model.Project project)
visitProject in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitProjectImport(net.ssehub.easy.varModel.model.ProjectImport pImport)
visitProjectImport in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitDecisionVariableDeclaration(net.ssehub.easy.varModel.model.DecisionVariableDeclaration decl)
visitDecisionVariableDeclaration in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitAttribute(net.ssehub.easy.varModel.model.Attribute attribute)
visitAttribute in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitConstraint(net.ssehub.easy.varModel.model.Constraint constraint)
visitConstraint in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitFreezeBlock(net.ssehub.easy.varModel.model.FreezeBlock freeze)
visitFreezeBlock in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitOperationDefinition(net.ssehub.easy.varModel.model.OperationDefinition opdef)
visitOperationDefinition in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitPartialEvaluationBlock(net.ssehub.easy.varModel.model.PartialEvaluationBlock block)
visitPartialEvaluationBlock in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitProjectInterface(net.ssehub.easy.varModel.model.ProjectInterface iface)
visitProjectInterface in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitComment(net.ssehub.easy.varModel.model.Comment comment)
visitComment in interface net.ssehub.easy.varModel.model.IModelVisitorpublic void visitAttributeAssignment(net.ssehub.easy.varModel.model.AttributeAssignment assignment)
visitAttributeAssignment in interface net.ssehub.easy.varModel.model.IModelVisitorprivate void resolve(net.ssehub.easy.varModel.model.IAttributableElement elt)
elt - the element to be resolvedpublic void visitCompoundAccessStatement(net.ssehub.easy.varModel.model.CompoundAccessStatement access)
visitCompoundAccessStatement in interface net.ssehub.easy.varModel.model.IModelVisitorCopyright © 2009 - 2018 SSE. All Rights Reserved.