code.lang
Class FindallModule
java.lang.Object
code.modules.CurryModule
code.lang.FindallModule
public class FindallModule
- extends CurryModule
This class implements the findall and findnext operations.
- Author:
- Khai Pham
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
moduleName
public static final java.lang.String moduleName
- See Also:
- Constant Field Values
findallName
public static final java.lang.String findallName
- This instruction initiates a findall search operation. The operation
works as follows: The current term's argument, of type (a->Success),
is bound to a variable. A client is created to capture the results
of the computation and return instantiations of the bound variable
one at a time, with successive results encoded in findNext terms.
- See Also:
- Constant Field Values
findallType
private static final TypeExpression findallType
findallCode
private static final Instruction[] findallCode
findallOperation
private static OperationSymbol findallOperation
FindallModule
public FindallModule()
createSymbols
private static java.util.Vector createSymbols()