public static List <Type> GetImports(BRAQParser.ProgramContext context) { var visitor = new ImportVisitor(); context.Accept(visitor); return(visitor._imported_names); }
public static void runChecks(BRAQParser.ProgramContext context) { context.Accept(new BreakContinueChecker()); }