Class: Pione::Lang::FeatureDeclaration

Inherits:
Declaration
  • Object
show all
Defined in:
lib/pione/lang/declaration.rb

Instance Method Summary collapse

Methods inherited from Declaration

#eval!, inherited

Methods included from Util::Positionable

#line_and_column, #pos, #set_source_position

Instance Method Details

#eval(env) ⇒ Object



229
230
231
# File 'lib/pione/lang/declaration.rb', line 229

def eval(env)
  env.current_definition.features << expr
end