org.concord.util.script
Class VariableDeclaration

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

public class VariableDeclaration
extends Statement


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
VariableDeclaration()
           
 
Method Summary
 java.lang.Object getValue()
           
 void interpret()
          This does nothing.
 boolean isGlobal()
           
 void setInitializer(Expression expression)
           
 void setType(java.lang.String typeName)
           
 void setValue(java.lang.Object val)
           
 
Methods inherited from class org.concord.util.script.Statement
getLocals
 
Methods inherited from class org.concord.util.script.ScriptObject
delete, findConstructor, findMethod, getAdditionalBeanInfo, getArrayValue, getAtom, getBeanDescriptor, getCurrentFrame, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getField, getFieldValue, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, getScript, popFrame, pushFrame, setArrayValue, setCurrentFrame, setFieldValue, setName, setScript, setSourceBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableDeclaration

public VariableDeclaration()
Method Detail

setInitializer

public void setInitializer(Expression expression)

setType

public void setType(java.lang.String typeName)

isGlobal

public boolean isGlobal()

setValue

public void setValue(java.lang.Object val)

getValue

public java.lang.Object getValue()

interpret

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