Lines Matching defs:ruleFunc
786 type ruleFunc struct { struct
787 pctx *packageContext
788 name_ string
789 paramsFunc func(interface{}) (RuleParams, error)
790 argNames map[string]bool
791 scope_ *basicScope
792 fullName_ string
793 sync.Mutex // protects scope_ during lazy creation
852 func (r *ruleFunc) packageContext() *packageContext {
856 func (r *ruleFunc) name() string {
860 func (r *ruleFunc) fullName(pkgNames map[*packageContext]string) string {
867 func (r *ruleFunc) memoizeFullName(pkgNames map[*packageContext]string) {
871 func (r *ruleFunc) def(config interface{}) (*ruleDef, error) {
883 func (r *ruleFunc) scope() *basicScope {
896 func (r *ruleFunc) isArg(argName string) bool {
900 func (r *ruleFunc) String() string {