Module: Trxl::OffsetAccessExp3

Defined in:
lib/trxl/trxl_grammar.rb

Instance Method Summary collapse

Instance Method Details

#eval(env = Environment.new) ⇒ Object



3877
3878
3879
3880
3881
# File 'lib/trxl/trxl_grammar.rb', line 3877

def eval(env = Environment.new)
  offsets = offset_specifier_exp.eval(env)
  ruby_array = pattern_match_exp.eval(env)
  left_associative_apply(ruby_array, offsets)
end