Esempio n. 1
0
        public static HashSet <Variable> GetVariables(Absy node)
        {
            var vu = new VarsUsed();

            vu.Visit(node);
            return(vu.Vars);
        }
Esempio n. 2
0
        public static HashSet <string> GetVarsUsed(Absy node)
        {
            var vu = new VarsUsed();

            vu.Visit(node);
            return(vu.varsUsed);
        }