Class: Pione::Lang::InputDeclaration
- Inherits:
-
Declaration
- Object
- StructX
- Declaration
- Pione::Lang::InputDeclaration
- Defined in:
- lib/pione/lang/declaration.rb
Overview
InputDeclaration is a declaration for input condition sentences.
Instance Method Summary collapse
-
#eval(env) ⇒ Object
Append the input 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 input condition to the current definition.
211 212 213 |
# File 'lib/pione/lang/declaration.rb', line 211 def eval(env) env.current_definition.inputs << expr end |