Exemplo n.º 1
0
        public static VariableParameter[] FindGivenValues(this LocalVariableScope scope)
        {
            var variables = scope.Names;

            var result = variables
                         .Select(scope.TryGetVariable)
                         .ToArray();

            return(result);
        }
Exemplo n.º 2
0
 public HierarchicalVariableScope(HierarchicalVariableScope parent = null)
 {
     Parent = parent;
     Local  = new LocalVariableScope();
 }
Exemplo n.º 3
0
 public HierarchicalVariableScope(HierarchicalVariableScope parent = null)
 {
     Parent = parent;
     Local = new LocalVariableScope();
 }