github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/tests/bzl_deps/do_nothing_macro.bzl (about)

     1  """Macro used with bzl_test
     2  
     3  For more information, please see `bzl_test.bzl`.
     4  """
     5  
     6  load("//:def.bzl", "DEFAULT_LANGUAGES")
     7  
     8  def macro_with_doc(name):
     9      """This macro does nothing.
    10  
    11      Args:
    12          name: A `string` value.
    13      """
    14      if name == None:
    15          return None
    16      return DEFAULT_LANGUAGES