public class CastInsertionVisitor
extends polyglot.visit.AscriptionVisitor
Constructor and Description |
---|
CastInsertionVisitor(polyglot.frontend.Job job,
polyglot.types.TypeSystem ts,
polyglot.ast.NodeFactory nf) |
Modifier and Type | Method and Description |
---|---|
polyglot.ast.Expr |
ascribe(polyglot.ast.Expr e,
polyglot.types.Type toType) |
polyglot.ast.Node |
leaveCall(polyglot.ast.Node old,
polyglot.ast.Node n,
polyglot.visit.NodeVisitor v) |
addDecls, begin, context, context, enter, enterScope, leave, superEnter
catchErrors, enterCall, enterError, errorQueue, job, leaveCall, nodeFactory, typeSystem
bypass, bypass, bypassChildren, copy, override, visitChildren
public CastInsertionVisitor(polyglot.frontend.Job job, polyglot.types.TypeSystem ts, polyglot.ast.NodeFactory nf)
public polyglot.ast.Expr ascribe(polyglot.ast.Expr e, polyglot.types.Type toType)
ascribe
in class polyglot.visit.AscriptionVisitor
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.AscriptionVisitor
polyglot.types.SemanticException
Copyright © 2020 Sable. All rights reserved.