|
|||||||||
| Home >> All >> classgen >> [ syntax overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
classgen.syntax
Class Specification

java.lang.Objectclassgen.syntax.Specification
- All Implemented Interfaces:
- SyntaxNode
- public class Specification
- extends java.lang.Object
- implements SyntaxNode
- extends java.lang.Object
| Field Summary | |
private AttribDeclList |
attributes
|
private StringList |
classes
|
private MethodList |
methodList
|
private java.lang.String |
name
|
private StringList |
nonTerminals
|
private SyntaxNode |
parent
|
private ProductionList |
productions
|
| Constructor Summary | |
Specification(java.lang.String name,
AttribDeclList attributes,
ProductionList productions,
MethodList methodList)
|
|
| Method Summary | |
void |
accept(Visitor visitor)
|
void |
childrenAccept(Visitor visitor)
|
AttribDeclList |
getAttributes()
|
StringList |
getClasses()
|
MethodList |
getMethodList()
|
java.lang.String |
getName()
|
StringList |
getNonTerminals()
|
SyntaxNode |
getParent()
|
ProductionList |
getProductions()
|
void |
setAttributes(AttribDeclList attributes)
|
void |
setClasses(StringList classes)
|
void |
setMethodList(MethodList methodList)
|
void |
setName(java.lang.String name)
|
void |
setNonTerminals(StringList nonTerminals)
|
void |
setParent(SyntaxNode parent)
|
void |
setProductions(ProductionList productions)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
java.lang.String |
toString(java.lang.String tab)
|
void |
traverseBottomUp(Visitor visitor)
|
void |
traverseTopDown(Visitor visitor)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
parent
private SyntaxNode parent
name
private java.lang.String name
attributes
private AttribDeclList attributes
productions
private ProductionList productions
methodList
private MethodList methodList
nonTerminals
private StringList nonTerminals
classes
private StringList classes
| Constructor Detail |
Specification
public Specification(java.lang.String name, AttribDeclList attributes, ProductionList productions, MethodList methodList)
| Method Detail |
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getAttributes
public AttribDeclList getAttributes()
setAttributes
public void setAttributes(AttribDeclList attributes)
getProductions
public ProductionList getProductions()
setProductions
public void setProductions(ProductionList productions)
getMethodList
public MethodList getMethodList()
setMethodList
public void setMethodList(MethodList methodList)
getNonTerminals
public StringList getNonTerminals()
setNonTerminals
public void setNonTerminals(StringList nonTerminals)
getClasses
public StringList getClasses()
setClasses
public void setClasses(StringList classes)
getParent
public SyntaxNode getParent()
- Specified by:
getParentin interfaceSyntaxNode
setParent
public void setParent(SyntaxNode parent)
- Specified by:
setParentin interfaceSyntaxNode
accept
public void accept(Visitor visitor)
- Specified by:
acceptin interfaceSyntaxNode
childrenAccept
public void childrenAccept(Visitor visitor)
- Specified by:
childrenAcceptin interfaceSyntaxNode
traverseTopDown
public void traverseTopDown(Visitor visitor)
- Specified by:
traverseTopDownin interfaceSyntaxNode
traverseBottomUp
public void traverseBottomUp(Visitor visitor)
- Specified by:
traverseBottomUpin interfaceSyntaxNode
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
toString
public java.lang.String toString(java.lang.String tab)
|
|||||||||
| Home >> All >> classgen >> [ syntax overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
classgen.syntax.Specification