Eclipse CDT
7.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
 org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPEvaluation getEvaluation()
          Returns the evaluation object if this value is dependent, or null otherwise.
 char[] getInternalExpression()
          Deprecated. Returns an empty character array.
 char[] getSignature()
          Returns a signature uniquely identifying the value.
 IBinding[] getUnknownBindings()
          Deprecated. Returns an empty array.
 java.lang.Long numericalValue()
          Returns the value as a number, or null if it is not possible.
 

Method Detail

numericalValue

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


getEvaluation

org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPEvaluation getEvaluation()
Returns the evaluation object if this value is dependent, or null otherwise. If numericalValue() returns null, getEvaluation() returns not null and vice versa.


getSignature

char[] getSignature()
Returns a signature uniquely identifying the value. Two values with identical signatures are guaranteed to be equal.


getInternalExpression

@Deprecated
char[] getInternalExpression()
Deprecated. Returns an empty character array.


getUnknownBindings

@Deprecated
IBinding[] getUnknownBindings()
Deprecated. Returns an empty array.


Eclipse CDT
7.0

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