class Puppet::Pops::Model::UnaryMinusExpression

Public Class Methods

_pcore_type() click to toggle source
    # File lib/puppet/pops/model/ast.rb
334 def self._pcore_type
335   @_pcore_type ||= Types::PObjectType.new('Puppet::AST::UnaryMinusExpression', {
336     'parent' => UnaryExpression._pcore_type
337   })
338 end

Public Instance Methods

_pcore_all_contents(path, &block) click to toggle source
    # File lib/puppet/pops/model/ast.rb
344 def _pcore_all_contents(path, &block)
345   path << self
346   unless @expr.nil?
347     block.call(@expr, path)
348     @expr._pcore_all_contents(path, &block)
349   end
350   path.pop
351 end
_pcore_contents() { |expr| ... } click to toggle source
    # File lib/puppet/pops/model/ast.rb
340 def _pcore_contents
341   yield(@expr) unless @expr.nil?
342 end