|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkoala.dynamicjava.tree.Node
koala.dynamicjava.tree.TypeName
koala.dynamicjava.tree.ReferenceTypeName
koala.dynamicjava.tree.tiger.HookTypeName
public class HookTypeName
This class represents the HookTypeName (?) nodes of the syntax tree
| Constructor Summary | |
|---|---|
HookTypeName(Option<TypeName> up,
Option<TypeName> low)
Initializes the type |
|
HookTypeName(Option<TypeName> up,
Option<TypeName> low,
SourceInfo si)
Initializes the type |
|
| Method Summary | ||
|---|---|---|
|
acceptVisitor(Visitor<T> visitor)
Allows a visitor to traverse the tree |
|
Option<TypeName> |
getLowerBound()
|
|
Option<TypeName> |
getUpperBound()
|
|
java.lang.String |
toString()
Implementation of toString for use in unit testing |
|
protected java.lang.String |
toStringHelper()
|
|
| Methods inherited from class koala.dynamicjava.tree.ReferenceTypeName |
|---|
getIdentifiers, getRepresentation, setIdentifiers |
| Methods inherited from class koala.dynamicjava.tree.Node |
|---|
archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HookTypeName(Option<TypeName> up,
Option<TypeName> low)
up - the upper boundlow - the lower bound
java.lang.IllegalArgumentException - if type is null
public HookTypeName(Option<TypeName> up,
Option<TypeName> low,
SourceInfo si)
up - the upper boundlow - the lower bound
java.lang.IllegalArgumentException - if type is null| Method Detail |
|---|
public Option<TypeName> getUpperBound()
public Option<TypeName> getLowerBound()
public <T> T acceptVisitor(Visitor<T> visitor)
acceptVisitor in class ReferenceTypeNamevisitor - the visitor to acceptpublic java.lang.String toString()
toString in class ReferenceTypeNameprotected java.lang.String toStringHelper()
toStringHelper in class ReferenceTypeName
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||