public class RegisterPointerStmtsVisitor
extends polyglot.visit.ErrorHandlingVisitor
| Constructor and Description |
|---|
RegisterPointerStmtsVisitor(polyglot.frontend.Job job,
polyglot.types.TypeSystem ts,
polyglot.ast.NodeFactory nf) |
| Modifier and Type | Method and Description |
|---|---|
protected RegisterPointerStmtsVisitor |
codeInfo(StmtRegistrar.CodeInfo codeInfo) |
ConstructorContext |
constructorContext() |
RegisterPointerStmtsVisitor |
constructorContext(ConstructorContext constructorContext) |
StmtRegistrar.CodeInfo |
currentCode() |
protected polyglot.visit.NodeVisitor |
enterCall(polyglot.ast.Node parent,
polyglot.ast.Node n) |
java.util.List<StmtRegistrar.ExceptionHandlerReferenceVariable> |
exceptionHandlers() |
protected RegisterPointerStmtsVisitor |
exceptionHandlers(java.util.List<StmtRegistrar.ExceptionHandlerReferenceVariable> exln) |
ReferenceVariable |
getReferenceVariable(polyglot.ast.Expr e) |
protected polyglot.ast.Node |
leaveCall(polyglot.ast.Node old,
polyglot.ast.Node n,
polyglot.visit.NodeVisitor v) |
boolean |
recordExprResults() |
protected RegisterPointerStmtsVisitor |
recordExprResults(boolean recordExprResults) |
protected boolean |
subexprsUninteresting(polyglot.ast.Node parent,
polyglot.ast.Node child)
As a mild optimization, allow the visitor to specify
subexpressions that it is not interested in.
|
void |
visitInstanceIntializer(polyglot.ast.CodeNode init) |
begin, catchErrors, enter, enterCall, enterError, errorQueue, hasErrors, job, leave, leaveCall, leaveCall, nodeFactory, typeSystembypass, bypass, bypassChildren, override, visitChildrenpublic RegisterPointerStmtsVisitor(polyglot.frontend.Job job,
polyglot.types.TypeSystem ts,
polyglot.ast.NodeFactory nf)
protected RegisterPointerStmtsVisitor codeInfo(StmtRegistrar.CodeInfo codeInfo)
protected RegisterPointerStmtsVisitor recordExprResults(boolean recordExprResults)
protected RegisterPointerStmtsVisitor exceptionHandlers(java.util.List<StmtRegistrar.ExceptionHandlerReferenceVariable> exln)
public RegisterPointerStmtsVisitor constructorContext(ConstructorContext constructorContext)
public StmtRegistrar.CodeInfo currentCode()
public ConstructorContext constructorContext()
public java.util.List<StmtRegistrar.ExceptionHandlerReferenceVariable> exceptionHandlers()
public boolean recordExprResults()
protected polyglot.visit.NodeVisitor enterCall(polyglot.ast.Node parent,
polyglot.ast.Node n)
throws polyglot.types.SemanticException
enterCall in class polyglot.visit.ErrorHandlingVisitorpolyglot.types.SemanticExceptionprotected boolean subexprsUninteresting(polyglot.ast.Node parent,
polyglot.ast.Node child)
protected 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.ErrorHandlingVisitorpolyglot.types.SemanticExceptionpublic ReferenceVariable getReferenceVariable(polyglot.ast.Expr e)
public void visitInstanceIntializer(polyglot.ast.CodeNode init)