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

package(
    default_visibility = ["//parser:__subpackages__"],
    licenses = ["notice"],  # Apache 2.0
)

go_library(
    name = "go_default_library",
    srcs = [
        "cel_base_listener.go",
        "cel_base_visitor.go",
        "cel_lexer.go",
        "cel_listener.go",
        "cel_parser.go",
        "cel_visitor.go",
    ],
    data = [
        "CEL.tokens",
        "CELLexer.tokens",
    ],
    importpath = "github.com/google/cel-go/parser/gen",
    deps = [
        "@com_github_antlr4_go_antlr_v4//:go_default_library",
    ],
)
