class Puppet::Pops::Model::BooleanExpression
Public Class Methods
_pcore_type()
click to toggle source
# File lib/puppet/pops/model/ast.rb 857 def self._pcore_type 858 @_pcore_type ||= Types::PObjectType.new('Puppet::AST::BooleanExpression', { 859 'parent' => BinaryExpression._pcore_type 860 }) 861 end
Public Instance Methods
_pcore_all_contents(path, &block)
click to toggle source
# File lib/puppet/pops/model/ast.rb 868 def _pcore_all_contents(path, &block) 869 path << self 870 unless @left_expr.nil? 871 block.call(@left_expr, path) 872 @left_expr._pcore_all_contents(path, &block) 873 end 874 unless @right_expr.nil? 875 block.call(@right_expr, path) 876 @right_expr._pcore_all_contents(path, &block) 877 end 878 path.pop 879 end
_pcore_contents() { |left_expr| ... }
click to toggle source
# File lib/puppet/pops/model/ast.rb 863 def _pcore_contents 864 yield(@left_expr) unless @left_expr.nil? 865 yield(@right_expr) unless @right_expr.nil? 866 end