Merge pull request #253 from AlexisBRENON/master

Add more names
This commit is contained in:
Steve J Donovan 2016-12-19 11:45:16 +02:00 committed by GitHub
commit f91c3182cf
1 changed files with 5 additions and 2 deletions

View File

@ -363,7 +363,7 @@ function File:finish()
end end
-- Whether to use '.' or the language's version of ':' (e.g. \ for Moonscript) -- Whether to use '.' or the language's version of ':' (e.g. \ for Moonscript)
item.name = class..(not static and this_mod.file.lang.method_call or '.')..item.name item.name = class..(not static and this_mod.file.lang.method_call or '.')..item.name
end end
if stype == 'factory' then if stype == 'factory' then
if item.tags.private then to_be_removed = true if item.tags.private then to_be_removed = true
elseif item.type == 'lfunction' then elseif item.type == 'lfunction' then
@ -409,6 +409,10 @@ function File:finish()
-- must be a free-standing function (sometimes a problem...) -- must be a free-standing function (sometimes a problem...)
end end
end end
item.names_hierarchy = require('pl.utils').split(
item.name,
'[.:]'
)
end end
end end
@ -1355,4 +1359,3 @@ function doc.filter_objects_through_function(filter, module_list)
end end
return doc return doc