org.concord.util.script
Class AssignmentStatement

java.lang.Object
  |
  +--org.concord.util.script.ScriptObject
        |
        +--org.concord.util.script.Statement
              |
              +--org.concord.util.script.AssignmentStatement
All Implemented Interfaces:
java.beans.BeanInfo

public class AssignmentStatement
extends Statement


Field Summary
protected  Expression expression
           
protected  ReferenceExpression reference
           
 
Fields inherited from class org.concord.util.script.Statement
empty
 
Fields inherited from class org.concord.util.script.ScriptObject
beginColumn, beginLine, debug, deleted, doConversion, endColumn, endLine, name, nil, runtimeTable, script
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
AssignmentStatement()
           
 
Method Summary
 void delete()
           
 Expression getExpression()
           
 ReferenceExpression getReference()
           
 void interpret()
          This does nothing.
 void setExpression(Expression expr)
           
 void setReference(ReferenceExpression ref)
           
 void setSourceBounds(TextBounds bounds)
           
 
Methods inherited from class org.concord.util.script.Statement
getLocals
 
Methods inherited from class org.concord.util.script.ScriptObject
findConstructor, findMethod, getAdditionalBeanInfo, getArrayValue, getAtom, getBeanDescriptor, getCurrentFrame, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getField, getFieldValue, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, getScript, popFrame, pushFrame, setArrayValue, setCurrentFrame, setFieldValue, setName, setScript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expression

protected Expression expression

reference

protected ReferenceExpression reference
Constructor Detail

AssignmentStatement

public AssignmentStatement()
Method Detail

setSourceBounds

public void setSourceBounds(TextBounds bounds)
Overrides:
setSourceBounds in class ScriptObject

delete

public void delete()
Overrides:
delete in class ScriptObject

getReference

public ReferenceExpression getReference()

getExpression

public Expression getExpression()

setReference

public void setReference(ReferenceExpression ref)

setExpression

public void setExpression(Expression expr)

interpret

public void interpret()
Description copied from class: ScriptObject
This does nothing. Maybe should be abstract?
Overrides:
interpret in class Statement