coins.ast.expr
インタフェース LvalueExpr

すべてのスーパーインタフェース:
Expr
既知の実装クラスの一覧:
ArrayExpr, CommaExpr, ConditionalExpr, DereferenceExpr, MemberExpr, StringLiteral, VariableExpr

public interface LvalueExpr
extends Expr

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,

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
 

メソッドの詳細

isLvalue

public boolean isLvalue()
Returns true if the expression is really an l-value.


hasAddress

public boolean hasAddress()
Returns true if the expression can be an operand of '&'.