class Puppet::Pops::Model::BooleanExpression

Public Class Methods

_pcore_type() click to toggle source
    # File lib/puppet/pops/model/ast.rb
858 def self._pcore_type
859   @_pcore_type ||= Types::PObjectType.new('Puppet::AST::BooleanExpression', {
860     'parent' => BinaryExpression._pcore_type
861   })
862 end

Public Instance Methods

_pcore_all_contents(path, &block) click to toggle source
    # File lib/puppet/pops/model/ast.rb
869 def _pcore_all_contents(path, &block)
870   path << self
871   unless @left_expr.nil?
872     block.call(@left_expr, path)
873     @left_expr._pcore_all_contents(path, &block)
874   end
875   unless @right_expr.nil?
876     block.call(@right_expr, path)
877     @right_expr._pcore_all_contents(path, &block)
878   end
879   path.pop
880 end
_pcore_contents() { |left_expr| ... } click to toggle source
    # File lib/puppet/pops/model/ast.rb
864 def _pcore_contents
865   yield(@left_expr) unless @left_expr.nil?
866   yield(@right_expr) unless @right_expr.nil?
867 end