eclipse - How to know if a PostfixExpression belongs to a for statement? -
I am using Exclier parser to work with expressions and statements in Java code.
/ Code>; The problem I want to differentiate between a How to identify any idea that Thanks Edit: " I therefore use this Can not just call Public Boolean Visit (Postfix Experiment Node)
statement for postfix, and other postfixes. I thought I might go to
node and I can check it in any way that it is
for
Node.getParent () ... but
expression does not return anything like .getParent () .
PostfixExpression is related to a
loop ?
Postfix for the password" means i
loop The first line of code> is the postfix. For example:
For
(i = 0; i <10; i ++)
i ++ I want to separate from other
i ++ .
ASTNode.getParent () view it For what kind of expression is in expression?
Comments
Post a Comment