chunk
stat list
stat list
stat list
stat
keyword local
local
namelist
Name
f
optional namelist initialization
=
explist
exp
function
keyword function
function
funcbody
(
optional parlist
namelist
Name
t
Name
i
)
block
chunk
laststat
keyword return
return
optional explist
explist
exp
exp
var
prefixexp
var
Name
os
.
Name
getenv
args
(
optional explist
explist
exp
var
Name
i
)
keyword end
end
stat
functioncall
prefixexp
var
Name
setmetatable
args
(
optional explist
explist
exp
exp
var
Name
getfenv
args
(
optional explist
)
exp
tableconstructor
{
fieldlist
field
Name
__index
=
exp
var
Name
f
}
)
stat
functioncall
prefixexp
var
Name
print
args
(
optional explist
explist
exp
var
Name
a
exp
var
Name
USER
exp
var
Name
PATH
)
