Documentation
¶
Overview ¶
Skylark bindings.
Index ¶
- Variables
- func HitchSingleton(hitchViewCatalogTool hitch.ViewCatalog) sk.Value
- func MakeFormulaUnion(_ *sk.Thread, _ *sk.Builtin, args sk.Tuple, kwargs []sk.Tuple) (_ sk.Value, err error)
- func NewBasting(_ *sk.Thread, _ *sk.Builtin, args sk.Tuple, kwargs []sk.Tuple) (_ sk.Value, err error)
- func NewReleaseItemID(_ *sk.Thread, _ *sk.Builtin, args sk.Tuple, kwargs []sk.Tuple) (_ sk.Value, err error)
- func NewValueTokenizer() (d *valueTokenizer)
- type Basting
- type FormulaUnion
- func (s FormulaUnion) Attr(name string) (sk.Value, error)
- func (s FormulaUnion) AttrNames() []string
- func (x FormulaUnion) Binary(op syntax.Token, y sk.Value, side sk.Side) (sk.Value, error)
- func (s FormulaUnion) Freeze()
- func (s FormulaUnion) Hash() (uint32, error)
- func (s FormulaUnion) String() string
- func (s FormulaUnion) Truth() sk.Bool
- func (s FormulaUnion) Type() string
- type Hitch
- type ReleaseItemID
- type Valuable
Constants ¶
This section is empty.
Variables ¶
View Source
var AllBuiltins = sk.StringDict{ "iamheft": sk.NewBuiltin("iamheft", func(thread *sk.Thread, fn *sk.Builtin, args sk.Tuple, kwargs []sk.Tuple) (sk.Value, error) { if thread.Print != nil { thread.Print(thread, "yes") } else { fmt.Fprintln(os.Stderr, "yes") } return sk.None, nil }), "formula": sk.NewBuiltin("formula", MakeFormulaUnion), "basting": sk.NewBuiltin("basting", NewBasting), "releaseItemID": sk.NewBuiltin("releaseItemID", NewReleaseItemID), }
Functions ¶
func HitchSingleton ¶
func HitchSingleton(hitchViewCatalogTool hitch.ViewCatalog) sk.Value
func MakeFormulaUnion ¶
func NewBasting ¶
func NewReleaseItemID ¶
func NewReleaseItemID(_ *sk.Thread, _ *sk.Builtin, args sk.Tuple, kwargs []sk.Tuple) (_ sk.Value, err error)
Constructor calls should use either kwargs or a single string which will be parsed. The version can be omitted in kwargs mode (because that partial specification is useful as an argument to version lookups that peek at hitch db state).
Most functions that expect a ReleaseItemID should also try to accept a string and do the parse implicitly.
func NewValueTokenizer ¶
func NewValueTokenizer() (d *valueTokenizer)
Types ¶
type FormulaUnion ¶
type FormulaUnion struct {
tlapi.FormulaUnion
}
func (FormulaUnion) AttrNames ¶
func (s FormulaUnion) AttrNames() []string
func (FormulaUnion) Freeze ¶
func (s FormulaUnion) Freeze()
func (FormulaUnion) Hash ¶
func (s FormulaUnion) Hash() (uint32, error)
func (FormulaUnion) String ¶
func (s FormulaUnion) String() string
func (FormulaUnion) Truth ¶
func (s FormulaUnion) Truth() sk.Bool
func (FormulaUnion) Type ¶
func (s FormulaUnion) Type() string
type ReleaseItemID ¶
type ReleaseItemID struct {
tlapi.ReleaseItemID
}
func (ReleaseItemID) AttrNames ¶
func (x ReleaseItemID) AttrNames() []string
func (ReleaseItemID) Freeze ¶
func (x ReleaseItemID) Freeze()
func (ReleaseItemID) Hash ¶
func (x ReleaseItemID) Hash() (uint32, error)
func (ReleaseItemID) String ¶
func (x ReleaseItemID) String() string
func (ReleaseItemID) Truth ¶
func (x ReleaseItemID) Truth() sk.Bool
func (ReleaseItemID) Type ¶
func (x ReleaseItemID) Type() string
Click to show internal directories.
Click to hide internal directories.