private class Resolver.CompoundAnnotationMapper
extends net.ssehub.easy.varModel.model.AnnotationVisitor
initialize(Compound, ConstraintSyntaxTree, Variable, IDatatype) first, then
AnnotationVisitor.visitAnnotations(net.ssehub.easy.varModel.model.IAttributeAccess) and finally clear().| Modifier and Type | Field and Description |
|---|---|
private net.ssehub.easy.varModel.cst.ConstraintSyntaxTree |
cAcc |
private net.ssehub.easy.varModel.cst.Variable |
declVar |
private net.ssehub.easy.varModel.model.datatypes.IDatatype |
target |
private net.ssehub.easy.varModel.model.datatypes.Compound |
type |
| Modifier | Constructor and Description |
|---|---|
private |
CompoundAnnotationMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear()
Clears the mapper.
|
protected void |
initialize(net.ssehub.easy.varModel.model.datatypes.Compound type,
net.ssehub.easy.varModel.cst.ConstraintSyntaxTree cAcc,
net.ssehub.easy.varModel.cst.Variable declVar,
net.ssehub.easy.varModel.model.datatypes.IDatatype target)
Initializes the mapper.
|
protected void |
processAttribute(net.ssehub.easy.varModel.model.Attribute attr) |
protected void |
processAttributeAssignment(net.ssehub.easy.varModel.model.AttributeAssignment assng) |
private net.ssehub.easy.varModel.cst.ConstraintSyntaxTree cAcc
private net.ssehub.easy.varModel.model.datatypes.Compound type
private net.ssehub.easy.varModel.cst.Variable declVar
private net.ssehub.easy.varModel.model.datatypes.IDatatype target
protected void initialize(net.ssehub.easy.varModel.model.datatypes.Compound type,
net.ssehub.easy.varModel.cst.ConstraintSyntaxTree cAcc,
net.ssehub.easy.varModel.cst.Variable declVar,
net.ssehub.easy.varModel.model.datatypes.IDatatype target)
type - the compound typecAcc - the accessor expression (may be null)declVar - the compound variable as expressiontarget - the specific target type to cast to (may be null or type for no cast)protected void clear()
protected void processAttributeAssignment(net.ssehub.easy.varModel.model.AttributeAssignment assng)
throws net.ssehub.easy.varModel.model.IvmlException
processAttributeAssignment in class net.ssehub.easy.varModel.model.AnnotationVisitornet.ssehub.easy.varModel.model.IvmlExceptionprotected void processAttribute(net.ssehub.easy.varModel.model.Attribute attr)
throws net.ssehub.easy.varModel.model.IvmlException
processAttribute in class net.ssehub.easy.varModel.model.AnnotationVisitornet.ssehub.easy.varModel.model.IvmlExceptionCopyright © 2009 - 2018 SSE. All Rights Reserved.