diff options
| author | Seba Gamboa <[email protected]> | 2015-09-23 11:42:28 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-09-23 11:42:37 -0300 |
| commit | 731c5326b47b34364b2a8f69c6d558f52957a562 (patch) | |
| tree | 213d83fe80cd4ab7922e5e0879d3bcbd01db9a8a /lib/yard/mruby/code_objects | |
| parent | a88dcf7f44898495fd2d2535ec0c4508a4458c38 (diff) | |
| download | yard-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.rb | 8 | ||||
| -rw-r--r-- | lib/yard/mruby/code_objects/function_object.rb | 7 | ||||
| -rw-r--r-- | lib/yard/mruby/code_objects/header_object.rb | 7 |
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 |
