edu.neu.ccs.demeterf.demfgen.dgp
Class PrintHeap

java.lang.Object
  extended by edu.neu.ccs.demeterf.FC
      extended by edu.neu.ccs.demeterf.demfgen.dgp.DGPFunc
          extended by edu.neu.ccs.demeterf.demfgen.dgp.TravGeneric
              extended by edu.neu.ccs.demeterf.demfgen.dgp.Concrete
                  extended by edu.neu.ccs.demeterf.demfgen.dgp.PrintHeap
Direct Known Subclasses:
PrintHeapToString

public class PrintHeap
extends Concrete


Field Summary
 
Fields inherited from class edu.neu.ccs.demeterf.FC
augMethodName, buildMethodName
 
Constructor Summary
PrintHeap()
           
 
Method Summary
 java.lang.String docComment()
          Documentation comment to be placed above the Class definition
 FC functionObj()
          The function object responsible for function generation
 java.lang.String methodName()
          Returns the name of the Method to be added to each generated class
 java.lang.String primitive(java.lang.String p)
           
 java.lang.String stubMethodBody()
          The body of the method stub.
 
Methods inherited from class edu.neu.ccs.demeterf.demfgen.dgp.Concrete
combine, combine, combine, combine, combine, combine, combine, combine, combine, combine, combine, genericInst, wrapStr
 
Methods inherited from class edu.neu.ccs.demeterf.demfgen.dgp.TravGeneric
builtin, combine, combine, combine, combine, combine, combine, combine, control, fileClosing, fileOpening, finish, isAbstract, realControl, recur, superClass, typeargs
 
Methods inherited from class edu.neu.ccs.demeterf.demfgen.dgp.DGPFunc
argument, baseControl, builtins, fileName, fileSuffix, hasArgument, header, method, methodBody, methodReturn, override, startArgument, stubMethod, stubMethodName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintHeap

public PrintHeap()
Method Detail

functionObj

public FC functionObj()
Description copied from class: DGPFunc
The function object responsible for function generation

Specified by:
functionObj in class Concrete

docComment

public java.lang.String docComment()
Description copied from class: DGPFunc
Documentation comment to be placed above the Class definition

Specified by:
docComment in class DGPFunc

primitive

public java.lang.String primitive(java.lang.String p)
Specified by:
primitive in class TravGeneric

stubMethodBody

public java.lang.String stubMethodBody()
Description copied from class: DGPFunc
The body of the method stub. Usually just create a new traversal with a new instace of the generated class (this), returning the traversal result.

Overrides:
stubMethodBody in class DGPFunc

methodName

public java.lang.String methodName()
Description copied from class: DGPFunc
Returns the name of the Method to be added to each generated class

Overrides:
methodName in class DGPFunc