class Puppet::Pops::Model::ParenthesizedExpression

Public Class Methods

_pcore_type() click to toggle source
    # File lib/puppet/pops/model/ast.rb
292 def self._pcore_type
293   @_pcore_type ||= Types::PObjectType.new('Puppet::AST::ParenthesizedExpression', {
294     'parent' => UnaryExpression._pcore_type
295   })
296 end

Public Instance Methods

_pcore_all_contents(path, &block) click to toggle source
    # File lib/puppet/pops/model/ast.rb
302 def _pcore_all_contents(path, &block)
303   path << self
304   unless @expr.nil?
305     block.call(@expr, path)
306     @expr._pcore_all_contents(path, &block)
307   end
308   path.pop
309 end
_pcore_contents() { |expr| ... } click to toggle source
    # File lib/puppet/pops/model/ast.rb
298 def _pcore_contents
299   yield(@expr) unless @expr.nil?
300 end