示例#1
0
        public static List <Type> GetImports(BRAQParser.ProgramContext context)
        {
            var visitor = new ImportVisitor();

            context.Accept(visitor);
            return(visitor._imported_names);
        }
示例#2
0
 public static void runChecks(BRAQParser.ProgramContext context)
 {
     context.Accept(new BreakContinueChecker());
 }