Class: Ibex::LALR::ConflictSearch::Configuration

Inherits:
Struct
  • Object
show all
Defined in:
lib/ibex/lalr/conflict_search.rb,
sig/ibex/lalr/conflict_search.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nodesObject

Returns the value of attribute nodes

Returns:

  • (Object)

    the current value of nodes



13
14
15
# File 'lib/ibex/lalr/conflict_search.rb', line 13

def nodes
  @nodes
end

#statesObject

Returns the value of attribute states

Returns:

  • (Object)

    the current value of states



13
14
15
# File 'lib/ibex/lalr/conflict_search.rb', line 13

def states
  @states
end

Class Method Details

.new(states:, nodes:) ⇒ instance .new(arg0) ⇒ instance

Overloads:

  • .new(states:, nodes:) ⇒ instance

    Parameters:

    • states: (Array[Integer])
    • nodes: (Array[derivation_node])

    Returns:

    • (instance)
  • .new(arg0) ⇒ instance

    Parameters:

    • arg0 ({ ?states: Array[Integer], ?nodes: Array[derivation_node] })

    Returns:

    • (instance)


19
20
# File 'sig/ibex/lalr/conflict_search.rbs', line 19

def self.new: (?states: Array[Integer], ?nodes: Array[derivation_node]) -> instance
| ({ ?states: Array[Integer], ?nodes: Array[derivation_node] }) -> instance