coins.ast.expr
クラス AddressExpr

java.lang.Object
  |
  +--coins.ast.ASTree
        |
        +--coins.ast.expr.OperatorExpr
              |
              +--coins.ast.expr.UnaryExpr
                    |
                    +--coins.ast.expr.AddressExpr
すべての実装インタフェース:
Expr, java.io.Serializable

public class AddressExpr
extends UnaryExpr

'&' Expression for computing the address of the operand.

関連項目:
直列化された形式

フィールドの概要
 
クラス coins.ast.expr.UnaryExpr から継承したフィールド
expr
 
コンストラクタの概要
AddressExpr(Expr expr, byte[] _type)
           
 
メソッドの概要
 void accept(Visitor v)
          Is a method for the visitor pattern.
protected  java.lang.String getTag()
          Returns the type of this node.
 byte[] getType()
          Returns the type of the resulting value of evaluating the expression.
 int operatorId()
          Returns the token identifier of the operator name.
 java.lang.String operatorName()
          Returns the string representation of the operator name.
 
クラス coins.ast.expr.UnaryExpr から継承したメソッド
getExpr, getLeft, getRight, setLeft, setRight
 
クラス coins.ast.ASTree から継承したメソッド
putSeparator, rightToString, toString, toString1
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

AddressExpr

public AddressExpr(Expr expr,
                   byte[] _type)
メソッドの詳細

accept

public void accept(Visitor v)
クラス ASTree の記述:
Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.

定義:
クラス ASTree 内の accept

getType

public byte[] getType()
インタフェース Expr の記述:
Returns the type of the resulting value of evaluating the expression. See ast.TypeId

戻り値:
the encoded type.

operatorId

public int operatorId()
クラス OperatorExpr の記述:
Returns the token identifier of the operator name. See ast.TokenId

定義:
クラス OperatorExpr 内の operatorId

operatorName

public java.lang.String operatorName()
クラス OperatorExpr の記述:
Returns the string representation of the operator name.

定義:
クラス OperatorExpr 内の operatorName

getTag

protected java.lang.String getTag()
クラス ASTree の記述:
Returns the type of this node. This method is used by toString().

オーバーライド:
クラス OperatorExpr 内の getTag