|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CGElement
A representation of the model object 'CG Element'. CGElement is the abstract class from which all classes contribution to a CG tree derive.
CGModelPackage.getCGElement()| Method Summary | ||
|---|---|---|
|
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. |
|
java.lang.Iterable<? extends CGElement> |
getChildren()
Return the child CGElements. |
|
CGElement |
getParent()
Return the parent node in a CG tree, null at the root. |
|
AbstractPlace |
getPlace(java.util.Map<CGElement,AbstractPlace> element2place)
Returns the place for this element, updating and reusing element2place as required. |
|
boolean |
isContext()
Returns true if this node may have its own symbol name context. |
|
boolean |
rewriteAs(CGValuedElement oldValue,
CGValuedElement newValue)
Rewrite the reference to oldValue by newValue. |
|
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
@Nullable
<R> R accept(@NonNull
CGModelVisitor<R> visitor)
@NonNull java.lang.Iterable<? extends CGElement> getChildren()
@Nullable CGElement getParent()
@Nullable
AbstractPlace getPlace(@NonNull
java.util.Map<CGElement,AbstractPlace> element2place)
boolean isContext()
boolean rewriteAs(@NonNull
CGValuedElement oldValue,
@NonNull
CGValuedElement newValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||