Module: Ibex::Configuration

Defined in:
lib/ibex/configuration.rb,
lib/ibex/configuration/inspector.rb,
lib/ibex/configuration/explanation.rb,
lib/ibex/configuration/analysis_grammar.rb

Overview

Typed, provenance-preserving effective configuration.

Defined Under Namespace

Modules: AnalysisGrammar, Inspector, Registry Classes: CLIAdapter, Conflict, ConflictRecord, Evidence, Explanation, Input, Key, Origin, Recording, Report, Resolver, Value

Constant Summary collapse

OWNER_NAMES =

@rbs! type config_value = Symbol | String | Integer | bool | nil type json_value = String | Integer | bool | nil | Array | Hash[String, json_value]

{
  grammar_contract: "grammar-contract",
  grammar_minimum: "grammar-minimum",
  project_build: "project-build",
  invocation: "invocation"
}.freeze
ORIGIN_KINDS =

: Hash[Symbol, String]

%i[builtin grammar project cli analysis_override].freeze
BOOLEAN_VALUES =

: Array

[true, false].freeze
DECLARED_VALUE_UNSET =

: Object

Object.new.freeze
OWNER_POLICIES =
{
  grammar_contract: :fixed, grammar_minimum: :minimum,
  project_build: :build, invocation: :invocation
}.freeze