coursesolutions
Class CourseProjectCodeGenVisitor

java.lang.Object
  extended by lab7.ReflectiveVisitor
      extended by lab7.NodeVisitor
          extended by coursesolutions.CourseProjectCodeGenVisitor

public class CourseProjectCodeGenVisitor
extends NodeVisitor


Field Summary
 
Fields inherited from class lab7.ReflectiveVisitor
debug
 
Constructor Summary
CourseProjectCodeGenVisitor()
           
 
Method Summary
 void defaultVisit(java.lang.Object o)
          Default visitation if nothing suitable is found
 void visit(AssignIsh a)
           
 void visit(ClassDeclaring c)
          This outputs a standard prelude, with the class extending Object, a dummy method for main(String[] args) that calls main431 Thus, your test file must have a static main431 to kick things off
 void visit(CompareIsh c)
           
 void visit(ComputeIsh c)
           
 void visit(ConstantProducing c)
           
 void visit(FieldReferencing fr)
           
 void visit(IfIsh ifish)
           
 void visit(InvokeIsh inv)
           
 void visit(LocalReferencing r)
           
 void visit(MethodDeclaring m)
           
 void visit(NullIsh n)
           
 void visit(ShortAndIsh soi)
           
 void visit(ShortOrIsh soi)
           
 void visit(StaticReferencing sr)
           
 void visit(ThisIsh t)
           
 void visit(WhileIsh wh)
           
 
Methods inherited from class lab7.NodeVisitor
err, err, out, out, setPrintStream
 
Methods inherited from class lab7.ReflectiveVisitor
dispatch, perform, performVisit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CourseProjectCodeGenVisitor

public CourseProjectCodeGenVisitor()
Method Detail

visit

public void visit(ClassDeclaring c)
This outputs a standard prelude, with the class extending Object, a dummy method for main(String[] args) that calls main431 Thus, your test file must have a static main431 to kick things off


visit

public void visit(LocalReferencing r)

visit

public void visit(ThisIsh t)

visit

public void visit(CompareIsh c)

visit

public void visit(AssignIsh a)

visit

public void visit(ShortOrIsh soi)

visit

public void visit(ShortAndIsh soi)

visit

public void visit(NullIsh n)

visit

public void visit(ConstantProducing c)

visit

public void visit(ComputeIsh c)

visit

public void visit(MethodDeclaring m)

visit

public void visit(FieldReferencing fr)

visit

public void visit(StaticReferencing sr)

visit

public void visit(WhileIsh wh)

visit

public void visit(IfIsh ifish)

visit

public void visit(InvokeIsh inv)

defaultVisit

public void defaultVisit(java.lang.Object o)
Description copied from class: NodeVisitor
Default visitation if nothing suitable is found

Overrides:
defaultVisit in class NodeVisitor