EOS 2
1.1.0
Einfache Objektbasierte Sprache
EosVM
src
de
lathanda
eos
vm
commands
UserFunction.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.Machine;
5
12
public
class
UserFunction
extends
Command
{
13
private
final
String signature;
14
15
public
UserFunction
(String signature) {
16
this.signature = signature;
17
}
18
19
@Override
20
public
boolean
execute
(
Machine
m)
throws
Exception {
21
m.call(signature);
22
return
true
;
23
}
24
25
@Override
26
public
String
toString
() {
27
return
"UserFunction{"
+ signature +
'}'
;
28
}
29
30
}
de.lathanda.eos.vm.Command
Definition:
Command.java:9
de.lathanda.eos.vm.Machine
Definition:
Machine.java:19
de.lathanda.eos.vm.commands.UserFunction
Definition:
UserFunction.java:12
de.lathanda.eos.vm.commands.UserFunction.UserFunction
UserFunction(String signature)
Definition:
UserFunction.java:15
de.lathanda.eos.vm.commands.UserFunction.execute
boolean execute(Machine m)
Definition:
UserFunction.java:20
de.lathanda.eos.vm.commands.UserFunction.toString
String toString()
Definition:
UserFunction.java:26
Impressum