Class: FFI::Clang::ParamCommandComment
- Inherits:
-
Comment
- Object
- Comment
- FFI::Clang::ParamCommandComment
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
#direction ⇒ Object
210
211
212
|
# File 'lib/ffi/clang/comment.rb', line 210
def direction
Lib.param_command_comment_get_direction(@comment)
end
|
#direction_explicit? ⇒ Boolean
206
207
208
|
# File 'lib/ffi/clang/comment.rb', line 206
def direction_explicit?
Lib.param_command_comment_is_direction_explicit(@comment) != 0
end
|
#index ⇒ Object
202
203
204
|
# File 'lib/ffi/clang/comment.rb', line 202
def index
Lib.param_command_comment_get_param_index(@comment)
end
|
#name ⇒ Object
188
189
190
|
# File 'lib/ffi/clang/comment.rb', line 188
def name
Lib. Lib.param_command_comment_get_param_name(@comment)
end
|
#text ⇒ Object
Also known as:
192
193
194
|
# File 'lib/ffi/clang/comment.rb', line 192
def text
self.map(&:text).join("")
end
|
#valid_index? ⇒ Boolean
198
199
200
|
# File 'lib/ffi/clang/comment.rb', line 198
def valid_index?
Lib.param_command_comment_is_param_index_valid(@comment) != 0
end
|