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

java.lang.Object
  extended by edu.neu.ccs.demeterf.demfgen.classes.FieldOrSyntax
      extended by edu.neu.ccs.demeterf.demfgen.classes.Syntax
Direct Known Subclasses:
AddLine, AddSpace, AddTab, AddToken, Minus, Plus, TheEOF

public abstract class Syntax
extends FieldOrSyntax

Representation of Syntax


Constructor Summary
Syntax()
          Construct a(n) Syntax Instance
 
Method Summary
 boolean isSyntax()
           
static Syntax parse(java.io.InputStream inpt)
          Parse an instance of Syntax from the given Stream
static Syntax parse(java.io.Reader inpt)
          Parse an instance of Syntax from the given Reader
static Syntax parse(java.lang.String inpt)
          Parse an instance of Syntax from the given String
 java.lang.String print()
          DGP method from Class Print
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Syntax

public Syntax()
Construct a(n) Syntax Instance

Method Detail

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

isSyntax

public boolean isSyntax()
Specified by:
isSyntax in class FieldOrSyntax

print

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

Overrides:
print in class FieldOrSyntax