sealed abstract class StackInterpreter extends AnyRef
Created by chris on 1/6/16. Stack operations implemented in the script programming language https://en.bitcoin.it/wiki/Script#Stack
- Alphabetic
- By Inheritance
- StackInterpreter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def op2Drop(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Removes the top two stack items.
- def op2Dup(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Duplicates the top two stack items.
- def op2Over(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Copies the pair of items two spaces back in the stack to the front.
- def op2Rot(program: ExecutionInProgressScriptProgram): StartedScriptProgram
The fifth and sixth items back are moved to the top of the stack.
The fifth and sixth items back are moved to the top of the stack. Ex. x1 x2 x3 x4 x5 x6 -> x3 x4 x5 x6 x1 x2
- def op2Swap(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Swaps the top two pairs of items.
- def op3Dup(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Duplicates the top three stack items.
- def opDepth(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Puts the number of stack items onto the stack.
- def opDrop(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Removes the top stack item.
- def opDup(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Duplicates the element on top of the stack expects the first element in script to be the OP_DUP operation.
- def opFromAltStack(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Puts the input onto the top of the main stack.
Puts the input onto the top of the main stack. Removes it from the alt stack.
- def opIfDup(program: ExecutionInProgressScriptProgram): StartedScriptProgram
If the top stack value is not 0, duplicate it.
- def opNip(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Removes the second-to-top stack item.
- def opOver(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Copies the second-to-top stack item to the top.
- def opPick(program: ExecutionInProgressScriptProgram): StartedScriptProgram
The item n back in the stack is copied to the top.
- def opRoll(program: ExecutionInProgressScriptProgram): StartedScriptProgram
The item n back in the stack is moved to the top.
- def opRot(program: ExecutionInProgressScriptProgram): StartedScriptProgram
The top three items on the stack are rotated to the left.
The top three items on the stack are rotated to the left. Ex: x1 x2 x3 -> x2 x3 x1
- def opSwap(program: ExecutionInProgressScriptProgram): StartedScriptProgram
The top two items on the stack are swapped.
- def opToAltStack(program: ExecutionInProgressScriptProgram): StartedScriptProgram
Puts the input onto the top of the alt stack.
Puts the input onto the top of the alt stack. Removes it from the main stack.
- def opTuck(program: ExecutionInProgressScriptProgram): StartedScriptProgram
The item at the top of the stack is copied and inserted before the second-to-top item.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()