private static IParseTree GetScopeBody(string input) { ICharStream cstream = CharStreams.fromstring(input); ITokenSource lexer = new ParadoxLexer(cstream); ITokenStream tokens = new CommonTokenStream(lexer); var parser = new ParadoxParser(tokens); var data = parser.kvPair().children; return(data[2].GetChild(1)); }