Tue 27 Aug 00:14:56 CEST 2024
This commit is contained in:
parent
ae015f2c1a
commit
83ffbbf7ec
16
test/test-code1.js
Normal file
16
test/test-code1.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
function foo () {
|
||||
this.data=null;
|
||||
this.goto=null;
|
||||
this.act = {
|
||||
main: function () { log(this.data===null)},
|
||||
end: function () { kill()},
|
||||
}
|
||||
this.trans = {
|
||||
main:end
|
||||
}
|
||||
this.next=main
|
||||
}
|
||||
compile(foo,{verbose:1})
|
||||
var ag = create('foo');
|
||||
print(agent(ag))
|
||||
start()
|
Loading…
Reference in New Issue
Block a user