Lines Matching defs:basicScope
60 type basicScope struct { struct
61 parent *basicScope
62 variables map[string]Variable
63 pools map[string]Pool
64 rules map[string]Rule
65 imports map[string]*basicScope
68 func newScope(parent *basicScope) *basicScope {
78 func makeRuleScope(parent *basicScope, argNames map[string]bool) *basicScope {
106 func (s *basicScope) LookupVariable(name string) (Variable, error) {
150 func (s *basicScope) IsRuleVisible(rule Rule) bool {
175 func (s *basicScope) IsPoolVisible(pool Pool) bool {
200 func (s *basicScope) lookupImportedScope(pkgName string) (*basicScope, error) {
211 func (s *basicScope) AddImport(name string, importedScope *basicScope) error {
220 func (s *basicScope) AddVariable(v Variable) error {
230 func (s *basicScope) AddPool(p Pool) error {
240 func (s *basicScope) AddRule(r Rule) error {
255 func newLocalScope(parent *basicScope, namePrefix string) *localScope {