EOS 2
1.1.0
Einfache Objektbasierte Sprache
EosVM
src
de
lathanda
eos
vm
commands
UserMethod.java
gehe zur Dokumentation dieser Datei
1
package
de.lathanda.eos.vm.commands;
2
3
import
de.lathanda.eos.vm.Command;
4
import
de.lathanda.eos.vm.MProcedure;
5
import
de.lathanda.eos.vm.Machine;
6
14
public
class
UserMethod
extends
Command
{
15
private
final
MProcedure
method;
16
17
public
UserMethod
(
MProcedure
method) {
18
this.method = method;
19
}
20
21
@Override
22
public
boolean
execute
(
Machine
m)
throws
Exception {
23
m.call(method);
24
return
true
;
25
}
26
}
de.lathanda.eos.vm.Command
Definition:
Command.java:9
de.lathanda.eos.vm.MProcedure
Definition:
MProcedure.java:5
de.lathanda.eos.vm.Machine
Definition:
Machine.java:19
de.lathanda.eos.vm.commands.UserMethod
Definition:
UserMethod.java:14
de.lathanda.eos.vm.commands.UserMethod.execute
boolean execute(Machine m)
Definition:
UserMethod.java:22
de.lathanda.eos.vm.commands.UserMethod.UserMethod
UserMethod(MProcedure method)
Definition:
UserMethod.java:17
Impressum