Class: Pione::Lang::FeaturePiece

Inherits:
Piece
  • Object
show all
Defined in:
lib/pione/lang/feature-expr.rb

Direct Known Subclasses

CompoundFeature, SimpleFeature, SpecialFeature

Class Method Summary collapse

Methods inherited from Piece

#eval, piece_type_name, #textize

Methods included from Util::Positionable

#line_and_column, #pos, #set_source_position

Class Method Details

.feature_type(val = nil) ⇒ Object



10
11
12
# File 'lib/pione/lang/feature-expr.rb', line 10

def feature_type(val = nil)
  val ? @feature_type = val : @feature_type
end