Class: Pione::Lang::SimpleFeature
- Inherits:
-
FeaturePiece
- Object
- StructX
- Piece
- FeaturePiece
- Pione::Lang::SimpleFeature
- Defined in:
- lib/pione/lang/feature-expr.rb
Overview
SimpleFeature is a feature that consists prefix and name.
Direct Known Subclasses
BlockingFeature, PossibleFeature, PreferredFeature, RequisiteFeature, RestrictiveFeature
Class Method Summary collapse
-
.prefix(val = nil) ⇒ Object
Return the operator symbol.
Instance Method Summary collapse
Methods inherited from FeaturePiece
Methods inherited from Piece
Methods included from Util::Positionable
#line_and_column, #pos, #set_source_position
Class Method Details
Instance Method Details
#textize ⇒ Object
72 73 74 |
# File 'lib/pione/lang/feature-expr.rb', line 72 def textize "%s%s" % [prefix, name] end |