-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from meysamhadeli/refactor/refactor-prompt-to-…
…get-more-accurate-results refactor: refactor prompt to get more accurate results
- Loading branch information
Showing
24 changed files
with
178 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"file_scoped_namespace": "(file_scoped_namespace_declaration name: (identifier)? @name.file_scoped_namespace name: (qualified_name)? @name) @definition.file_scoped_namespace", | ||
"namespace": "(namespace_declaration name: (qualified_name)? @name.namespace name: (identifier)? @name) @definition.namespace", | ||
"class": "(class_declaration name: (identifier) @name) @definition.class", | ||
"interface": "(interface_declaration name: (identifier) @name) @definition.interface", | ||
"method": "(method_declaration name: (identifier) @name) @definition.method", | ||
"enum": "(enum_declaration name: (identifier) @name) @definition.enum", | ||
"struct": "(struct_declaration name: (identifier) @name) @definition.struct", | ||
"record": "(record_declaration name: (identifier) @name) @definition.record", | ||
"property": "(property_declaration name: (identifier) @name) @definition.property" | ||
"file_scoped_namespace": "(file_scoped_namespace_declaration name: (identifier)? @name.file_scoped_namespace name: (qualified_name)? @name)", | ||
"namespace": "(namespace_declaration name: (qualified_name)? @name.namespace name: (identifier)? @name)", | ||
"class": "(class_declaration name: (identifier) @name)", | ||
"interface": "(interface_declaration name: (identifier) @name)", | ||
"method": "(method_declaration name: (identifier) @name)", | ||
"enum": "(enum_declaration name: (identifier) @name)", | ||
"struct": "(struct_declaration name: (identifier) @name)", | ||
"record": "(record_declaration name: (identifier) @name)", | ||
"property": "(property_declaration name: (identifier) @name)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"package": "(package_clause (package_identifier) @name) @definition.package", | ||
"function": "(function_declaration name: (identifier) @name) @definition.function", | ||
"method": "(method_declaration name: (field_identifier) @name) @definition.method", | ||
"interface": "(type_declaration (type_spec name: (type_identifier) @name type: (interface_type))) @definition.interface", | ||
"struct": "(type_declaration (type_spec name: name: (type_identifier) @name type: (struct_type))) @definition.struct" | ||
"package": "(package_clause (package_identifier) @name)", | ||
"function": "(function_declaration name: (identifier) @name)", | ||
"method": "(method_declaration name: (field_identifier) @name)", | ||
"interface": "(type_declaration (type_spec name: (type_identifier) @name type: (interface_type)))", | ||
"struct": "(type_declaration (type_spec name: name: (type_identifier) @name type: (struct_type)))" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"package": "(package_declaration (scoped_identifier name: (identifier) @name)) @definition.package", | ||
"class": "(class_declaration name: (identifier) @name) @definition.class", | ||
"interface": "(interface_declaration name: (identifier) @name) @definition.interface", | ||
"method": "(method_declaration name: (identifier) @name) @definition.method", | ||
"enum": "(enum_declaration name: (identifier) @name) @definition.enum" | ||
"package": "(package_declaration (scoped_identifier name: (identifier) @name))", | ||
"class": "(class_declaration name: (identifier) @name)", | ||
"interface": "(interface_declaration name: (identifier) @name)", | ||
"method": "(method_declaration name: (identifier) @name)", | ||
"enum": "(enum_declaration name: (identifier) @name)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"class" : "(class_declaration name: (identifier) @name) @definition.class", | ||
"method": "(method_definition name: (property_identifier) @name) @definition.method", | ||
"function": "(function_declaration name: (identifier) @name) @definition.function", | ||
"anonymous_function": "(lexical_declaration(variable_declarator name: (identifier) @name)) @definition.anonymous_function" | ||
"class" : "(class_declaration name: (identifier) @name)", | ||
"method": "(method_definition name: (property_identifier) @name)", | ||
"function": "(function_declaration name: (identifier) @name)", | ||
"anonymous_function": "(lexical_declaration(variable_declarator name: (identifier) @name))" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"class": "(class_definition name: (identifier) @name) @definition.class", | ||
"function": "(function_definition name: (identifier) @name) @definition.function", | ||
"decorated" : "(decorated_definition(decorator((identifier) @name))) @definition.decorated" | ||
"class": "(class_definition name: (identifier) @name)", | ||
"function": "(function_definition name: (identifier) @name)", | ||
"decorated" : "(decorated_definition(decorator((identifier) @name)))" | ||
} |
Oops, something went wrong.