class Scry::CompletionProvider
- Scry::CompletionProvider
- Reference
- Object
Defined in:
scry/completion_provider.crConstant Summary
-
CLASS_NAME_REGEX =
/(?<target>[A-Z][a-zA-Z_:]*)$/
-
INSTANCE_VARIABLE_REGEX =
/(?<var>@[a-zA-Z_]*)$/
-
METHOD_CALL_REGEX =
/(?<target>@?[a-zA-Z][a-zA-Z_:]*)\.(?<method>[a-zA-Z]*[a-zA-Z_:]*)$/
-
REQUIRE_MODULE_REGEX =
/require\s*\"(?<import>[a-zA-Z\/._]*)$/
Constructors
Instance Method Summary
Constructor Detail
def self.new(text_document : TextDocument, context : LSP::Protocol::CompletionContext | Nil, position : LSP::Protocol::Position, method_db : Completion::MethodDB)
#