Module: Trxl::OffsetAccessExp5

Defined in:
lib/trxl/trxl_grammar.rb

Instance Method Summary collapse

Instance Method Details

#eval(env = Environment.new) ⇒ Object



3895
3896
3897
3898
3899
# File 'lib/trxl/trxl_grammar.rb', line 3895

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