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

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.Print
                      extended by edu.neu.ccs.demeterf.demfgen.dgp.PrintToString

public class PrintToString
extends Print


Field Summary
 
Fields inherited from class edu.neu.ccs.demeterf.FC
augMethodName, buildMethodName
 
Constructor Summary
PrintToString()
           
 
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
 boolean override()
          Needed for C#: Does this generated Method override something in Object? E.g., toString() does, but print() does not.
 
Methods inherited from class edu.neu.ccs.demeterf.demfgen.dgp.Print
primitive, stubMethodBody
 
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, startArgument, stubMethod, stubMethodName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintToString

public PrintToString()
Method Detail

functionObj

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

Overrides:
functionObj in class Print

docComment

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

Overrides:
docComment in class Print

override

public boolean override()
Description copied from class: DGPFunc
Needed for C#: Does this generated Method override something in Object? E.g., toString() does, but print() does not.

Overrides:
override 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