Files
tree-sitter-jhcl/bindings/go/binding.go

16 lines
335 B
Go
Raw Normal View History

2025-05-16 19:20:03 +03:00
package tree_sitter_hcl
// #cgo CFLAGS: -std=c11 -fPIC
// #include "../../src/parser.c"
// #if __has_include("../../src/scanner.c")
// #include "../../src/scanner.c"
// #endif
import "C"
import "unsafe"
// Get the tree-sitter Language for this grammar.
func Language() unsafe.Pointer {
return unsafe.Pointer(C.tree_sitter_hcl())
}