|
||||||||||
| 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.Expression
koala.dynamicjava.tree.PrimaryExpression
koala.dynamicjava.tree.FieldAccess
koala.dynamicjava.tree.SuperFieldAccess
public class SuperFieldAccess
This class represents the super field access nodes of the syntax tree
| Constructor Summary | |
|---|---|
SuperFieldAccess(Option<java.lang.String> cn,
java.lang.String fln)
|
|
SuperFieldAccess(Option<java.lang.String> cn,
java.lang.String fln,
SourceInfo si)
|
|
| Method Summary | ||
|---|---|---|
|
acceptVisitor(Visitor<T> visitor)
Allows a visitor to traverse the tree |
|
Option<java.lang.String> |
getClassName()
Returns the name of the class that qualify that object |
|
void |
setClassName(Option<java.lang.String> cn)
Sets the name of the class that qualifies that object |
|
java.lang.String |
toString()
Implementation of toString for use in unit testing |
|
| Methods inherited from class koala.dynamicjava.tree.FieldAccess |
|---|
getFieldName, setFieldName |
| 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 SuperFieldAccess(Option<java.lang.String> cn,
java.lang.String fln,
SourceInfo si)
public SuperFieldAccess(Option<java.lang.String> cn,
java.lang.String fln)
| Method Detail |
|---|
public Option<java.lang.String> getClassName()
public void setClassName(Option<java.lang.String> cn)
java.lang.IllegalArgumentException - if s is null or body is nullpublic <T> T acceptVisitor(Visitor<T> visitor)
acceptVisitor in class Nodevisitor - the visitor to acceptpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||