RE: [cdt-dev] IASTLiteralExpression does not have a getValue() method
In CDT 5 you can use the toString() method to get the literal value.
In CDT 6.0 this is documented in the IASTLiteralExpression interface and there is also a getValue() method.
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of manivannan_pk
> Sent: Wednesday 27 May 2009 12:10
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] IASTLiteralExpression does not have a getValue()
> how do we access the literal value held by it?
> View this message in context:
> Sent from the Eclipse CDT - Development mailing list archive at
> cdt-dev mailing list
The information transmitted is intended only for the person
or entity to which it is addressed and may contain
confidential and/or privileged material. If you are not the
addressee, any disclosure, reproduction, copying,
distribution, or other dissemination or use of this
communication is strictly prohibited. If you have received
this transmission in error please notify the sender
immediately and then delete this email.
Any representations or commitments expressed in this email
are subject to contract.
This message has been scanned for viruses and dangerous
content. However, it is essential that the recipient also
checks this message using commercially available mail
scanning and anti-virus software. IPL Information Processing
Limited accepts no liability for any loss or damage resulting
from any virus or other dangerous content in this message.
IPL Information Processing Limited is registered in England
and Wales under company registration number 1418818.
Registration took place at Cardiff on 10 May 1979. IPL
Information Processing Limited's registered office and
normal place of business is Eveleigh House, Grove Street,
Bath, BA1 5LR, United Kingdom. IPL is also registered for
Value Added Tax (VAT) under registration number GB 601 2931 83.