# File lib/puppet/parser/compiler.rb, line 196
196:     def parent(scope)
197:         if ary = @scope_graph.adjacent(scope, :direction => :in) and ary.length > 0
198:             ary[0]
199:         else
200:             nil
201:         end
202:     end