Class: FFI::Clang::HTMLTagComment

Inherits:
Comment
  • Object
show all
Defined in:
lib/ffi/clang/comment.rb

Direct Known Subclasses

HTMLEndTagComment, HTMLStartTagComment

Instance Method Summary collapse

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

#nameObject 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

#textObject



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