Home | History | Annotate | Download | only in blueprint

Lines Matching refs:Rule

52 //             Rule:    SomeRule,
67 StaticRule(name string, params RuleParams, argNames ...string) Rule
68 RuleFunc(name string, f func(interface{}) (RuleParams, error), argNames ...string) Rule
123 var Phony Rule = NewBuiltinRule("phony")
127 var errRuleIsBuiltin = errors.New("the rule is a built-in")
213 // Rule: bar.SomeRule,
440 // statement to pass a value to the rule being invoked. It has no value, so it
442 // into the rule's scope, which is used for name lookups within the rule and
627 // StaticRule returns a Rule whose value does not depend on any configuration
633 // represents a Ninja rule that will be output. The name argument should
638 // build statements that invoke the rule. These arguments may be referenced in
646 argNames ...string) Rule {
732 // RuleFunc returns a Rule whose value is determined by a function that takes a
733 // config object as input and returns either the rule parameters or an error. It
738 // represents a Ninja rule that will be output. The name argument should
744 // build statements that invoke the rule. These arguments may be referenced in
752 error), argNames ...string) Rule {
773 rule := &ruleFunc{
780 err = p.scope.AddRule(rule)
785 return rule
873 // NewBuiltinRule returns a Rule object that refers to a rule that was created outside of Blueprint
874 func NewBuiltinRule(name string) Rule {