edu.neu.ccs.demeterf.demfgen.classes
Class FieldList

java.lang.Object
  extended by edu.neu.ccs.demeterf.demfgen.classes.FieldList
Direct Known Subclasses:
FieldCons, FieldEmpty

public abstract class FieldList
extends java.lang.Object

Representation of FieldList


Constructor Summary
FieldList()
          Construct a(n) FieldList Instance
 
Method Summary
abstract  FieldList append(FieldList l)
           
abstract  FieldList append(List<FieldOrSyntax> l)
           
abstract  boolean isEmpty()
           
abstract  List<Field> justFields()
           
static FieldList parse(java.io.InputStream inpt)
          Parse an instance of FieldList from the given Stream
static FieldList parse(java.io.Reader inpt)
          Parse an instance of FieldList from the given Reader
static FieldList parse(java.lang.String inpt)
          Parse an instance of FieldList from the given String
 java.lang.String print()
          DGP method from Class Print
 FieldList push(FieldOrSyntax f)
           
abstract  List<FieldOrSyntax> toList()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldList

public FieldList()
Construct a(n) FieldList Instance

Method Detail

parse

public static FieldList parse(java.lang.String inpt)
                       throws ParseException
Parse an instance of FieldList from the given String

Throws:
ParseException

parse

public static FieldList parse(java.io.InputStream inpt)
                       throws ParseException
Parse an instance of FieldList from the given Stream

Throws:
ParseException

parse

public static FieldList parse(java.io.Reader inpt)
                       throws ParseException
Parse an instance of FieldList from the given Reader

Throws:
ParseException

justFields

public abstract List<Field> justFields()

toList

public abstract List<FieldOrSyntax> toList()

append

public abstract FieldList append(FieldList l)

append

public abstract FieldList append(List<FieldOrSyntax> l)

isEmpty

public abstract boolean isEmpty()

push

public FieldList push(FieldOrSyntax f)

print

public java.lang.String print()
DGP method from Class Print