lib/ruote/exp/ro_variables.rb
def locate_set_var(var, override)

      hk = h.variables && h.variables.has_key?(var)

      if ( ! override) || var.match(/^\//)
        false
      elsif override == 'sub' && DefineExpression.is_definition?(tree) && ! hk
        false
      elsif hk
        [ self, var ]
      elsif par = parent
        par.locate_set_var(var, override)
      else
        false
      end
    end
# When used with override = true(ish), will try to locate the binding site
# for the variable and return it.
#
# If override is set to 'sub', will stop before digging into the parent
# subprocess.
#
When used with override = true(ish), will try to locate the binding site
for the variable and return it.

If override is set to 'sub', will stop before digging into the parent
subprocess.
When used with override = true ( ish ) will try to locate the binding site for the variable and return it . If override is set to ' sub ' will stop before digging into the parent subprocess .
def locate_set_var(var, override)
      hk = h.variables && h.variables.has_key?(var)
      if ( ! override) || var.match(/^\//)
        false
      elsif override == 'sub' && DefineExpression.is_definition?(tree) && ! hk
        false
      elsif hk
        [ self, var ]
      elsif par = parent
        par.locate_set_var(var, override)
      else
        false
      end
    end
def locate_set_var ( var , override ) hk = h . variables && h . variables . has_key? ( var ) if ( ! override ) || var . match ( / ^ \/ / ) false elsif override == 'sub' && DefineExpression . is_definition? ( tree ) && ! hk false elsif hk [ self , var ] elsif par = parent par . locate_set_var ( var , override ) else false end end
When used with override = true(ish), will try to locate the binding site
for the variable and return it.
When used with override = true ( ish ) will try to locate the binding site for the variable and return it .
var
override