Class: FFI::Clang::HTMLTagComment
- Defined in:
- lib/ffi/clang/comment.rb
Overview
Represents an HTML tag in a documentation comment.
Direct Known Subclasses
Instance Method Summary collapse
-
#name ⇒ Object
(also: #tag)
Get the name of the HTML tag.
-
#text ⇒ Object
Get the text representation of this HTML tag.
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
Get the name of the HTML tag.
121 122 123 |
# File 'lib/ffi/clang/comment.rb', line 121 def name Lib.extract_string Lib.html_tag_comment_get_tag_name(@comment) end |
#text ⇒ Object
Get the text representation of this HTML tag.
128 129 130 |
# File 'lib/ffi/clang/comment.rb', line 128 def text Lib.extract_string Lib.html_tag_comment_get_as_string(@comment) end |