|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IASTExpression.ValueCategory>
org.eclipse.cdt.core.dom.ast.IASTExpression.ValueCategory
public static enum IASTExpression.ValueCategory
Enum Constant Summary | |
---|---|
LVALUE
Traditional lvalue |
|
PRVALUE
Pure rvalue. |
|
XVALUE
Expiring value as introduced by c++11. |
Method Summary | |
---|---|
boolean |
isGLValue()
A generalized lvalue is either an lvalue or an xvalue. |
boolean |
isRValue()
Both prvalues and xvalues are rvalues. |
static IASTExpression.ValueCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IASTExpression.ValueCategory[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IASTExpression.ValueCategory LVALUE
public static final IASTExpression.ValueCategory XVALUE
public static final IASTExpression.ValueCategory PRVALUE
Method Detail |
---|
public static IASTExpression.ValueCategory[] values()
for (IASTExpression.ValueCategory c : IASTExpression.ValueCategory.values()) System.out.println(c);
public static IASTExpression.ValueCategory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic boolean isRValue()
public boolean isGLValue()
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |