Class: Puppet::Pops::Model::RenderExpression
- Inherits:
-
UnaryExpression
- Object
- PopsObject
- Positioned
- Expression
- UnaryExpression
- Puppet::Pops::Model::RenderExpression
- Defined in:
- lib/puppet/pops/model/ast.rb
Instance Attribute Summary
Attributes inherited from UnaryExpression
Attributes inherited from Positioned
Attributes inherited from PopsObject
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from UnaryExpression
#_pcore_init_hash, create, #eql?, from_asserted_hash, from_hash, #initialize
Methods inherited from Positioned
#_pcore_init_hash, create, #file, from_asserted_hash, from_hash, #initialize, #line, #pos
Methods inherited from PopsObject
#_pcore_init_hash, create, #eql?, from_asserted_hash, from_hash, #initialize, #to_s
Methods included from Types::PuppetObject
#_pcore_init_hash, #_pcore_type
Constructor Details
This class inherits a constructor from Puppet::Pops::Model::UnaryExpression
Class Method Details
._pcore_type ⇒ Object
3905 3906 3907 3908 3909 |
# File 'lib/puppet/pops/model/ast.rb', line 3905 def self._pcore_type @_pcore_type ||= Types::PObjectType.new('Puppet::AST::RenderExpression', { 'parent' => UnaryExpression._pcore_type }) end |
Instance Method Details
#_pcore_all_contents(path, &block) ⇒ Object
3915 3916 3917 3918 3919 3920 3921 3922 |
# File 'lib/puppet/pops/model/ast.rb', line 3915 def _pcore_all_contents(path, &block) path << self unless @expr.nil? block.call(@expr, path) @expr._pcore_all_contents(path, &block) end path.pop end |
#_pcore_contents {|@expr| ... } ⇒ Object
3911 3912 3913 |
# File 'lib/puppet/pops/model/ast.rb', line 3911 def _pcore_contents yield(@expr) unless @expr.nil? end |