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
180
181
182
183
184
|
# File 'lib/ffi/clang/comment.rb', line 180
def args
num_args.times.map { |i|
Lib. Lib.block_command_comment_get_arg_text(@comment, i)
}
end
|
#name ⇒ Object
163
164
165
|
# File 'lib/ffi/clang/comment.rb', line 163
def name
Lib. Lib.block_command_comment_get_command_name(@comment)
end
|
#num_args ⇒ Object
176
177
178
|
# File 'lib/ffi/clang/comment.rb', line 176
def num_args
Lib.block_command_comment_get_num_args(@comment)
end
|
#paragraph ⇒ Object
167
168
169
|
# File 'lib/ffi/clang/comment.rb', line 167
def paragraph
Comment.build_from Lib.block_command_comment_get_paragraph(@comment)
end
|
#text ⇒ Object
Also known as:
171
172
173
|
# File 'lib/ffi/clang/comment.rb', line 171
def text
self.paragraph.text
end
|