Class: Yoda::Services::CommentCompletion::ParamProvider

Inherits:
BaseProvider
  • Object
show all
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

#initialize

Constructor Details

This class inherits a constructor from Yoda::Services::CommentCompletion::BaseProvider

Instance Method Details

#available?true, false

Returns:

  • (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

#candidatesArray<Model::CompletionItem>

Returns:



12
13
14
# File 'lib/yoda/services/comment_completion/param_provider.rb', line 12

def candidates
  []
end