Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast
Interface IValue


public interface IValue

Models a value of a variable, enumerator or expression.

Since:
5.1

Method Summary
 char[] getInternalExpression()
          Returns an internal representation of the expression that builds up the value.
 char[] getSignature()
          Returns a signature containing both the internal representation and the unknown bindings.
 IBinding[] getUnknownBindings()
          A value may be dependent on template parameters, in which case a list of unknown bindings is maintained for later instantiation.
 java.lang.Long numericalValue()
          Returns the value as a number, or null if this is not possible.
 

Method Detail

numericalValue

java.lang.Long numericalValue()
Returns the value as a number, or null if this is not possible.


getInternalExpression

char[] getInternalExpression()
Returns an internal representation of the expression that builds up the value. It is suitable for instantiating dependent values but may not be used for the purpose of displaying values.


getUnknownBindings

IBinding[] getUnknownBindings()
A value may be dependent on template parameters, in which case a list of unknown bindings is maintained for later instantiation.


getSignature

char[] getSignature()
Returns a signature containing both the internal representation and the unknown bindings. The representation is sufficient to distinguish values for the purpose of instantiation, it may not be used to display the value.


Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.