Class: Aurum::Builder::Configuration
- Inherits:
-
Struct
- Object
- Struct
- Aurum::Builder::Configuration
- Defined in:
- lib/aurum/grammar/builder/parsing_table_builder.rb
Instance Attribute Summary collapse
-
#state ⇒ Object
Returns the value of attribute state.
-
#symbol ⇒ Object
Returns the value of attribute symbol.
Instance Method Summary collapse
Instance Attribute Details
#state ⇒ Object
Returns the value of attribute state
136 137 138 |
# File 'lib/aurum/grammar/builder/parsing_table_builder.rb', line 136 def state @state end |
#symbol ⇒ Object
Returns the value of attribute symbol
136 137 138 |
# File 'lib/aurum/grammar/builder/parsing_table_builder.rb', line 136 def symbol @symbol end |
Instance Method Details
#map_to_set ⇒ Object
137 138 139 |
# File 'lib/aurum/grammar/builder/parsing_table_builder.rb', line 137 def map_to_set state.read_set(symbol) end |
#result_each ⇒ Object
141 142 143 |
# File 'lib/aurum/grammar/builder/parsing_table_builder.rb', line 141 def result_each state.include_each(symbol) {|state, symbol| yield Configuration.new(state, symbol)} end |