public interface CGElement
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.
|
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.
|
<R> R accept(CGModelVisitor<R> visitor)
Iterable<? extends CGElement> getChildren()
CGElement getParent()
AbstractPlace getPlace(Map<CGElement,AbstractPlace> element2place)
boolean isContext()
boolean rewriteAs(CGValuedElement oldValue, CGValuedElement newValue)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.