org.concord.util.script
Class ExponentExpression

java.lang.Object
  |
  +--org.concord.util.script.ScriptObject
        |
        +--org.concord.util.script.Expression
              |
              +--org.concord.util.script.BinaryExpression
                    |
                    +--org.concord.util.script.ExponentExpression
All Implemented Interfaces:
java.beans.BeanInfo

public class ExponentExpression
extends BinaryExpression

The ExponentExpression class implements the semantic node for exponentiation.

Version:
$Revision: 1.2 $ $Date: 2001/08/31 15:45:33 $
Author:
$Author: ed $

Fields inherited from class org.concord.util.script.BinaryExpression
args, ops
 
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
ExponentExpression()
           
 
Method Summary
 java.lang.Object binOp(java.lang.Object op1, java.lang.Object op2)
          This method should be overridden by a derived class.
 
Methods inherited from class org.concord.util.script.BinaryExpression
addOperand, addOperation, delete, interpret, operatorString
 
Methods inherited from class org.concord.util.script.Expression
interpret, toString
 
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, setSourceBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExponentExpression

public ExponentExpression()
Method Detail

binOp

public java.lang.Object binOp(java.lang.Object op1,
                              java.lang.Object op2)
Description copied from class: BinaryExpression
This method should be overridden by a derived class. (Maybe this method should be abstract.)
Overrides:
binOp in class BinaryExpression