blob: 2de97c597842363737d7784bfd3b45951d9b1567 [file] [log] [blame]
// Copyright 2024 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package bazel_docgen
import (
pb "go.fuchsia.dev/fuchsia/tools/bazel-docgen/third_party/stardoc"
"io"
)
type Renderer interface {
RenderRuleInfo(*pb.RuleInfo, io.Writer) error
RenderProviderInfo(*pb.ProviderInfo, io.Writer) error
RenderStarlarkFunctionInfo(*pb.StarlarkFunctionInfo, io.Writer) error
RenderRepositoryRuleInfo(*pb.RepositoryRuleInfo, io.Writer) error
}