mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
Add function references
This commit is contained in:
parent
5e7ac83854
commit
6e5cbf9e7e
12 changed files with 245 additions and 49 deletions
123
test/tests/function reference call.lua
Normal file
123
test/tests/function reference call.lua
Normal file
|
|
@ -0,0 +1,123 @@
|
|||
local _={}
|
||||
_[55]={}
|
||||
_[54]={}
|
||||
_[53]={}
|
||||
_[52]={}
|
||||
_[51]={}
|
||||
_[50]={}
|
||||
_[49]={}
|
||||
_[48]={}
|
||||
_[47]={}
|
||||
_[46]={}
|
||||
_[45]={}
|
||||
_[44]={}
|
||||
_[43]={}
|
||||
_[42]={}
|
||||
_[41]={}
|
||||
_[40]={}
|
||||
_[39]={}
|
||||
_[38]={}
|
||||
_[37]={text="8",tags=_[55]}
|
||||
_[36]={text="8: ",tags=_[54]}
|
||||
_[35]={text="7",tags=_[53]}
|
||||
_[34]={text="7: ",tags=_[52]}
|
||||
_[33]={text="13",tags=_[51]}
|
||||
_[32]={text="13: ",tags=_[50]}
|
||||
_[31]={text="5",tags=_[49]}
|
||||
_[30]={text="5: ",tags=_[48]}
|
||||
_[29]={text="4",tags=_[47]}
|
||||
_[28]={text="4: ",tags=_[46]}
|
||||
_[27]={text="4",tags=_[45]}
|
||||
_[26]={text="4: ",tags=_[44]}
|
||||
_[25]={text="5",tags=_[43]}
|
||||
_[24]={text="5: ",tags=_[42]}
|
||||
_[23]={text="3",tags=_[41]}
|
||||
_[22]={text="3: ",tags=_[40]}
|
||||
_[21]={text="3",tags=_[39]}
|
||||
_[20]={text="3: ",tags=_[38]}
|
||||
_[19]={_[36],_[37]}
|
||||
_[18]={_[34],_[35]}
|
||||
_[17]={_[32],_[33]}
|
||||
_[16]={_[30],_[31]}
|
||||
_[15]={_[28],_[29]}
|
||||
_[14]={_[26],_[27]}
|
||||
_[13]={_[24],_[25]}
|
||||
_[12]={_[22],_[23]}
|
||||
_[11]={_[20],_[21]}
|
||||
_[10]={"return"}
|
||||
_[9]={"text",_[19]}
|
||||
_[8]={"text",_[18]}
|
||||
_[7]={"text",_[17]}
|
||||
_[6]={"text",_[16]}
|
||||
_[5]={"text",_[15]}
|
||||
_[4]={"text",_[14]}
|
||||
_[3]={"text",_[13]}
|
||||
_[2]={"text",_[12]}
|
||||
_[1]={"text",_[11]}
|
||||
return {_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10]}
|
||||
--[[
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "3: "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "3"
|
||||
} } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "3: "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "3"
|
||||
} } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "5: "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "5"
|
||||
} } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "4: "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "4"
|
||||
} } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "4: "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "4"
|
||||
} } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "5: "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "5"
|
||||
} } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "13: "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "13"
|
||||
} } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "7: "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "7"
|
||||
} } }
|
||||
{ "text", { {
|
||||
tags = {},
|
||||
text = "8: "
|
||||
}, {
|
||||
tags = {},
|
||||
text = "8"
|
||||
} } }
|
||||
{ "return" }
|
||||
]]--
|
||||
Loading…
Add table
Add a link
Reference in a new issue