edu.neu.ccs.demeter.aplib.cd
Class ClassDef

java.lang.Object
  |
  +--edu.neu.ccs.demeter.aplib.cd.ClassGraphEntry
        |
        +--edu.neu.ccs.demeter.aplib.cd.Definition
              |
              +--edu.neu.ccs.demeter.aplib.cd.ClassDef

public class ClassDef
extends edu.neu.ccs.demeter.aplib.cd.Definition


Field Summary
protected  edu.neu.ccs.demeter.aplib.cd.ClassParts classparts
           
protected  EOFtoken eoftoken
           
protected  edu.neu.ccs.demeter.aplib.cd.ClassKeyword_List keywords
           
protected  edu.neu.ccs.demeter.aplib.cd.ParamClassName paramclassname
           
protected  edu.neu.ccs.demeter.aplib.cd.ParseDirective parsedirective
           
 
Constructor Summary
ClassDef()
           
ClassDef(edu.neu.ccs.demeter.aplib.cd.ClassKeyword_List keywords, edu.neu.ccs.demeter.aplib.cd.ParamClassName paramclassname, edu.neu.ccs.demeter.aplib.cd.ParseDirective parsedirective, edu.neu.ccs.demeter.aplib.cd.ClassParts classparts, EOFtoken eoftoken)
           
 
Method Summary
 void __trav_addAlternation(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_addAlternation __v0)
           
 void __trav_addInterface(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_addInterface __v0)
           
 void __trav_addPart(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_addPart __v0)
           
 void __trav_addSuperclass(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_addSuperclass __v0)
           
 void __trav_get_parameters(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_get_parameters __v0)
           
 void __trav_get_superclass_name(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_get_superclass_name __v0)
           
 void __trav_getClassType(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_getClassType __v0)
           
 void __trav_printTraversalEdges(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_printTraversalEdges __v0)
           
 void allEdges(EdgeVisitor v)
           
 void allParts(PartVisitor v)
           
 void allSyntax(SyntaxVisitor __v0)
           
 edu.neu.ccs.demeter.aplib.cd.ClassName get_classname()
           
 edu.neu.ccs.demeter.aplib.cd.ClassParts get_classparts()
           
 EOFtoken get_eoftoken()
           
 edu.neu.ccs.demeter.aplib.cd.ClassKeyword_List get_keywords()
           
 edu.neu.ccs.demeter.aplib.cd.ParamClassName get_paramclassname()
           
 edu.neu.ccs.demeter.aplib.cd.ParseDirective get_parsedirective()
           
 ClassDef get_superclass_def()
           
 boolean isAlternationClass()
           
 boolean isConstructionClass()
           
 boolean isFinal()
           
 boolean isInterface()
           
 boolean isNotParsed()
           
 boolean isPublic()
           
 boolean isRepetitionClass()
           
 boolean isVisitor()
           
static ClassDef parse(InputStream in)
           
static ClassDef parse(Reader in)
           
static ClassDef parse(String s)
           
 void set_classparts(edu.neu.ccs.demeter.aplib.cd.ClassParts new_classparts)
           
 void set_eoftoken(EOFtoken new_eoftoken)
           
 void set_keywords(edu.neu.ccs.demeter.aplib.cd.ClassKeyword_List new_keywords)
           
 void set_paramclassname(edu.neu.ccs.demeter.aplib.cd.ParamClassName new_paramclassname)
           
 void set_parsedirective(edu.neu.ccs.demeter.aplib.cd.ParseDirective new_parsedirective)
           
 void toAll(edu.neu.ccs.demeter.aplib.cd.UniversalVisitor v)
           
 void toClassName(ClassNameAccessor v)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

keywords

protected edu.neu.ccs.demeter.aplib.cd.ClassKeyword_List keywords

paramclassname

protected edu.neu.ccs.demeter.aplib.cd.ParamClassName paramclassname

parsedirective

protected edu.neu.ccs.demeter.aplib.cd.ParseDirective parsedirective

classparts

protected edu.neu.ccs.demeter.aplib.cd.ClassParts classparts

eoftoken

protected EOFtoken eoftoken
Constructor Detail

ClassDef

public ClassDef()

ClassDef

public ClassDef(edu.neu.ccs.demeter.aplib.cd.ClassKeyword_List keywords,
                edu.neu.ccs.demeter.aplib.cd.ParamClassName paramclassname,
                edu.neu.ccs.demeter.aplib.cd.ParseDirective parsedirective,
                edu.neu.ccs.demeter.aplib.cd.ClassParts classparts,
                EOFtoken eoftoken)
Method Detail

get_keywords

public edu.neu.ccs.demeter.aplib.cd.ClassKeyword_List get_keywords()

set_keywords

public void set_keywords(edu.neu.ccs.demeter.aplib.cd.ClassKeyword_List new_keywords)

get_paramclassname

public edu.neu.ccs.demeter.aplib.cd.ParamClassName get_paramclassname()

set_paramclassname

public void set_paramclassname(edu.neu.ccs.demeter.aplib.cd.ParamClassName new_paramclassname)

get_parsedirective

public edu.neu.ccs.demeter.aplib.cd.ParseDirective get_parsedirective()

set_parsedirective

public void set_parsedirective(edu.neu.ccs.demeter.aplib.cd.ParseDirective new_parsedirective)

get_classparts

public edu.neu.ccs.demeter.aplib.cd.ClassParts get_classparts()

set_classparts

public void set_classparts(edu.neu.ccs.demeter.aplib.cd.ClassParts new_classparts)

get_eoftoken

public EOFtoken get_eoftoken()

set_eoftoken

public void set_eoftoken(EOFtoken new_eoftoken)

parse

public static ClassDef parse(Reader in)
                      throws ParseException
ParseException

parse

public static ClassDef parse(InputStream in)
                      throws ParseException
ParseException

parse

public static ClassDef parse(String s)

get_classname

public edu.neu.ccs.demeter.aplib.cd.ClassName get_classname()

isConstructionClass

public boolean isConstructionClass()

isAlternationClass

public boolean isAlternationClass()

isRepetitionClass

public boolean isRepetitionClass()

isPublic

public boolean isPublic()

isFinal

public boolean isFinal()

isInterface

public boolean isInterface()

isNotParsed

public boolean isNotParsed()

isVisitor

public boolean isVisitor()

get_superclass_def

public ClassDef get_superclass_def()

toString

public String toString()
Overrides:
toString in class Object

toClassName

public void toClassName(ClassNameAccessor v)

allParts

public void allParts(PartVisitor v)

allSyntax

public void allSyntax(SyntaxVisitor __v0)

allEdges

public void allEdges(EdgeVisitor v)

toAll

public void toAll(edu.neu.ccs.demeter.aplib.cd.UniversalVisitor v)

__trav_addPart

public void __trav_addPart(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_addPart __v0)

__trav_addAlternation

public void __trav_addAlternation(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_addAlternation __v0)

__trav_addSuperclass

public void __trav_addSuperclass(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_addSuperclass __v0)

__trav_addInterface

public void __trav_addInterface(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_addInterface __v0)

__trav_printTraversalEdges

public void __trav_printTraversalEdges(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_printTraversalEdges __v0)

__trav_get_parameters

public void __trav_get_parameters(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_get_parameters __v0)

__trav_getClassType

public void __trav_getClassType(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_getClassType __v0)

__trav_get_superclass_name

public void __trav_get_superclass_name(edu.neu.ccs.demeter.aplib.cd.__V_ClassDef_get_superclass_name __v0)