class Puppet::Pops::Model::ParenthesizedExpression

Public Class Methods

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

Public Instance Methods

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