docs: remove some direct eolian api usages
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Mon, 15 Aug 2016 13:06:20 +0000 (14:06 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Mon, 15 Aug 2016 13:06:20 +0000 (14:06 +0100)
src/scripts/elua/apps/docgen/keyref.lua
src/scripts/elua/apps/docgen/mappings.lua

index e7ed27a..8d00d16 100644 (file)
@@ -1,4 +1,3 @@
-local eolian = require("eolian")
 local writer = require("docgen.writer")
 
 local M = {}
index 2341032..8266d6d 100644 (file)
@@ -4,15 +4,15 @@ local dtree = require("docgen.doctree")
 local M = {}
 
 M.pdir_to_str = {
-    [eolian.parameter_dir.IN] = "(in)",
-    [eolian.parameter_dir.OUT] = "(out)",
-    [eolian.parameter_dir.INOUT] = "(inout)"
+    [dtree.Parameter.IN] = "(in)",
+    [dtree.Parameter.OUT] = "(out)",
+    [dtree.Parameter.INOUT] = "(inout)"
 }
 
 M.scope_to_str = {
-    [eolian.object_scope.PUBLIC] = "public",
-    [eolian.object_scope.PRIVATE] = "private",
-    [eolian.object_scope.PROTECTED] = "protected"
+    [dtree.Node.scope.PUBLIC] = "public",
+    [dtree.Node.scope.PRIVATE] = "private",
+    [dtree.Node.scope.PROTECTED] = "protected"
 }
 
 local decl_to_nspace = function(decl)