Example #1
0
 public static bool Resolve(
     Core.Session session,
     Core.DeclFunct funct,
     Core.UseDirective[] useDirectives,
     Grammar.ASTNodeExpr bodyExpr)
 {
     var resolver = new FunctBodyResolver(session, funct, useDirectives);
     resolver.Resolve(bodyExpr);
     return resolver.foundErrors;
 }
Example #2
0
        public static bool Resolve(
            Core.Session session,
            Core.DeclFunct funct,
            Core.UseDirective[] useDirectives,
            Grammar.ASTNodeExpr bodyExpr)
        {
            var resolver = new FunctBodyResolver(session, funct, useDirectives);

            resolver.Resolve(bodyExpr);
            return(resolver.foundErrors);
        }