|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.concord.util.script.ScriptObject
|
+--org.concord.util.script.Statement
|
+--org.concord.util.script.ExtendsDeclaration
The extend statement allows a script to extend an existing java object. The statement evaluates an invocation expression that yields and object which is used as the base object. A method of the base object gets called whenever the interpreter fails to find a regular script method of the same name.
| 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 | |
ExtendsDeclaration(Script script)
|
|
| Method Summary | |
void |
delete()
|
void |
interpret()
This does nothing. |
void |
setExtendsExpression(InvocationExpression extend)
|
| 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, setSourceBounds |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExtendsDeclaration(Script script)
| Method Detail |
public void delete()
delete in class ScriptObjectpublic void setExtendsExpression(InvocationExpression extend)
public void interpret()
ScriptObjectinterpret in class Statement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||