public interface CGElement
extends org.eclipse.emf.ecore.EObject
CGModelPackage.getCGElement()
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.
|
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.
|
<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)