| Package | Description |
|---|---|
| org.eclipse.ocl |
Definition of the extensible environment API for OCL parsing and evaluation.
|
| org.eclipse.ocl.expressions |
Specification of the Expressions package of the Object Constraint Lanuage
version 2.0 Abstract Syntax model.
|
| org.eclipse.ocl.expressions.impl |
Implementation of the Expressions package of the Object Constraint Lanuage
version 2.0 Abstract Syntax model.
|
| org.eclipse.ocl.expressions.operations | |
| org.eclipse.ocl.expressions.util |
Generated utilities for working with instances the Expressions model.
|
| org.eclipse.ocl.internal.evaluation | |
| org.eclipse.ocl.internal.helper | |
| org.eclipse.ocl.parser | |
| org.eclipse.ocl.util |
Miscellaneous utilities in support of the OCL parser and environment
implementations.
|
| org.eclipse.ocl.utilities |
Abstract API for OCL AST utilities and extensions of the UML metamodel.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
EvaluationVisitorDecorator.visitIteratorExp(IteratorExp<C,PM> callExp)
Delegates to my decorated visitor.
|
Object |
EvaluationVisitorImpl.visitIteratorExp(IteratorExp<C,PM> ie)
Callback for an IteratorExp visit.
|
| Modifier and Type | Method and Description |
|---|---|
<C,PM> IteratorExp<C,PM> |
ExpressionsFactory.createIteratorExp()
Returns a new object of class 'Iterator Exp'.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IteratorExpImpl<C,PM>
An implementation of the model object 'Iterator Exp'.
|
| Modifier and Type | Method and Description |
|---|---|
<C,PM> IteratorExp<C,PM> |
ExpressionsFactoryImpl.createIteratorExp() |
| Modifier and Type | Method and Description |
|---|---|
static <C,PM> boolean |
IteratorExpOperations.checkBooleanBodyType(IteratorExp<C,PM> iteratorExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
name = 'exists' or name = 'forAll' or name = 'select' or name = 'reject'
implies body.type.name = 'Boolean'
|
static <C,PM> boolean |
IteratorExpOperations.checkBooleanType(IteratorExp<C,PM> iteratorExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
name = 'exists' or name = 'forAll' or name = 'isUnique'
implies type.oclIsKindOf(PrimitiveType) and type.name = 'Boolean'
|
static <C,PM> boolean |
IteratorExpOperations.checkCollectType(IteratorExp<C,PM> iteratorExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
name = 'collect' implies
if source.type.oclIsKindOf(SequenceType) then
type = expression.type.collectionType->select(oclIsTypeOf(SequenceType))->first()
else
type = expression.type.collectionType->select(oclIsTypeOf(BagType))->first()
endif
|
static <C,PM> boolean |
IteratorExpOperations.checkSelectRejectType(IteratorExp<C,PM> iteratorExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
name = 'select' or name = 'reject' implies type = source.type
|
| Modifier and Type | Method and Description |
|---|---|
<C,PM> T |
ExpressionsSwitch.caseIteratorExp(IteratorExp<C,PM> object)
Returns the result of interpreting the object as an instance of 'Iterator Exp'.
|
boolean |
ExpressionsValidator.validateIteratorExp_checkBooleanBodyType(IteratorExp<?,?> iteratorExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the checkBooleanBodyType constraint of 'Iterator Exp'.
|
boolean |
ExpressionsValidator.validateIteratorExp_checkBooleanType(IteratorExp<?,?> iteratorExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the checkBooleanType constraint of 'Iterator Exp'.
|
boolean |
ExpressionsValidator.validateIteratorExp_checkCollectType(IteratorExp<?,?> iteratorExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the checkCollectType constraint of 'Iterator Exp'.
|
boolean |
ExpressionsValidator.validateIteratorExp_checkSelectRejectType(IteratorExp<?,?> iteratorExp,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the checkSelectRejectType constraint of 'Iterator Exp'.
|
boolean |
ExpressionsValidator.validateIteratorExp(IteratorExp<?,?> iteratorExp,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
Object |
TracingEvaluationVisitor.visitIteratorExp(IteratorExp<C,PM> callExp) |
| Modifier and Type | Method and Description |
|---|---|
List<Choice> |
OCLSyntaxHelper.ASTVisitor.visitIteratorExp(IteratorExp<C,PM> exp) |
| Modifier and Type | Method and Description |
|---|---|
protected IteratorExp<C,PM> |
AbstractOCLAnalyzer.createImplicitCollect(OCLExpression<C> source,
FeatureCallExp<C> propertyCall,
Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
CSTNode cstNode)
Creates an implicit
collect iterator expression for a
property call on a collection-type source expression. |
<C,PM> IteratorExp<C,PM> |
OCLFactoryWithHistory.createIteratorExp() |
protected IteratorExp<C,PM> |
AbstractOCLAnalyzer.iteratorExpCS(IteratorExpCS iteratorExpCS,
Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env)
IteratorExpCS
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
ValidationVisitor.visitIteratorExp(IteratorExp<C,PM> ie)
Callback for an IteratorExp visit.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
ToStringVisitor.handleIteratorExp(IteratorExp<C,PM> callExp,
String sourceResult,
List<String> variableResults,
String bodyResult)
Callback for an IteratorExp visit.
|
| Modifier and Type | Method and Description |
|---|---|
<C,PM> IteratorExp<C,PM> |
OCLFactory.createIteratorExp()
Returns a new object of class 'Iterator Exp'.
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
AbstractVisitor.handleIteratorExp(IteratorExp<C,PM> callExp,
T sourceResult,
List<T> variableResults,
T bodyResult)
Visits the specified iterator expression with the results of visiting
its source, its iterator variables, and its body expression.
|
T |
AbstractVisitor.visitIteratorExp(IteratorExp<C,PM> callExp)
Visits the iterator's source, then its variables, followed by its body
expression.
|
T |
Visitor.visitIteratorExp(IteratorExp<C,PM> callExp) |
Copyright © 2015 Open eHealth Foundation. All rights reserved.