예제 #1
0
 /// <summary>
 /// Fetch variables from global context into current context
 /// </summary>
 /// <param name="variables">Variables that will be fetched</param>
 /// <example>global x,y;</example>
 protected override void fetchFromGlobal(IEnumerable <VariableName> variables)
 {
     foreach (var variable in variables)
     {
         var global = GetOrCreateInfo(variable, VariableKind.Global);
         _locals.Fetch(global);
     }
 }