Exemplo n.º 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 ();
        }
Exemplo n.º 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();
        }