[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-core-dev] extended operands in infix expressions - compiler AST output
|
I think the specs is clear in the InfixExpression javadoc. My message was
simply an attempt to clarify these.
Olivier
"Jim des Rivieres"
<Jim_des_Rivieres@o To: jdt-core-dev@xxxxxxxxxxx
ti.com> cc:
Sent by: Subject: Re: [jdt-core-dev] extended operands in infix expressions - compiler AST output
jdt-core-dev-admin@
eclipse.org
18/09/2002 11:31 AM
Please respond to
jdt-core-dev
Rory, From the API perspective, the spec for AST.parseCompilationUnit
does not specify the exact representation used for infix expressions. A
wise client should not depend it being one way or another, even though as
Olivier points out, the AST.parseCompilationUnit implementation does return
extended operands wherever possible. If you were constructing or editing an
infix expression AST by hand, you would have some flexibility.
Do you have a case where it would make a difference to clients if the spec
was more specific in this regard?
---Jeem