soot.javaToJimple
Class CastInsertionVisitor

java.lang.Object
  extended bypolyglot.visit.NodeVisitor
      extended bypolyglot.visit.HaltingVisitor
          extended bypolyglot.visit.ErrorHandlingVisitor
              extended bypolyglot.visit.ContextVisitor
                  extended bypolyglot.visit.AscriptionVisitor
                      extended bysoot.javaToJimple.CastInsertionVisitor
All Implemented Interfaces:
Cloneable, polyglot.util.Copy

public class CastInsertionVisitor
extends polyglot.visit.AscriptionVisitor


Field Summary
 
Fields inherited from class polyglot.visit.ContextVisitor
context
 
Fields inherited from class polyglot.visit.ErrorHandlingVisitor
error, job, nf, ts
 
Constructor Summary
CastInsertionVisitor(polyglot.frontend.Job job, polyglot.types.TypeSystem ts, polyglot.ast.NodeFactory nf)
           
 
Method Summary
 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)
           
 
Methods inherited from class polyglot.visit.AscriptionVisitor
enterCall, pop, toType
 
Methods inherited from class polyglot.visit.ContextVisitor
addDecls, begin, context, context, enter, enterScope, leave, superEnter
 
Methods inherited from class polyglot.visit.ErrorHandlingVisitor
catchErrors, enterCall, enterError, errorQueue, job, leaveCall, nodeFactory, typeSystem
 
Methods inherited from class polyglot.visit.HaltingVisitor
bypass, bypass, bypassChildren, copy, override, visitChildren
 
Methods inherited from class polyglot.visit.NodeVisitor
enter, finish, finish, leave, override, toString, visitEdge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CastInsertionVisitor

public CastInsertionVisitor(polyglot.frontend.Job job,
                            polyglot.types.TypeSystem ts,
                            polyglot.ast.NodeFactory nf)
Method Detail

ascribe

public polyglot.ast.Expr ascribe(polyglot.ast.Expr e,
                                 polyglot.types.Type toType)

leaveCall

public polyglot.ast.Node leaveCall(polyglot.ast.Node old,
                                   polyglot.ast.Node n,
                                   polyglot.visit.NodeVisitor v)
                            throws polyglot.types.SemanticException
Throws:
polyglot.types.SemanticException