예제 #1
0
        public static IEnumerable <SymbolExpression> GetGlobalSymbols(this ContainerExpression container)
        {
            var locals  = container.GetLocalSymbols();
            var symbols = container.GetSymbols();

            return(symbols.Where(symbol => !locals.Contains(symbol)));
        }
예제 #2
0
 public static IEnumerable <SymbolExpression> GetLocalSymbols(this ContainerExpression container)
 {
     return(container.GetLocalSymbols(Enumerable.Empty <String>()));
 }