summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast/nop.rb
blob: ea52320430fd14215c3efc44bb43b07e982e8bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
require 'puppet/parser/ast/branch'

class Puppet::Parser::AST
    # This class is a no-op, it doesn't produce anything
    # when evaluated, hence it's name :-)
    class Nop < AST::Leaf
        def evaluate(scope)
            # nothing to do
        end
    end
end