Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignExpr ¶
func Assign ¶
func Assign(name, op string, val Expr) *AssignExpr
type BinaryExpr ¶
type Filesystem ¶
type KeyValueExpr ¶
type LiteralExpr ¶
type LiteralExpr struct {
Token string
}
type Rule ¶
type Rule interface { Attr(key string) Expr AttrDefn(key string) *AssignExpr AttrKeys() []string AttrLiteral(key string) string AttrString(key string) string AttrStrings(key string) []string DelAttr(key string) Expr ExplicitName() string Kind() string Name() string SetAttr(key string, val Expr) SetKind(kind string) Comment() Comments }
type StringExpr ¶
type StringExpr struct {
Value string
}
func String ¶
func String(value string) *StringExpr
type Target ¶
type Target struct { Inputs []string `json:"inputs,omitempty"` Outs []string `json:"outs,omitempty"` Srcs []string `json:"srcs,omitempty"` Deps []string `json:"deps,omitempty"` Data []string `json:"data,omitempty"` Labels []string `json:"labels,omitempty"` Requires []string `json:"requires,omitempty"` Hash string `json:"hash,omitempty"` Binary bool `json:"binary,omitempty"` }
Click to show internal directories.
Click to hide internal directories.