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