class Puppet::Pops::Model::UnaryMinusExpression
Public Class Methods
_pcore_type()
click to toggle source
# File lib/puppet/pops/model/ast.rb 333 def self._pcore_type 334 @_pcore_type ||= Types::PObjectType.new('Puppet::AST::UnaryMinusExpression', { 335 'parent' => UnaryExpression._pcore_type 336 }) 337 end
Public Instance Methods
_pcore_all_contents(path, &block)
click to toggle source
# File lib/puppet/pops/model/ast.rb 343 def _pcore_all_contents(path, &block) 344 path << self 345 unless @expr.nil? 346 block.call(@expr, path) 347 @expr._pcore_all_contents(path, &block) 348 end 349 path.pop 350 end
_pcore_contents() { |expr| ... }
click to toggle source
# File lib/puppet/pops/model/ast.rb 339 def _pcore_contents 340 yield(@expr) unless @expr.nil? 341 end