Documentation ¶
Index ¶
- func CommentErr(c string) string
- func CommentErrs(messages []string) []bzl.Comment
- func ListWithComments(list []bzl.Expr, comments []bzl.Comment) *bzl.ListExpr
- func MakeGlob(include, exclude []bzl.Expr) bzl.Expr
- func MakeGlobS(include, exclude []string) bzl.Expr
- func MakeStringExprs(values []string) []bzl.Expr
- func SortExprs(exprs []bzl.Expr) []bzl.Expr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommentErr ¶
func CommentErrs ¶
func ListWithComments ¶
ListWithComments creates a bzl.ListExpr with value of list if both list and comments are empty, nil is returned if list is empty, an empty list is rendered that contains comments if list is non-empty, comments are placed at the beginning of the list
func MakeGlob ¶
MakeGlob returns a `glob([], exclude=[])` expression the default ExprFromValue produces a `glob([], "excludes": [])` expression
func MakeStringExprs ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.