Class: Yoda::Services::CommentCompletion::ParamProvider
- Inherits:
-
BaseProvider
- Object
- BaseProvider
- Yoda::Services::CommentCompletion::ParamProvider
- Defined in:
- lib/yoda/services/comment_completion/param_provider.rb
Overview
Note:
WIP
Instance Attribute Summary
Attributes inherited from BaseProvider
#ast, #comments, #environment, #location
Instance Method Summary collapse
Methods inherited from BaseProvider
Constructor Details
This class inherits a constructor from Yoda::Services::CommentCompletion::BaseProvider
Instance Method Details
#available? ⇒ true, false
7 8 9 |
# File 'lib/yoda/services/comment_completion/param_provider.rb', line 7 def available? current_comment_token_query.current_state == :param end |
#candidates ⇒ Array<Model::CompletionItem>
12 13 14 |
# File 'lib/yoda/services/comment_completion/param_provider.rb', line 12 def candidates [] end |