Class: Yoda::Services::CodeCompletion::KeywordProvider
- Inherits:
-
BaseProvider
- Object
- BaseProvider
- Yoda::Services::CodeCompletion::KeywordProvider
- Defined in:
- lib/yoda/services/code_completion/keyword_provider.rb
Constant Summary collapse
- KEYWORDS =
%i( __ENCODING__ __LINE__ __FILE__ BEGIN END alias and begin break case class def defined? do else elsif end ensure false for if in module next nil not or redo rescue retry return self then true undef unless until when while yield )
Instance Attribute Summary
Attributes inherited from BaseProvider
#ast, #environment, #evaluator, #location
Instance Method Summary collapse
-
#candidates ⇒ Array<Model::CompletionItem>
Returns constant candidates by using the current lexical scope.
- #providable? ⇒ true, false
Methods inherited from BaseProvider
Constructor Details
This class inherits a constructor from Yoda::Services::CodeCompletion::BaseProvider
Instance Method Details
#candidates ⇒ Array<Model::CompletionItem>
Returns constant candidates by using the current lexical scope.
56 57 |
# File 'lib/yoda/services/code_completion/keyword_provider.rb', line 56 def candidates end |
#providable? ⇒ true, false
50 51 52 |
# File 'lib/yoda/services/code_completion/keyword_provider.rb', line 50 def providable? true end |