Holds an Object constant, as set by the parser.
Considered allowing the user to "quote" a literal Op ,
for example:
Look for a null element in a List using "existsMethod(Op)"
(getList (existsMethod (quote (isNull))))
However, this would make it awkward to create a bytecode translator,
since the sub-Op would need to exist as a separate
Op instance.
One can still get this effect by using GetOp , for example:
op1 = (getList (existsMethod (get "myElemChecker")))
op2 = (isNull)
op1.setConst("myElemChecker", op2);
but this means that "all", "empty", and "exists" need to remain as
language-internal Op s.
|