summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-14 15:53:27 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-14 15:53:27 +0100
commit011bbfdc9321616673504fba68843fd802b85c69 (patch)
tree9dce9323ec29c669b81b76849bf15a6d95eb0354
parent6df492b6b75041ec3154fa27079bb54fd8458f9b (diff)
Revert "docs: remove resolved FIXMEs"
This reverts commit b8b183bfcb9e0feb7a680a41b70ed09b1c411e57. The FIXMEs are not resolved, just worked around.
-rw-r--r--src/scripts/elua/apps/docgen/doctree.lua25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/scripts/elua/apps/docgen/doctree.lua b/src/scripts/elua/apps/docgen/doctree.lua
index 187c50e494..2cc16cf70e 100644
--- a/src/scripts/elua/apps/docgen/doctree.lua
+++ b/src/scripts/elua/apps/docgen/doctree.lua
@@ -303,6 +303,7 @@ M.Class = Node:clone {
303 if ret then 303 if ret then
304 return ret 304 return ret
305 end 305 end
306 -- FIXME: unit
306 local v = eolian.class_get_by_name(eos:unit_get(), name) 307 local v = eolian.class_get_by_name(eos:unit_get(), name)
307 if not v then 308 if not v then
308 return nil 309 return nil
@@ -318,6 +319,7 @@ M.Class = Node:clone {
318 if ret then 319 if ret then
319 return ret 320 return ret
320 end 321 end
322 -- FIXME: unit
321 local v = eolian.class_get_by_file(eos:unit_get(), name) 323 local v = eolian.class_get_by_file(eos:unit_get(), name)
322 if not v then 324 if not v then
323 return nil 325 return nil
@@ -330,6 +332,7 @@ M.Class = Node:clone {
330 all_get = function() 332 all_get = function()
331 local ret, had = get_cache(M.Class, "_cache_all") 333 local ret, had = get_cache(M.Class, "_cache_all")
332 if not had then 334 if not had then
335 -- FIXME: unit
333 for cl in eolian.all_classes_get(eos:unit_get()) do 336 for cl in eolian.all_classes_get(eos:unit_get()) do
334 local cls = M.Class(cl) 337 local cls = M.Class(cl)
335 if matches_filter(cls) then 338 if matches_filter(cls) then
@@ -723,6 +726,7 @@ M.Type = Node:clone {
723 end, 726 end,
724 727
725 class_get = function(self) 728 class_get = function(self)
729 -- FIXME: unit
726 return self.type:class_get(eos:unit_get()) 730 return self.type:class_get(eos:unit_get())
727 end, 731 end,
728 732
@@ -902,6 +906,7 @@ M.Typedecl = Node:clone {
902 end, 906 end,
903 907
904 c_type_get = function(self) 908 c_type_get = function(self)
909 -- FIXME: unit
905 return self.typedecl:c_type_get(eos:unit_get()) 910 return self.typedecl:c_type_get(eos:unit_get())
906 end, 911 end,
907 912
@@ -937,6 +942,7 @@ M.Typedecl = Node:clone {
937 942
938 all_aliases_get = function() 943 all_aliases_get = function()
939 local ret = {} 944 local ret = {}
945 -- FIXME: unit
940 for tp in eolian.typedecl_all_aliases_get(eos:unit_get()) do 946 for tp in eolian.typedecl_all_aliases_get(eos:unit_get()) do
941 local tpo = M.Typedecl(tp) 947 local tpo = M.Typedecl(tp)
942 if matches_filter(tpo) then 948 if matches_filter(tpo) then
@@ -948,6 +954,7 @@ M.Typedecl = Node:clone {
948 954
949 all_structs_get = function() 955 all_structs_get = function()
950 local ret = {} 956 local ret = {}
957 -- FIXME: unit
951 for tp in eolian.typedecl_all_structs_get(eos:unit_get()) do 958 for tp in eolian.typedecl_all_structs_get(eos:unit_get()) do
952 local tpo = M.Typedecl(tp) 959 local tpo = M.Typedecl(tp)
953 if matches_filter(tpo) then 960 if matches_filter(tpo) then
@@ -959,6 +966,7 @@ M.Typedecl = Node:clone {
959 966
960 all_enums_get = function() 967 all_enums_get = function()
961 local ret = {} 968 local ret = {}
969 -- FIXME: unit
962 for tp in eolian.typedecl_all_enums_get(eos:unit_get()) do 970 for tp in eolian.typedecl_all_enums_get(eos:unit_get()) do
963 local tpo = M.Typedecl(tp) 971 local tpo = M.Typedecl(tp)
964 local tpn = tpo:nspaces_get() 972 local tpn = tpo:nspaces_get()
@@ -971,6 +979,7 @@ M.Typedecl = Node:clone {
971 979
972 aliases_by_file_get = function(fn) 980 aliases_by_file_get = function(fn)
973 local ret = {} 981 local ret = {}
982 -- FIXME: unit
974 for tp in eolian.typedecl_aliases_get_by_file(eos:unit_get(), fn) do 983 for tp in eolian.typedecl_aliases_get_by_file(eos:unit_get(), fn) do
975 ret[#ret + 1] = M.Typedecl(tp) 984 ret[#ret + 1] = M.Typedecl(tp)
976 end 985 end
@@ -979,6 +988,7 @@ M.Typedecl = Node:clone {
979 988
980 structs_by_file_get = function(fn) 989 structs_by_file_get = function(fn)
981 local ret = {} 990 local ret = {}
991 -- FIXME: unit
982 for tp in eolian.typedecl_structs_get_by_file(eos:unit_get(), fn) do 992 for tp in eolian.typedecl_structs_get_by_file(eos:unit_get(), fn) do
983 ret[#ret + 1] = M.Typedecl(tp) 993 ret[#ret + 1] = M.Typedecl(tp)
984 end 994 end
@@ -987,6 +997,7 @@ M.Typedecl = Node:clone {
987 997
988 enums_by_file_get = function(fn) 998 enums_by_file_get = function(fn)
989 local ret = {} 999 local ret = {}
1000 -- FIXME: unit
990 for tp in eolian.typedecl_enums_get_by_file(eos:unit_get(), fn) do 1001 for tp in eolian.typedecl_enums_get_by_file(eos:unit_get(), fn) do
991 ret[#ret + 1] = M.Typedecl(tp) 1002 ret[#ret + 1] = M.Typedecl(tp)
992 end 1003 end
@@ -994,6 +1005,7 @@ M.Typedecl = Node:clone {
994 end, 1005 end,
995 1006
996 alias_by_name_get = function(tn) 1007 alias_by_name_get = function(tn)
1008 -- FIXME: unit
997 local v = eolian.typedecl_alias_get_by_name(eos:unit_get(), tn) 1009 local v = eolian.typedecl_alias_get_by_name(eos:unit_get(), tn)
998 if not v then 1010 if not v then
999 return nil 1011 return nil
@@ -1002,6 +1014,7 @@ M.Typedecl = Node:clone {
1002 end, 1014 end,
1003 1015
1004 struct_by_name_get = function(tn) 1016 struct_by_name_get = function(tn)
1017 -- FIXME: unit
1005 local v = eolian.typedecl_struct_get_by_name(eos:unit_get(), tn) 1018 local v = eolian.typedecl_struct_get_by_name(eos:unit_get(), tn)
1006 if not v then 1019 if not v then
1007 return nil 1020 return nil
@@ -1010,6 +1023,7 @@ M.Typedecl = Node:clone {
1010 end, 1023 end,
1011 1024
1012 enum_by_name_get = function(tn) 1025 enum_by_name_get = function(tn)
1026 -- FIXME: unit
1013 local v = eolian.typedecl_enum_get_by_name(eos:unit_get(), tn) 1027 local v = eolian.typedecl_enum_get_by_name(eos:unit_get(), tn)
1014 if not v then 1028 if not v then
1015 return nil 1029 return nil
@@ -1292,6 +1306,7 @@ M.Variable = Node:clone {
1292 1306
1293 all_globals_get = function() 1307 all_globals_get = function()
1294 local ret = {} 1308 local ret = {}
1309 -- FIXME: unit
1295 for v in eolian.variable_all_globals_get(eos:unit_get()) do 1310 for v in eolian.variable_all_globals_get(eos:unit_get()) do
1296 ret[#ret + 1] = M.Variable(v) 1311 ret[#ret + 1] = M.Variable(v)
1297 end 1312 end
@@ -1300,6 +1315,7 @@ M.Variable = Node:clone {
1300 1315
1301 all_constants_get = function() 1316 all_constants_get = function()
1302 local ret = {} 1317 local ret = {}
1318 -- FIXME: unit
1303 for v in eolian.variable_all_constants_get(eos:unit_get()) do 1319 for v in eolian.variable_all_constants_get(eos:unit_get()) do
1304 ret[#ret + 1] = M.Variable(v) 1320 ret[#ret + 1] = M.Variable(v)
1305 end 1321 end
@@ -1308,6 +1324,7 @@ M.Variable = Node:clone {
1308 1324
1309 globals_by_file_get = function(fn) 1325 globals_by_file_get = function(fn)
1310 local ret = {} 1326 local ret = {}
1327 -- FIXME: unit
1311 for v in eolian.variable_globals_get_by_file(eos:unit_get(), fn) do 1328 for v in eolian.variable_globals_get_by_file(eos:unit_get(), fn) do
1312 ret[#ret + 1] = M.Variable(v) 1329 ret[#ret + 1] = M.Variable(v)
1313 end 1330 end
@@ -1316,6 +1333,7 @@ M.Variable = Node:clone {
1316 1333
1317 constants_by_file_get = function(fn) 1334 constants_by_file_get = function(fn)
1318 local ret = {} 1335 local ret = {}
1336 -- FIXME: unit
1319 for v in eolian.variable_constants_get_by_file(eos:unit_get(), fn) do 1337 for v in eolian.variable_constants_get_by_file(eos:unit_get(), fn) do
1320 ret[#ret + 1] = M.Variable(v) 1338 ret[#ret + 1] = M.Variable(v)
1321 end 1339 end
@@ -1323,6 +1341,7 @@ M.Variable = Node:clone {
1323 end, 1341 end,
1324 1342
1325 global_by_name_get = function(vn) 1343 global_by_name_get = function(vn)
1344 -- FIXME: unit
1326 local v = eolian.variable_global_get_by_name(eos:unit_get(), vn) 1345 local v = eolian.variable_global_get_by_name(eos:unit_get(), vn)
1327 if not v then 1346 if not v then
1328 return nil 1347 return nil
@@ -1331,6 +1350,7 @@ M.Variable = Node:clone {
1331 end, 1350 end,
1332 1351
1333 constant_by_name_get = function(vn) 1352 constant_by_name_get = function(vn)
1353 -- FIXME: unit
1334 local v = eolian.variable_constant_get_by_name(eos:unit_get(), vn) 1354 local v = eolian.variable_constant_get_by_name(eos:unit_get(), vn)
1335 if not v then 1355 if not v then
1336 return nil 1356 return nil
@@ -1346,10 +1366,12 @@ M.Expression = Node:clone {
1346 end, 1366 end,
1347 1367
1348 eval_enum = function(self) 1368 eval_enum = function(self)
1369 -- FIXME: unit
1349 return self.expr:eval(eos:unit_get(), eolian.expression_mask.INT) 1370 return self.expr:eval(eos:unit_get(), eolian.expression_mask.INT)
1350 end, 1371 end,
1351 1372
1352 eval_type = function(self, tp) 1373 eval_type = function(self, tp)
1374 -- FIXME: unit
1353 return self.expr:eval_type(eos:unit_get(), tp.type) 1375 return self.expr:eval_type(eos:unit_get(), tp.type)
1354 end, 1376 end,
1355 1377
@@ -1460,6 +1482,7 @@ M.DocTokenizer = Node:clone {
1460 end, 1482 end,
1461 1483
1462 ref_get = function(self, root) 1484 ref_get = function(self, root)
1485 -- FIXME: unit
1463 local tp, d1, d2 = self.tok:ref_get(eos:unit_get()) 1486 local tp, d1, d2 = self.tok:ref_get(eos:unit_get())
1464 local reft = eolian.doc_ref_type 1487 local reft = eolian.doc_ref_type
1465 local ret = {} 1488 local ret = {}
@@ -1519,7 +1542,7 @@ M.parse = function(st)
1519 error("failed parsing eo files") 1542 error("failed parsing eo files")
1520 end 1543 end
1521 end 1544 end
1522 -- build reverse inheritance hierarchy 1545 -- build reverse inheritance hierarchy, FIXME: unit
1523 for cl in eolian.all_classes_get(eos:unit_get()) do 1546 for cl in eolian.all_classes_get(eos:unit_get()) do
1524 local cln = cl:full_name_get() 1547 local cln = cl:full_name_get()
1525 for icl in cl:inherits_get() do 1548 for icl in cl:inherits_get() do