Class: Pione::Lang::SimplePiece
- Defined in:
- lib/pione/lang/piece.rb
Overview
SimplePiece is a piece of sequence that has single value elements.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Piece
Methods included from Util::Positionable
#line_and_column, #pos, #set_source_position
Instance Method Details
#inspect ⇒ Object
37 38 39 |
# File 'lib/pione/lang/piece.rb', line 37 def inspect "#%s{value=%s}" % [piece_type_name, value.to_s] end |
#textize ⇒ Object
33 34 35 |
# File 'lib/pione/lang/piece.rb', line 33 def textize "#%s{value=%s}" % [piece_type_name, value.textize] end |