|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rychlik.calculator.StackMachine.Call
public class StackMachine.Call
Describe class Call
here.
Field Summary | |
---|---|
int |
argbase
Describe variable argbase here. |
int |
nargs
Describe variable nargs here. |
int |
progbase
Describe variable progbase here. |
Constructor Summary | |
---|---|
StackMachine.Call(int progbase,
int argbase,
int nargs)
Creates a new Call instance. |
Method Summary | |
---|---|
int |
arity()
Describe arity method here. |
void |
execute()
Describe execute method here. |
void |
write(java.io.PrintStream out)
Describe write method here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int progbase
progbase
here.
public final int argbase
argbase
here.
public final int nargs
nargs
here.
Constructor Detail |
---|
public StackMachine.Call(int progbase, int argbase, int nargs)
Call
instance.
progbase
- an int
valueargbase
- an int
valuenargs
- an int
valueMethod Detail |
---|
public 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |