summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast/nop.rb
blob: bf35c6a5cddfa099bb6096df551ecfdfc32ebc35 (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