abstract-syntax-tree
ASTParser dependencies
I\'m trying to learn ASTParser with the help of this tutorial. When I compile the first slice of code:[详细]
2023-02-19 13:41 分类:问答How to get an ICopmpilationUnit from the current Editor in the screen - Eclipse
开发者_开发技巧i ve been trying to get/create an ICompilationUnit from the source code shown in the Editor,[详细]
2023-02-17 11:30 分类:问答Need help in creating AST from cup in Java
I need to create AST in my code. I created classes Node and AST like helper class. public class Node {[详细]
2023-02-16 22:50 分类:问答Can I get an XML AST dump of C/C++ code with clang without using the compiler?
I managed to compile successfully clang for windows with cmake and visual studio 10. I would like to get an XML file as AST representation of the source code. There is one option that provides the res[详细]
2023-02-16 17:54 分类:问答Java (or bytecode) AST generators available so that I can run a couple of Visitors on top of its result?
I am looking for a tool that\'ll take either a .java source code file, or .class or .jar and parses it, generating an AST(abstract syntax tree), so I can play with it. I intend to create a couple of V[详细]
2023-02-14 20:30 分类:问答Expressions in a CoCo to ANTLR translator
I\'m parsing CoCo/R grammars in a utility to automate CoCo -> ANTLR translation. The core ANTLR grammar is:[详细]
2023-02-14 04:18 分类:问答ASTParser order of method calls
I\'m using ASTParser to parse a java source code in a project . I managed to get the name and the return type of all the methods in the diffrent classes of my java project . I\'m now wondering if it\'[详细]
2023-02-14 04:03 分类:问答How to make use of Clang's AST?
I am looking at making use of the Clang\'s AST for my C code and do some analysis over the AST. Some pointers on where to start, how to obtain the Clang\'s AST, tutorials or an开发者_运维问答ything in[详细]
2023-02-13 21:34 分类:问答AST traversal in visitor or in the nodes?
Update accepted Ira Baxter\'s answer since it pointed me into the right direction: I first figured out what I actually needed by starting the implementation of the compiling stage, and it became obvio[详细]
2023-02-13 06:04 分类:问答How to detect I/O in python source code(standard library way of I/O)
I\'m build an optimizing compiler for a small subset of python code for my final year project. First thing I\'m doing is testing whether 开发者_运维技巧a variable is involved in or leads to I/O. If I[详细]
2023-02-11 13:55 分类:问答