|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.neu.ccs.demeterf.demfgen.classes.ImportList edu.neu.ccs.demeterf.demfgen.classes.ImportCons
public class ImportCons
Representation of ImportCons
Nested Class Summary | |
---|---|
static class |
ImportCons.first
Field Class for ImportCons.first |
static class |
ImportCons.rest
Field Class for ImportCons.rest |
Constructor Summary | |
---|---|
ImportCons(Import first,
ImportList rest)
Construct a(n) ImportCons Instance |
Method Summary | |
---|---|
ImportList |
append(ImportList l)
|
boolean |
equals(java.lang.Object o)
Is the given object Equal to this ImportCons? |
Import |
getFirst()
Getter for field ImportCons.first |
ImportList |
getRest()
Getter for field ImportCons.rest |
static ImportCons |
parse(java.io.InputStream inpt)
Parse an instance of ImportCons from the given Stream |
static ImportCons |
parse(java.io.Reader inpt)
Parse an instance of ImportCons from the given Reader |
static ImportCons |
parse(java.lang.String inpt)
Parse an instance of ImportCons from the given String |
java.lang.String |
print()
DGP method from Class Print |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImportCons(Import first, ImportList rest)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static ImportCons parse(java.lang.String inpt) throws ParseException
ParseException
public static ImportCons parse(java.io.InputStream inpt) throws ParseException
ParseException
public static ImportCons parse(java.io.Reader inpt) throws ParseException
ParseException
public ImportList append(ImportList l)
append
in class ImportList
public java.lang.String toString()
toString
in class ImportList
public java.lang.String print()
print
in class ImportList
public ImportList getRest()
public Import getFirst()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |