public class CGIteratorImpl extends CGParameterImpl implements CGIterator
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(CGModelVisitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
CGValuedElement |
getNamedValue()
Return the CGValuedElement that provides the name of a declaration from which the value of this CGValuedElement may be obtained.
|
AbstractPlace |
getPlace(Map<CGElement,AbstractPlace> element2place)
Returns the place for this element, updating and reusing element2place as required.
|
CGValuedElement |
getReferredValue()
Return the CGValuedElement to which the value of this CGValuedElement delegates.
|
CGValuedElement |
getSourceValue()
Return the CGValuedElement which is the source of the information value of this element.
|
CGValuedElement |
getTypedValue()
Return the CGValuedElement that provides the narrowest type declaration from which the type of this CGValuedElement may be obtained.
|
boolean |
isConstant()
Return true if this value is a local constant (dependent of the user type system).
|
Boolean |
isEquivalentTo(CGValuedElement thatValue)
Returns true/false if this value can be determined to have deep value equivalence/inequivalence to thatValue, null if no determination can be made.
|
Boolean |
isEquivalentToInternal(CGValuedElement thatValue)
Provided that thatValue does not delegate its equivalence computation, return true/false if this value can be determined to have deep value equivalence/inequivalence to thatValue, null if no determination can be made.
|
boolean |
isGlobal()
Return true if this value is a global constant (independent of the user type system).
|
boolean |
isSettable()
Return true if this value can be inlined as an expression term.
|
basicSetCallable, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eUnset, getCallable, getEcoreClassifier, getInvalidValue, isBoxed, isEcore, isNonInvalid, isUnboxed, setCallable
basicSetInit, getInit, isCommonable, isNonNull, isNull, setInit, setNonInvalid, setNonNull
getDependsOn, getOwns, getThisValue, getValueName, isAssertedNonNull, isCaught, isContext, isFalse, isInlined, isInvalid, isTrue, isUncommonable, rewriteAs, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId, toString
getAst, getName, setAst, setName
eBasicSetContainer, getChildren, getParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCallable, setCallable
getInit, setInit, setNonInvalid, setNonNull
getDependsOn, getEcoreClassifier, getInvalidValue, getOwns, getThisValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isCommonable, isEcore, isFalse, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isTrue, isUnboxed, isUncommonable, setCaught, setValueName
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
getAst, getName, setAst, setName
getChildren, getParent, isContext, rewriteAs
public <R> R accept(CGModelVisitor<R> visitor)
accept
in interface CGElement
accept
in class CGParameterImpl
public CGValuedElement getNamedValue()
getNamedValue
in interface CGValuedElement
getNamedValue
in class CGVariableImpl
public AbstractPlace getPlace(Map<CGElement,AbstractPlace> element2place)
getPlace
in interface CGElement
getPlace
in class CGParameterImpl
public CGValuedElement getReferredValue()
getReferredValue
in interface CGValuedElement
getReferredValue
in class CGVariableImpl
public CGValuedElement getSourceValue()
getSourceValue
in interface CGValuedElement
getSourceValue
in class CGVariableImpl
public CGValuedElement getTypedValue()
getTypedValue
in interface CGValuedElement
getTypedValue
in class CGVariableImpl
public boolean isConstant()
isConstant
in interface CGValuedElement
isConstant
in class CGParameterImpl
public Boolean isEquivalentTo(CGValuedElement thatValue)
isEquivalentTo
in interface CGValuedElement
isEquivalentTo
in class CGVariableImpl
public Boolean isEquivalentToInternal(CGValuedElement thatValue)
isEquivalentToInternal
in interface CGValuedElement
isEquivalentToInternal
in class CGVariableImpl
public boolean isGlobal()
isGlobal
in interface CGValuedElement
isGlobal
in class CGParameterImpl
public boolean isSettable()
isSettable
in interface CGValuedElement
isSettable
in class CGValuedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.