Lines Matching refs:parent
58 parent *basicScope member
65 func newScope(parent *basicScope) *basicScope {
67 parent: parent,
75 func makeRuleScope(parent *basicScope, argNames map[string]bool) *basicScope {
76 scope := newScope(parent)
137 for ; s != nil; s = s.parent {
166 s = s.parent
191 s = s.parent
198 for ; s != nil; s = s.parent {
252 func newLocalScope(parent *basicScope, namePrefix string) *localScope {
255 scope: newScope(parent),
264 s.scope.parent = pctx.getScope()