|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elang.visitors.KernelECopyVisitor | +--org.erights.e.elang.visitors.DefBehaviorVisitor
Safe: Transforms from Expanded-E (the output of the parser or quasi-parser) to Kernel-E (Bound-E but without PatternMap info).
This transformation is the determination of absolute fully qualified names.
Field Summary | |
private int |
myAnonCount
How many anon object exprs have already been renamed at this level? |
private FlexMap |
myDefs
A mapping from fqNames to ObjectExprs. |
private String |
myFQNPrefix
Either the null string, or a string ending in a "." or a "$" for a containing package or outer "class" respectively. |
Fields inherited from class org.erights.e.elang.visitors.KernelECopyVisitor |
|
Constructor Summary | |
|
DefBehaviorVisitor(String fqnPrefix)
Enabled: |
private |
DefBehaviorVisitor(String fqnPrefix,
FlexMap defs)
|
Method Summary | |
Object |
visitObjectExpr(ENode optOriginal,
String docComment,
String optFQN,
EExpr[] auditors,
EScript eScript)
Enabled: |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final String myFQNPrefix
private final FlexMap myDefs
private int myAnonCount
The next one to be renamed will be called ++myAnonCount.
Constructor Detail |
public DefBehaviorVisitor(String fqnPrefix)
private DefBehaviorVisitor(String fqnPrefix, FlexMap defs)
Method Detail |
public Object visitObjectExpr(ENode optOriginal, String docComment, String optFQN, EExpr[] auditors, EScript eScript)
visitObjectExpr
in interface ETreeVisitor
visitObjectExpr
in class KernelECopyVisitor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |