org.hecl
Interface ClassCommand
-
- All Known Implementing Classes:
- AnonProc, HeclStreamCmds, JavaCmd
public interface ClassCommandTheClassCommandinterface is the template for all commands implemented in Java working on HeclObjectThing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Thingmethod(Interp interp, ClassCommandInfo context, Thing[] argv)Themethodmethod takes an interpreter, a class information and an array of Things, performs some calculations, and returns aThingwhich may benull.
-
-
-
Method Detail
-
method
Thing method(Interp interp, ClassCommandInfo context, Thing[] argv) throws HeclException
Themethodmethod takes an interpreter, a class information and an array of Things, performs some calculations, and returns aThingwhich may benull. The interpreter calls this method when it detects anObjectThingas first argument of a command on the script level and detects a command handler for the class of the value of theObjectThing.- Parameters:
interp- anInterpvaluecontext- A reference to theClassInfo>describing further details of th emethod.argv- AThing[]array holding the parameters for the method. The 0th element is the object, the 1st element is the method.- Throws:
HeclException- if an error occurs
-
-
DataMelt 3.0 © DataMelt by jWork.ORG