Class: FFI::Clang::HTMLTagComment
- Defined in:
- lib/ffi/clang/comment.rb
Direct Known Subclasses
Instance Method Summary collapse
- #name ⇒ Object (also: #tag)
- #text ⇒ Object
Methods inherited from Comment
build_from, #child, #children, #each, #has_trailing_newline?, #initialize, #kind, #num_children, #whitespace?
Constructor Details
This class inherits a constructor from FFI::Clang::Comment
Instance Method Details
#name ⇒ Object Also known as: tag
94 95 96 |
# File 'lib/ffi/clang/comment.rb', line 94 def name Lib.extract_string Lib.html_tag_comment_get_tag_name(@comment) end |
#text ⇒ Object
99 100 101 |
# File 'lib/ffi/clang/comment.rb', line 99 def text Lib.extract_string Lib.html_tag_comment_get_as_string(@comment) end |