-
Notifications
You must be signed in to change notification settings - Fork 3
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 #83 from meysamhadeli/chore/update-tree-sitter-to-…
…have-full-signiture-body chore: update tree-sitter to have more details signature body
- Loading branch information
Showing
12 changed files
with
62 additions
and
59 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
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 @@ | ||
{ | ||
"definition.file_scoped_namespace": "(file_scoped_namespace_declaration name: (identifier)? @name.file_scoped_namespace name: (qualified_name)? @name)", | ||
"definition.namespace": "(namespace_declaration name: (qualified_name)? @name.namespace name: (identifier)? @name)", | ||
"definition.class": "(class_declaration name: (identifier) @name)", | ||
"definition.interface": "(interface_declaration name: (identifier) @name)", | ||
"definition.method": "(method_declaration name: (identifier) @name)", | ||
"definition.enum": "(enum_declaration name: (identifier) @name)", | ||
"definition.struct": "(struct_declaration name: (identifier) @name)", | ||
"definition.record": "(record_declaration name: (identifier) @name)", | ||
"definition.property": "(property_declaration name: (identifier) @name)" | ||
"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" | ||
} |
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 @@ | ||
{ | ||
"definition.package": "(package_clause (package_identifier) @name)", | ||
"definition.function": "(function_declaration name: (identifier) @name)", | ||
"definition.method": "(method_declaration name: (field_identifier) @name)", | ||
"definition.interface": "(type_declaration (type_spec name: (type_identifier) @name type: (interface_type)))", | ||
"definition.struct": "(type_declaration (type_spec name: name: (type_identifier) @name type: (struct_type)))" | ||
"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" | ||
} | ||
|
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 @@ | ||
{ | ||
"definition.package": "(package_declaration (scoped_identifier name: (identifier) @name))", | ||
"definition.class": "(class_declaration name: (identifier) @name)", | ||
"definition.interface": "(interface_declaration name: (identifier) @name)", | ||
"definition.method": "(method_declaration name: (identifier) @name)", | ||
"definition.enum": "(enum_declaration name: (identifier) @name)" | ||
"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" | ||
} |
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 @@ | ||
{ | ||
"definition.class" : "(class_declaration name: (identifier) @name)", | ||
"definition.method": "(method_definition name: (property_identifier) @name)", | ||
"definition.function": "(function_declaration name: (identifier) @name)", | ||
"definition.anonymous_function": "(lexical_declaration(variable_declarator name: (identifier) @name))" | ||
"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" | ||
} | ||
|
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 @@ | ||
{ | ||
"definition.class": "(class_definition name: (identifier) @name)", | ||
"definition.function": "(function_definition name: (identifier) @name)", | ||
"definition.decorated" : "(decorated_definition(decorator((identifier) @name)))" | ||
"class": "(class_definition name: (identifier) @name) @definition.class", | ||
"function": "(function_definition name: (identifier) @name) @definition.function", | ||
"decorated" : "(decorated_definition(decorator((identifier) @name))) @definition.decorated" | ||
} |
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 @@ | ||
{ | ||
"definition.class" : "(class_declaration name: ((type_identifier) @name))", | ||
"definition.interface": "(interface_declaration name: ((type_identifier) @name))", | ||
"definition.enum": "(enum_declaration name: ((identifier) @name))", | ||
"definition.method": "(method_definition name: ((property_identifier) @name))", | ||
"definition.function": "(function_declaration name: ((identifier) @name))", | ||
"definition.anonymous_function": "(lexical_declaration(variable_declarator name: (identifier) @name))" | ||
"class" : "(class_declaration name: ((type_identifier) @name)) @definition.class", | ||
"interface": "(interface_declaration name: ((type_identifier) @name)) @definition.interface", | ||
"enum": "(enum_declaration name: ((identifier) @name)) @definition.enum", | ||
"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" | ||
} |
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