tree-sitter-go
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -614,18 +614,24 @@ const | ||
_element_list: $ => sepTrailing(',', $._element_list, $.element), | ||
_element_list: $ => sepTrailing(',', $._element_list, choice( | ||
$.element, | ||
$.keyed_element | ||
)), | ||
element: $ => seq( | ||
optional(seq( | ||
choice( | ||
$._expression, | ||
$.literal_value | ||
), | ||
':' | ||
)), | ||
keyed_element: $ => seq( | ||
choice( | ||
$._expression, | ||
$.literal_value | ||
), | ||
':', | ||
choice( | ||
$._expression, | ||
$.literal_value | ||
) | ||
), | ||
element: $ => choice( | ||
$._expression, | ||
$.literal_value | ||
), | ||
func_literal: $ => seq( | ||
@@ -632,0 +638,0 @@ 'func', |
{ | ||
"name": "tree-sitter-go", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Go grammar for tree-sitter", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2851457
4767