Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tree-sitter-go

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tree-sitter-go - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

13

grammar.js

@@ -71,3 +71,3 @@ const

[$.function_type],
[$.parameter_list, $._simple_type],
[$.parameter_declaration, $._simple_type],
],

@@ -188,4 +188,3 @@

optional(seq(
choice($.identifier, $.parameter_declaration, $.variadic_parameter_declaration),
repeat(seq(',', choice($.identifier, $.parameter_declaration, $.variadic_parameter_declaration))),
commaSep(choice($.parameter_declaration, $.variadic_parameter_declaration)),
optional(',')

@@ -197,3 +196,3 @@ )),

parameter_declaration: $ => seq(
optional($.identifier),
commaSep($.identifier),
$._type

@@ -244,3 +243,3 @@ ),

_simple_type: $ => choice(
$._type_identifier,
prec.dynamic(-1, $._type_identifier),
$.qualified_type,

@@ -803,1 +802,5 @@ $.pointer_type,

}
function commaSep(rule) {
return optional(commaSep1(rule))
}
{
"name": "tree-sitter-go",
"version": "0.7.0",
"version": "0.7.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc