1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
local guide = require 'parser.guide' local m = {} function m:eachDef(source, callback) local name = source[1] local label = guide.getLabel(source, name) if label then callback { source = label, uri = self.uri, } end end return m