public abstract class CGElementImpl extends MinimalEObjectImpl.Container implements CGElement
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.
|
NotificationChain |
eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID,
NotificationChain msgs) |
Iterable<? extends CGElement> |
getChildren()
Return the child CGElements.
|
CGElement |
getParent()
Return the parent node in a CG tree, null at the root.
|
AbstractPlace |
getPlace(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.
|
String |
toString() |
public NotificationChain eBasicSetContainer(InternalEObject newContainer, int newContainerFeatureID, NotificationChain msgs)
public String toString()
public <R> R accept(CGModelVisitor<R> visitor)
public Iterable<? extends CGElement> getChildren()
getChildren
in interface CGElement
public CGElement getParent()
public AbstractPlace getPlace(Map<CGElement,AbstractPlace> element2place)
public boolean isContext()
public boolean rewriteAs(CGValuedElement oldValue, CGValuedElement newValue)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.