abstract-syntax-tree
In Groovy Eclipse, is it possible to get intellisense for methods added through an AST transformation?
In Groovy Eclipse, is it possible to get intellisense 开发者_运维技巧for methods added through an AST transformation?[详细]
2023-02-03 10:26 分类:问答How do I add a warning with Groovy AST transformations?
I see on the SourceUnit object that I can addError(SyntaxException)开发者_如何学Go, but how do I add a warning?[详细]
2023-02-01 00:43 分类:问答Groovy AST Transformations - How can I figure out the return type of a MethodCallExpression?
With Groovy AST Transformations, how can I figure out the return type 开发者_如何学Pythonof a MethodCallExpression?[详细]
2023-01-31 18:41 分类:问答What can be used instead of ast module?
In my project I evaluate a json data to extract information. The code is as follows : conn = httplib.HTTPConnection(host)[详细]
2023-01-31 10:29 分类:问答Building a control-flow graph from an AST with a visitor pattern using Java
I\'m trying to figure out how to implement my LEParserCfgVisitor class as to build a control-flow graph from an Abstract-Syntax-Tree already generated with JavaCC. I know there are tools that already[详细]
2023-01-31 03:29 分类:问答In an AST Visitor, how can I know which node's property I am visiting?
I\'m programming an AST Visitor (eclipse JDT). An EnumDeclaration node contains the following structural properties:[详细]
2023-01-30 06:43 分类:问答How to find usages of an identifer in an AST?
Given the following AST definition and sample code, what would be the best algorithm to find all the usages of an identifier given its position in the tree ?[详细]
2023-01-29 23:11 分类:问答What does the accept() method of ASTNode do and how does it use the ASTVisitor?
What does the accept method of ASTNode do (The javadoc didn\'t help too much...) and when will the visit(Expression node) method be called?[详细]
2023-01-28 08:00 分类:问答Optional rewrite rule for AST in ANTLR
I have a problem while building AST in ANTLR (I\'m using ANTLR 3.2, ANTLRWorks 1.4). This is my grammar:[详细]
2023-01-27 20:51 分类:问答Compile subsection of Jinja2 AST
Can one compile or revert a portion of the Jinja2 AST? For example, is it possible to call a function or method from jinja2.environment or jinja2.compiler.generate开发者_高级运维 or some equivalent o[详细]
2023-01-27 07:02 分类:问答