|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ast.ASTree | +--coins.ast.expr.VariableExpr
Variable.
コンストラクタの概要 | |
VariableExpr(Declarator d)
|
メソッドの概要 | |
void |
accept(Visitor v)
Is a method for the visitor pattern. |
Declarator |
getDeclarator()
Returns the declarator of the variable. |
ASTree |
getLeft()
Returns null. |
ASTree |
getRight()
Returns null. |
byte[] |
getType()
Returns the type of the resulting value of evaluating the expression. |
boolean |
hasAddress()
Returns true if the expression can be an operand of '&'. |
boolean |
isLvalue()
Returns true if the expression is really an l-value. |
void |
setLeft(ASTree _left)
|
void |
setRight(ASTree _right)
|
java.lang.String |
toString()
|
クラス coins.ast.ASTree から継承したメソッド |
getTag, putSeparator, rightToString, toString1 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public VariableExpr(Declarator d)
メソッドの詳細 |
public boolean isLvalue()
LvalueExpr
の記述:
LvalueExpr
内の isLvalue
public boolean hasAddress()
LvalueExpr
の記述:
LvalueExpr
内の hasAddress
public void accept(Visitor v)
ASTree
の記述: atXXX()
on the given visitor, where
XXX
is the class name of the node object.
ASTree
内の accept
public ASTree getLeft()
ASTree
内の getLeft
public ASTree getRight()
ASTree
内の getRight
public void setLeft(ASTree _left)
ASTree
内の setLeft
public void setRight(ASTree _right)
ASTree
内の setRight
public byte[] getType()
Expr
の記述:
Expr
内の getType
public Declarator getDeclarator()
public java.lang.String toString()
ASTree
内の toString
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |