|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Expression that may be an l-value.
Suppose that an expression is VariableExpr.
If the expression represents an int variable,
it is an l-value. However, if it represents an array name,
then it is not an l-value. For example,
int a[10]; a = ... ; // a is not an l-value. a[0] = ... ; // a[0] is an l-value.
Even if the class of an expression implements
LvalueExpr, that expression may not be an l-value.
isLvalue() returns true only if that expression
is really an l-value.
| メソッドの概要 | |
boolean |
hasAddress()
Returns true if the expression can be an operand of '&'. |
boolean |
isLvalue()
Returns true if the expression is really an l-value. |
| インタフェース coins.ast.Expr から継承したメソッド |
getType |
| メソッドの詳細 |
public boolean isLvalue()
public boolean hasAddress()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||