summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/code_objects
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-23 11:42:28 -0300
committerSeba Gamboa <[email protected]>2015-09-23 11:42:37 -0300
commit731c5326b47b34364b2a8f69c6d558f52957a562 (patch)
tree213d83fe80cd4ab7922e5e0879d3bcbd01db9a8a /lib/yard/mruby/code_objects
parenta88dcf7f44898495fd2d2535ec0c4508a4458c38 (diff)
downloadyard-mruby-731c5326b47b34364b2a8f69c6d558f52957a562.tar.gz
yard-mruby-731c5326b47b34364b2a8f69c6d558f52957a562.zip
Detecting classes and methods from C sources
Diffstat (limited to 'lib/yard/mruby/code_objects')
-rw-r--r--lib/yard/mruby/code_objects/define_object.rb8
-rw-r--r--lib/yard/mruby/code_objects/function_object.rb7
-rw-r--r--lib/yard/mruby/code_objects/header_object.rb7
3 files changed, 22 insertions, 0 deletions
diff --git a/lib/yard/mruby/code_objects/define_object.rb b/lib/yard/mruby/code_objects/define_object.rb
new file mode 100644
index 0000000..2c05d91
--- /dev/null
+++ b/lib/yard/mruby/code_objects/define_object.rb
@@ -0,0 +1,8 @@
+module YARD::MRuby::CodeObjects
+
+ # A DefineObject represents a MRuby C API define macro declaration inside a header inside an include directory
+ class DefineObject < YARD::CodeObjects::Base
+ end
+end
+
+
diff --git a/lib/yard/mruby/code_objects/function_object.rb b/lib/yard/mruby/code_objects/function_object.rb
new file mode 100644
index 0000000..5eb906e
--- /dev/null
+++ b/lib/yard/mruby/code_objects/function_object.rb
@@ -0,0 +1,7 @@
+module YARD::MRuby::CodeObjects
+
+ # A FunctionObject represents a MRuby C API function declaration inside a header inside an include directory
+ class FunctionObject < YARD::CodeObjects::Base
+ end
+end
+
diff --git a/lib/yard/mruby/code_objects/header_object.rb b/lib/yard/mruby/code_objects/header_object.rb
new file mode 100644
index 0000000..99fb3cf
--- /dev/null
+++ b/lib/yard/mruby/code_objects/header_object.rb
@@ -0,0 +1,7 @@
+module YARD::MRuby::CodeObjects
+
+ # A HeaderObject represents a MRuby header inside an include directory
+ # It groups C Functions and define macros.
+ class HeaderObject < YARD::CodeObjects::NamespaceObject
+ end
+end