load("@rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "ast",
    srcs = [
        "ast.go",
        "clone.go",
        "fodder.go",
        "identifier.go",
        "location.go",
    ],
    importpath = "github.com/google/go-jsonnet/ast",
    visibility = ["//visibility:public"],
)

go_test(
    name = "ast_test",
    srcs = ["identifier_test.go"],
    embed = [":ast"],
)
