|
|||||||||
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.FieldOrSyntax edu.neu.ccs.demeterf.demfgen.classes.Field
public class Field
Representation of Field
Nested Class Summary | |
---|---|
static class |
Field.name
Field Class for Field.name |
static class |
Field.type
Field Class for Field.type |
Constructor Summary | |
---|---|
Field(ident name,
TypeUse type)
Construct a(n) Field Instance |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Is the given object Equal to this Field? |
ident |
getName()
Getter for field Field.name |
TypeUse |
getType()
Getter for field Field.type |
boolean |
isSyntax()
|
static Field |
parse(java.io.InputStream inpt)
Parse an instance of Field from the given Stream |
static Field |
parse(java.io.Reader inpt)
Parse an instance of Field from the given Reader |
static Field |
parse(java.lang.String inpt)
Parse an instance of Field from the given String |
java.lang.String |
print()
DGP method from Class Print |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Field(ident name, TypeUse type)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static Field parse(java.lang.String inpt) throws ParseException
ParseException
public static Field parse(java.io.InputStream inpt) throws ParseException
ParseException
public static Field parse(java.io.Reader inpt) throws ParseException
ParseException
public boolean isSyntax()
isSyntax
in class FieldOrSyntax
public java.lang.String print()
print
in class FieldOrSyntax
public TypeUse getType()
public ident getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |