PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hocon-1.3.1/lib/hocon/ |
| Server: Linux server1.ngambekcore.com 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 04:00:07 EDT 2025 x86_64 IP: 159.198.77.92 |
| Dir : //opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hocon-1.3.1/lib/hocon/config_parse_options.rb |
# encoding: utf-8
require 'hocon'
class Hocon::ConfigParseOptions
attr_accessor :syntax, :origin_description, :allow_missing, :includer
def self.defaults
self.new(nil, nil, true, nil)
end
def initialize(syntax, origin_description, allow_missing, includer)
@syntax = syntax
@origin_description = origin_description
@allow_missing = allow_missing
@includer = includer
end
def set_syntax(syntax)
if @syntax == syntax
self
else
Hocon::ConfigParseOptions.new(syntax,
@origin_description,
@allow_missing,
@includer)
end
end
def set_origin_description(origin_description)
if @origin_description == origin_description
self
else
Hocon::ConfigParseOptions.new(@syntax,
origin_description,
@allow_missing,
@includer)
end
end
def set_allow_missing(allow_missing)
if allow_missing? == allow_missing
self
else
Hocon::ConfigParseOptions.new(@syntax,
@origin_description,
allow_missing,
@includer)
end
end
def allow_missing?
@allow_missing
end
def set_includer(includer)
if @includer == includer
self
else
Hocon::ConfigParseOptions.new(@syntax,
@origin_description,
@allow_missing,
includer)
end
end
def append_includer(includer)
if @includer == includer
self
elsif @includer
set_includer(@includer.with_fallback(includer))
else
set_includer(includer)
end
end
end