Class: Pione::Lang::ConstraintDeclaration
- Inherits:
-
Declaration
- Object
- StructX
- Declaration
- Pione::Lang::ConstraintDeclaration
- Defined in:
- lib/pione/lang/declaration.rb
Instance Method Summary collapse
Methods inherited from Declaration
Methods included from Util::Positionable
#line_and_column, #pos, #set_source_position
Instance Method Details
#eval(env) ⇒ Object
237 238 239 |
# File 'lib/pione/lang/declaration.rb', line 237 def eval(env) env.current_definition.constraints << expr end |