Class: Pione::Lang::PioneString

Inherits:
SimplePiece show all
Defined in:
lib/pione/lang/string.rb

Overview

PioneString is a string value in PIONE system.

Instance Method Summary collapse

Methods inherited from SimplePiece

#inspect, #textize

Methods inherited from Piece

piece_type_name, #textize

Methods included from Util::Positionable

#line_and_column, #pos, #set_source_position

Instance Method Details

#eval(env) ⇒ Object

Expand embeded expressions.



8
9
10
# File 'lib/pione/lang/string.rb', line 8

def eval(env)
  set(value: Util::EmbededExprExpander.expand(env, value))
end