Class: Pione::Lang::OutputDeclaration
- Inherits:
-
Declaration
- Object
- StructX
- Declaration
- Pione::Lang::OutputDeclaration
- Defined in:
- lib/pione/lang/declaration.rb
Overview
OutputDeclaration is a declaration for output condition sentences.
Instance Method Summary collapse
-
#eval(env) ⇒ Object
Append the output condition to the current definition.
Methods inherited from Declaration
Methods included from Util::Positionable
#line_and_column, #pos, #set_source_position
Instance Method Details
#eval(env) ⇒ Object
Append the output condition to the current definition.
221 222 223 |
# File 'lib/pione/lang/declaration.rb', line 221 def eval(env) env.current_definition.outputs << expr end |