Class: FFI::Clang::VerbatimLine

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

Overview

Represents a verbatim line comment (e.g., code on a single line).

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

#textObject

Get the text of this verbatim line.



350
351
352
# File 'lib/ffi/clang/comment.rb', line 350

def text
  Lib.extract_string Lib.verbatim_line_comment_get_text(@comment)
end