Package convex.core.lang.ops
Class Invoke<T extends ACell>
java.lang.Object
convex.core.data.AObject
convex.core.data.ACell
convex.core.lang.AOp<T>
convex.core.lang.ops.AMultiOp<T>
convex.core.lang.ops.Invoke<T>
- Type Parameters:
T
- Result type of Op
- All Implemented Interfaces:
IValidated
,IWriteable
Op representing the invocation of a function.
The first child Op identifies the function to be called, the remaining ops
are arguments.
-
Field Summary
Fields inherited from class convex.core.data.ACell
cachedRef, EMPTY_ARRAY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecutes this op with the given context.byte
opCode()
Returns the opcode for this opvoid
print(StringBuilder sb)
Prints this Object to a readable String Representationread(ByteBuffer bb)
Recreates this object with an updated list of child Ops.Methods inherited from class convex.core.lang.ops.AMultiOp
encodeRaw, estimatedEncodingSize, getRef, getRefCount, updateRefs, validateCell
Methods inherited from class convex.core.lang.AOp
encode, getTag, getType, isCanonical, isCVMValue, toCanonical
Methods inherited from class convex.core.data.ACell
announce, announce, attachMemorySize, attachRef, cachedEncoding, cachedHash, calcMemorySize, createAnnounced, createEncoding, createPersisted, createPersisted, createRef, equals, equals, getChildRefs, getEncoding, getEncodingLength, getHash, getMemorySize, getRef, hashCode, isEmbedded, toString, validate, write
Methods inherited from class convex.core.data.AObject
attachEncoding, print
-
Constructor Details
-
Invoke
-
-
Method Details
-
create
-
create
-
create
-
recreate
Description copied from class:AMultiOp
Recreates this object with an updated list of child Ops. -
create
-
execute
Description copied from class:AOp
Executes this op with the given context. Must preserve depth unless an exceptional is returned. -
print
Description copied from class:AObject
Prints this Object to a readable String Representation -
opCode
public byte opCode()Description copied from class:AOp
Returns the opcode for this op -
read
- Throws:
BadFormatException
-