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) |
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)
public polyglot.ast.Node leaveCall(polyglot.ast.Node old, polyglot.ast.Node n, polyglot.visit.NodeVisitor v) throws polyglot.types.SemanticException
polyglot.types.SemanticException