checker.checkDupFieldNames(prog, streamNames); checker.checkStatementPlacement(prog);
    public static boolean check(Program prog)    {        SemanticChecker checker = new SemanticChecker();        Map streamNames = checker.checkStreamNames(prog);        return checker.good;    }