koala.dynamicjava.tree
Class FieldAccess

java.lang.Object
  extended by koala.dynamicjava.tree.Node
      extended by koala.dynamicjava.tree.Expression
          extended by koala.dynamicjava.tree.PrimaryExpression
              extended by koala.dynamicjava.tree.FieldAccess
All Implemented Interfaces:
LeftHandSide, SourceInfo.Wrapper
Direct Known Subclasses:
ObjectFieldAccess, SimpleFieldAccess, StaticFieldAccess, SuperFieldAccess

public abstract class FieldAccess
extends PrimaryExpression
implements LeftHandSide

This class represents the field access nodes of the syntax tree

Version:
1.0 - 1999/04/24
Author:
Stephane Hillion

Constructor Summary
protected FieldAccess(java.lang.String fln, SourceInfo si)
          Creates a new field access node
 
Method Summary
 java.lang.String getFieldName()
          Returns the field name
 void setFieldName(java.lang.String s)
          Sets the field name
 
Methods inherited from class koala.dynamicjava.tree.Node
acceptVisitor, archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldAccess

protected FieldAccess(java.lang.String fln,
                      SourceInfo si)
Creates a new field access node

Parameters:
fln - the field name
Throws:
java.lang.IllegalArgumentException - if fln is null
Method Detail

getFieldName

public java.lang.String getFieldName()
Returns the field name


setFieldName

public void setFieldName(java.lang.String s)
Sets the field name