forked from enlightenment/efl
docs: remove some direct eolian api usages
This commit is contained in:
parent
6f10cb94cd
commit
bd944a377b
|
@ -1,4 +1,3 @@
|
||||||
local eolian = require("eolian")
|
|
||||||
local writer = require("docgen.writer")
|
local writer = require("docgen.writer")
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
|
@ -4,15 +4,15 @@ local dtree = require("docgen.doctree")
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.pdir_to_str = {
|
M.pdir_to_str = {
|
||||||
[eolian.parameter_dir.IN] = "(in)",
|
[dtree.Parameter.IN] = "(in)",
|
||||||
[eolian.parameter_dir.OUT] = "(out)",
|
[dtree.Parameter.OUT] = "(out)",
|
||||||
[eolian.parameter_dir.INOUT] = "(inout)"
|
[dtree.Parameter.INOUT] = "(inout)"
|
||||||
}
|
}
|
||||||
|
|
||||||
M.scope_to_str = {
|
M.scope_to_str = {
|
||||||
[eolian.object_scope.PUBLIC] = "public",
|
[dtree.Node.scope.PUBLIC] = "public",
|
||||||
[eolian.object_scope.PRIVATE] = "private",
|
[dtree.Node.scope.PRIVATE] = "private",
|
||||||
[eolian.object_scope.PROTECTED] = "protected"
|
[dtree.Node.scope.PROTECTED] = "protected"
|
||||||
}
|
}
|
||||||
|
|
||||||
local decl_to_nspace = function(decl)
|
local decl_to_nspace = function(decl)
|
||||||
|
|
Loading…
Reference in New Issue