Class: L43Rmap::Parsing::ParseState

Inherits:
Object
  • Object
show all
Extended by:
L43::OpenObject
Defined in:
lib/l43_rmap/parsing/parse_state.rb

Instance Method Summary collapse

Instance Method Details

#deconstructObject



10
# File 'lib/l43_rmap/parsing/parse_state.rb', line 10

def deconstruct(*) = [ast, input]

#showObject



12
13
14
# File 'lib/l43_rmap/parsing/parse_state.rb', line 12

def show
  $stderr.puts({ast: ast.map(&:to_h), input: input.current}.inspect)
end