public class MakeInstanceInitializersExplicit
extends polyglot.visit.ContextVisitor
Constructor and Description |
---|
MakeInstanceInitializersExplicit(polyglot.frontend.Job job,
polyglot.types.TypeSystem ts,
polyglot.ast.NodeFactory nf) |
Modifier and Type | Method and Description |
---|---|
protected polyglot.ast.Stmt |
addFieldInitializer(polyglot.types.ClassType container,
polyglot.ast.FieldDecl fd) |
polyglot.ast.Node |
leaveCall(polyglot.ast.Node old,
polyglot.ast.Node n,
polyglot.visit.NodeVisitor v) |
protected boolean |
leaveInitializer(polyglot.ast.FieldDecl fd) |
addDecls, addDecls, begin, context, context, enter, enter, enterScope, leave, rethrowMissingDependencies, superEnter
catchErrors, enterCall, enterCall, enterError, errorQueue, hasErrors, job, leaveCall, leaveCall, nodeFactory, typeSystem
bypass, bypass, bypassChildren, override, visitChildren
public MakeInstanceInitializersExplicit(polyglot.frontend.Job job, polyglot.types.TypeSystem ts, polyglot.ast.NodeFactory nf)
public polyglot.ast.Node leaveCall(polyglot.ast.Node old, polyglot.ast.Node n, polyglot.visit.NodeVisitor v) throws polyglot.types.SemanticException
leaveCall
in class polyglot.visit.ErrorHandlingVisitor
polyglot.types.SemanticException
protected boolean leaveInitializer(polyglot.ast.FieldDecl fd)
protected polyglot.ast.Stmt addFieldInitializer(polyglot.types.ClassType container, polyglot.ast.FieldDecl fd)