public class StackMachine.Call extends java.lang.Object implements StackMachine.Instruction, java.io.Serializable
Call
here.Modifier and Type | Field and Description |
---|---|
int |
argbase
Describe variable
argbase here. |
int |
nargs
Describe variable
nargs here. |
int |
progbase
Describe variable
progbase here. |
Constructor and Description |
---|
StackMachine.Call(int progbase,
int argbase,
int nargs)
Creates a new
Call instance. |
public final int progbase
progbase
here.public final int argbase
argbase
here.public final int nargs
nargs
here.public StackMachine.Call(int progbase, int argbase, int nargs)
Call
instance.progbase
- an int
valueargbase
- an int
valuenargs
- an int
valuepublic int arity()
arity
method here.arity
in interface StackMachine.Instruction
int
valuepublic void execute() throws ParseException
execute
method here.execute
in interface StackMachine.Instruction
ParseException
- if an error occurspublic void write(java.io.PrintStream out)
write
method here.write
in interface StackMachine.Instruction
out
- a PrintStream
value