This content has been marked as final.
Show 2 replies
-
1. Re: Why is there no LocalVarAccess just like FieldAccess Exp
chiba Mar 6, 2005 10:04 AM (in response to rezahay)Yes, you can implement LocalVarAccess with the low-level
API. -
2. Re: Why is there no LocalVarAccess just like FieldAccess Exp
rezahay Mar 9, 2005 11:43 AM (in response to rezahay)Thank you Mr. Chiba for your response. I have another question which is almost the same as my previous question.
Why is there no Expr class for logical-expressions, arithmetic-expressions, and things like them? I want to analyse a code-line (as a Abstract Syntax Tree) to see what kind expressions a given code-line contains. I can now know whether an expression is a method-call, new, cast, instanceOf, fieldAccess, but not if it's a logical-expression, using the high-level API.
I think, I can use the low-level API to realise that kind of analysis. Am I right? Is it valuable to make high-level API for that kind expressions?
I appriciate very much your valuable responses.
Thanks