class Pione::Lang::FlowContext

FlowContext is a context for flow rule body.

Public Instance Methods

eval(env) click to toggle source

Evaluate the flow context. Return a new definition of constituent rule set.

Calls superclass method Pione::Lang::StructuralContext#eval
# File lib/pione/lang/context.rb, line 206
def eval(env)
  ConstituentRuleSet.new.tap do |definition|
    env.temp(current_definition: definition) {|_env| super(_env)}
  end
end