diff options
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/compiler.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 03a34dbd..dcd32e77 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1666,13 +1666,6 @@ local compilerSwitch = util.switch() : call(function (source) vm.setNode(source, vm.compileNode(source.overload)) end) - : case 'doc.see.name' - : call(function (source) - local type = vm.getGlobal('type', source[1]) - if type then - vm.setNode(source, type) - end - end) : case 'doc.type.arg' : call(function (source) if source.extends then @@ -1842,17 +1835,6 @@ local nodeSwitch;nodeSwitch = util.switch() searchFieldSwitch(pn.type, uri, pn, key, false, pushResult) end end) - : case 'doc.see.field' - : call(function (source, lastKey, pushResult) - if lastKey then - return - end - local parentNode = vm.compileNode(source.parent.name) - local uri = guide.getUri(source) - for pn in parentNode:eachObject() do - searchFieldSwitch(pn.type, uri, pn, source[1], false, pushResult) - end - end) function vm.compileByNodeChain(source, pushResult) local lastKey |