Class: Ibex::LALR::BuildMetrics

Inherits:
Struct
  • Object
show all
Defined in:
lib/ibex/lalr/build_metrics.rb

Overview

Immutable structural measurements from one automaton build.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(construction_states:, canonical_states:, final_states:, strategy:, **optional) ⇒ BuildMetrics

The generated Struct signature does not expose this initializer. steep:ignore:start



40
41
42
43
# File 'lib/ibex/lalr/build_metrics.rb', line 40

def initialize(construction_states:, canonical_states:, final_states:, strategy:, **optional)
  super
  freeze
end

Instance Attribute Details

#canonical_itemsObject

Returns the value of attribute canonical_items

Returns:

  • (Object)

    the current value of canonical_items



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def canonical_items
  @canonical_items
end

#canonical_statesObject

Returns the value of attribute canonical_states

Returns:

  • (Object)

    the current value of canonical_states



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def canonical_states
  @canonical_states
end

#construction_statesObject

Returns the value of attribute construction_states

Returns:

  • (Object)

    the current value of construction_states



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def construction_states
  @construction_states
end

#final_itemsObject

Returns the value of attribute final_items

Returns:

  • (Object)

    the current value of final_items



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def final_items
  @final_items
end

#final_lookahead_itemsObject

Returns the value of attribute final_lookahead_items

Returns:

  • (Object)

    the current value of final_lookahead_items



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def final_lookahead_items
  @final_lookahead_items
end

#final_statesObject

Returns the value of attribute final_states

Returns:

  • (Object)

    the current value of final_states



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def final_states
  @final_states
end

#ielr_annotated_statesObject

Returns the value of attribute ielr_annotated_states

Returns:

  • (Object)

    the current value of ielr_annotated_states



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_annotated_states
  @ielr_annotated_states
end

#ielr_annotationsObject

Returns the value of attribute ielr_annotations

Returns:

  • (Object)

    the current value of ielr_annotations



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_annotations
  @ielr_annotations
end

#ielr_final_partitionsObject

Returns the value of attribute ielr_final_partitions

Returns:

  • (Object)

    the current value of ielr_final_partitions



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_final_partitions
  @ielr_final_partitions
end

#ielr_inadequaciesObject

Returns the value of attribute ielr_inadequacies

Returns:

  • (Object)

    the current value of ielr_inadequacies



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_inadequacies
  @ielr_inadequacies
end

#ielr_initial_partitionsObject

Returns the value of attribute ielr_initial_partitions

Returns:

  • (Object)

    the current value of ielr_initial_partitions



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_initial_partitions
  @ielr_initial_partitions
end

#ielr_lalr_statesObject

Returns the value of attribute ielr_lalr_states

Returns:

  • (Object)

    the current value of ielr_lalr_states



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_lalr_states
  @ielr_lalr_states
end

#ielr_remergeable_candidatesObject

Returns the value of attribute ielr_remergeable_candidates

Returns:

  • (Object)

    the current value of ielr_remergeable_candidates



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_remergeable_candidates
  @ielr_remergeable_candidates
end

#ielr_split_stable_discardedObject

Returns the value of attribute ielr_split_stable_discarded

Returns:

  • (Object)

    the current value of ielr_split_stable_discarded



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_split_stable_discarded
  @ielr_split_stable_discarded
end

#ielr_split_statesObject

Returns the value of attribute ielr_split_states

Returns:

  • (Object)

    the current value of ielr_split_states



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_split_states
  @ielr_split_states
end

#ielr_unreachable_removedObject

Returns the value of attribute ielr_unreachable_removed

Returns:

  • (Object)

    the current value of ielr_unreachable_removed



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def ielr_unreachable_removed
  @ielr_unreachable_removed
end

#lr0_itemsObject

Returns the value of attribute lr0_items

Returns:

  • (Object)

    the current value of lr0_items



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def lr0_items
  @lr0_items
end

#lr0_statesObject

Returns the value of attribute lr0_states

Returns:

  • (Object)

    the current value of lr0_states



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def lr0_states
  @lr0_states
end

#propagation_edgesObject

Returns the value of attribute propagation_edges

Returns:

  • (Object)

    the current value of propagation_edges



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def propagation_edges
  @propagation_edges
end

#strategyObject

Returns the value of attribute strategy

Returns:

  • (Object)

    the current value of strategy



7
8
9
# File 'lib/ibex/lalr/build_metrics.rb', line 7

def strategy
  @strategy
end