summaryrefslogtreecommitdiff
path: root/server-beta/src/parser/guide.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/parser/guide.lua')
-rw-r--r--server-beta/src/parser/guide.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/server-beta/src/parser/guide.lua b/server-beta/src/parser/guide.lua
index 428f3b8d..2120fe48 100644
--- a/server-beta/src/parser/guide.lua
+++ b/server-beta/src/parser/guide.lua
@@ -368,11 +368,15 @@ function m.getKeyName(obj)
or tp == 'setfield'
or tp == 'tablefield' then
return 's|' .. obj.field[1]
+ elseif tp == 'getmethod'
+ or tp == 'setmethod' then
+ return 's|' .. obj.method[1]
elseif tp == 'getindex'
or tp == 'setindex'
or tp == 'tableindex' then
return m.getKeyName(obj.index)
- elseif tp == 'field' then
+ elseif tp == 'field'
+ or tp == 'method' then
return 's|' .. obj[1]
elseif tp == 'index' then
return m.getKeyName(obj.index)