public interface IterateExp<C,PM> extends LoopExp<C,PM>
The following features are supported:
ExpressionsPackage.getIterateExp()
Modifier and Type | Method and Description |
---|---|
boolean |
checkBodyType(DiagnosticChain diagnostics,
Map<Object,Object> context)
body.type.conformsTo(result.type)
|
boolean |
checkIterateType(DiagnosticChain diagnostics,
Map<Object,Object> context)
type = result.type
|
boolean |
checkResultInit(DiagnosticChain diagnostics,
Map<Object,Object> context)
self.result.initExpression->size() = 1
|
Variable<C,PM> |
getResult()
Returns the value of the 'Result' containment reference.
|
void |
setResult(Variable<C,PM> value)
Sets the value of the '
Result ' containment reference. |
checkLoopVariableInit, checkLoopVariableType, checkSourceCollection, getBody, getIterator, setBody
getName, getType, setName, setType
getPropertyEndPosition, getPropertyStartPosition, setPropertyEndPosition, setPropertyStartPosition
getEndPosition, getStartPosition, setEndPosition, setStartPosition
Variable<C,PM> getResult()
If the meaning of the 'Result' containment reference isn't clear, there really should be more of a description here...
setResult(Variable)
,
ExpressionsPackage.getIterateExp_Result()
void setResult(Variable<C,PM> value)
Result
' containment reference.
value
- the new value of the 'Result' containment reference.getResult()
boolean checkIterateType(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean checkBodyType(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean checkResultInit(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.