# File lib/puppet/parser/scope.rb, line 172
172:     def lookuptype(name)
173:         find_definition(name) || find_hostclass(name)
174:     end