예제 #1
0
        public InterfaceExtruder(string objcFileContent)
        {
            content = objcFileContent;
            var input = new AntlrInputStream (content);
            lexer = new ObjCLexer (input);
            tokens = new CommonTokenStream (lexer);
            parser = new ObjCParser (tokens);

            listner = new ObjCListnerImpl ();
            walker = new ParseTreeWalker ();
        }
예제 #2
0
        public InterfaceExtruder(string objcFileContent)
        {
            content = objcFileContent;
            var input = new AntlrInputStream(content);

            lexer  = new ObjCLexer(input);
            tokens = new CommonTokenStream(lexer);
            parser = new ObjCParser(tokens);

            listner = new ObjCListnerImpl();
            walker  = new ParseTreeWalker();
        }