Class: FFI::Clang::BlockCommandComment
- Inherits:
-
Comment
- Object
- Comment
- FFI::Clang::BlockCommandComment
show all
- Defined in:
- lib/ffi/clang/comment.rb
Instance Method Summary
collapse
Methods inherited from Comment
build_from, #child, #children, #each, #has_trailing_newline?, #initialize, #kind, #num_children, #whitespace?
Instance Method Details
#args ⇒ Object
192
193
194
195
196
|
# File 'lib/ffi/clang/comment.rb', line 192
def args
num_args.times.map { |i|
Lib. Lib.block_command_comment_get_arg_text(@comment, i)
}
end
|
#name ⇒ Object
175
176
177
|
# File 'lib/ffi/clang/comment.rb', line 175
def name
Lib. Lib.block_command_comment_get_command_name(@comment)
end
|
#num_args ⇒ Object
188
189
190
|
# File 'lib/ffi/clang/comment.rb', line 188
def num_args
Lib.block_command_comment_get_num_args(@comment)
end
|
#paragraph ⇒ Object
179
180
181
|
# File 'lib/ffi/clang/comment.rb', line 179
def paragraph
Comment.build_from Lib.block_command_comment_get_paragraph(@comment)
end
|
#text ⇒ Object
Also known as:
183
184
185
|
# File 'lib/ffi/clang/comment.rb', line 183
def text
self.paragraph.text
end
|