summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/interpreter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/interpreter.rb')
-rw-r--r--lib/puppet/parser/interpreter.rb32
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/puppet/parser/interpreter.rb b/lib/puppet/parser/interpreter.rb
index cf3027a5a..54cd9b023 100644
--- a/lib/puppet/parser/interpreter.rb
+++ b/lib/puppet/parser/interpreter.rb
@@ -17,18 +17,6 @@ class Puppet::Parser::Interpreter
include Puppet::Util::Errors
- # Create proxy methods, so the scopes can call the interpreter, since
- # they don't have access to the parser.
- def findclass(namespace, name)
- raise "move findclass() out of the interpreter"
- @parser.findclass(namespace, name)
- end
-
- def finddefine(namespace, name)
- raise "move finddefine() out of the interpreter"
- @parser.finddefine(namespace, name)
- end
-
# create our interpreter
def initialize(hash)
if @code = hash[:Code]
@@ -65,26 +53,6 @@ class Puppet::Parser::Interpreter
parsefiles
end
- # Pass these methods through to the parser.
- [:newclass, :newdefine, :newnode].each do |name|
- define_method(name) do |*args|
- raise("move %s out of the interpreter" % name)
- @parser.send(name, *args)
- end
- end
-
- # Add a new file to be checked when we're checking to see if we should be
- # reparsed.
- def newfile(*files)
- raise "who uses newfile?"
- files.each do |file|
- unless file.is_a? Puppet::Util::LoadedFile
- file = Puppet::Util::LoadedFile.new(file)
- end
- @files << file
- end
- end
-
def parsedate
parsefiles()
@parsedate