public static enum IASTExpression.ValueCategory extends java.lang.Enum<IASTExpression.ValueCategory>
Enum Constant and Description |
---|
LVALUE
Traditional lvalue
|
PRVALUE
Pure rvalue.
|
XVALUE
Expiring value as introduced by c++11.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final IASTExpression.ValueCategory LVALUE
public static final IASTExpression.ValueCategory XVALUE
public static final IASTExpression.ValueCategory PRVALUE
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 namejava.lang.NullPointerException
- if the argument is nullpublic boolean isRValue()
public boolean isGLValue()
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.