|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.visit.NodeVisitor
polyglot.visit.HaltingVisitor
polyglot.visit.ErrorHandlingVisitor
polyglot.visit.ContextVisitor
polyglot.visit.LocalClassRemoverOld
public class LocalClassRemoverOld
Field Summary |
---|
Fields inherited from class polyglot.visit.ContextVisitor |
---|
context, outer, prune, rethrowMissingDependencies |
Fields inherited from class polyglot.visit.ErrorHandlingVisitor |
---|
error, job, nf, ts |
Fields inherited from class polyglot.visit.HaltingVisitor |
---|
bypass, bypassParent |
Constructor Summary | |
---|---|
LocalClassRemoverOld(Job job,
TypeSystem ts,
NodeFactory nf)
|
Method Summary | |
---|---|
protected NodeVisitor |
enterCall(Node n)
|
protected boolean |
isLocal(ClassType ct)
|
protected Node |
leaveCall(Node old,
Node n,
NodeVisitor v)
|
protected java.lang.String |
namePrefix()
|
protected java.lang.String |
newFieldName(java.lang.String name)
|
protected void |
translateAnonClassBody(ParsedClassType ct,
java.util.List arguments,
ClassBody body,
Context context)
|
protected void |
translateLocalClassBody(ParsedClassType ct,
ClassBody body,
Context context)
|
Methods inherited from class polyglot.visit.ContextVisitor |
---|
addDecls, begin, context, context, enter, enter, enterScope, leave, rethrowMissingDependencies, superEnter |
Methods inherited from class polyglot.visit.ErrorHandlingVisitor |
---|
catchErrors, enterCall, enterError, errorQueue, hasErrors, job, leaveCall, leaveCall, nodeFactory, typeSystem |
Methods inherited from class polyglot.visit.HaltingVisitor |
---|
bypass, bypass, bypassChildren, override, visitChildren |
Methods inherited from class polyglot.visit.NodeVisitor |
---|
copy, finish, finish, leave, override, toString, visitEdge, visitEdgeNoOverride |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocalClassRemoverOld(Job job, TypeSystem ts, NodeFactory nf)
Method Detail |
---|
protected java.lang.String newFieldName(java.lang.String name)
protected java.lang.String namePrefix()
protected boolean isLocal(ClassType ct)
protected Node leaveCall(Node old, Node n, NodeVisitor v) throws SemanticException
leaveCall
in class ErrorHandlingVisitor
SemanticException
protected NodeVisitor enterCall(Node n) throws SemanticException
enterCall
in class ErrorHandlingVisitor
SemanticException
protected void translateAnonClassBody(ParsedClassType ct, java.util.List arguments, ClassBody body, Context context)
protected void translateLocalClassBody(ParsedClassType ct, ClassBody body, Context context)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |