Class: Puppet::Pops::Model::ExportedQuery
- Inherits:
-
QueryExpression
- Object
- PopsObject
- Positioned
- Expression
- QueryExpression
- Puppet::Pops::Model::ExportedQuery
- Defined in:
- lib/puppet/pops/model/ast.rb
Instance Attribute Summary
Attributes inherited from QueryExpression
Attributes inherited from Positioned
Attributes inherited from PopsObject
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from QueryExpression
#_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, #to_s
Constructor Details
This class inherits a constructor from Puppet::Pops::Model::QueryExpression
Class Method Details
._pcore_type ⇒ Object
1490 1491 1492 1493 1494 |
# File 'lib/puppet/pops/model/ast.rb', line 1490 def self._pcore_type @_pcore_type ||= Types::PObjectType.new('Puppet::AST::ExportedQuery', { 'parent' => QueryExpression._pcore_type }) end |
Instance Method Details
#_pcore_all_contents(path, &block) ⇒ Object
1500 1501 1502 1503 1504 1505 1506 1507 |
# File 'lib/puppet/pops/model/ast.rb', line 1500 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
1496 1497 1498 |
# File 'lib/puppet/pops/model/ast.rb', line 1496 def _pcore_contents yield(@expr) unless @expr.nil? end |