org.concord.util.script
Class BitNotExpression

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

public class BitNotExpression
extends UnaryExpression

The BitNotExpression class implements the semantic node for bitwise "not". It always takes an Integer arg and returns Integer. (Eventually it will handle Long and Short as well.)

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

Fields inherited from class org.concord.util.script.UnaryExpression
operand
 
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
BitNotExpression()
           
 
Method Summary
 java.lang.String operatorString()
           
 java.lang.Object unOp(java.lang.Object op)
           
 
Methods inherited from class org.concord.util.script.UnaryExpression
delete, getOperand, interpret, setOperand
 
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

BitNotExpression

public BitNotExpression()
Method Detail

unOp

public java.lang.Object unOp(java.lang.Object op)
Overrides:
unOp in class UnaryExpression

operatorString

public java.lang.String operatorString()
Overrides:
operatorString in class UnaryExpression