Lines Matching defs:basicScope
57 type basicScope struct { struct
58 parent *basicScope
59 variables map[string]Variable
60 pools map[string]Pool
61 rules map[string]Rule
62 imports map[string]*basicScope
65 func newScope(parent *basicScope) *basicScope {
75 func makeRuleScope(parent *basicScope, argNames map[string]bool) *basicScope {
103 func (s *basicScope) LookupVariable(name string) (Variable, error) {
147 func (s *basicScope) IsRuleVisible(rule Rule) bool {
172 func (s *basicScope) IsPoolVisible(pool Pool) bool {
197 func (s *basicScope) lookupImportedScope(pkgName string) (*basicScope, error) {
208 func (s *basicScope) AddImport(name string, importedScope *basicScope) error {
217 func (s *basicScope) AddVariable(v Variable) error {
227 func (s *basicScope) AddPool(p Pool) error {
237 func (s *basicScope) AddRule(r Rule) error {
252 func newLocalScope(parent *basicScope, namePrefix string) *localScope {