Class: Ibex::LALR::IELR::SplitState

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#coreObject

Returns the value of attribute core

Returns:

  • (Object)

    the current value of core



8
9
10
# File 'lib/ibex/lalr/ielr/split_state.rb', line 8

def core
  @core
end

#lalr_isocoreObject

Returns the value of attribute lalr_isocore

Returns:

  • (Object)

    the current value of lalr_isocore



8
9
10
# File 'lib/ibex/lalr/ielr/split_state.rb', line 8

def lalr_isocore
  @lalr_isocore
end

#transitionsObject

Returns the value of attribute transitions

Returns:

  • (Object)

    the current value of transitions



8
9
10
# File 'lib/ibex/lalr/ielr/split_state.rb', line 8

def transitions
  @transitions
end

Class Method Details

.newinstance

Parameters:

  • core: (Array[item_core])
  • transitions: (Array[[ Integer, Integer ]])
  • lalr_isocore: (Integer)

Returns:

  • (instance)


10
# File 'sig/ibex/lalr/ielr/split_state.rbs', line 10

def self.new: (core: Array[item_core], transitions: Array[[ Integer, Integer ]], lalr_isocore: Integer) -> instance