coins.ast.expr
クラス OperatorExpr

java.lang.Object
  |
  +--coins.ast.ASTree
        |
        +--coins.ast.expr.OperatorExpr
すべての実装インタフェース:
Expr, java.io.Serializable
直系の既知のサブクラス:
BinaryExpr, NnaryExpr, UnaryExpr

public abstract class OperatorExpr
extends ASTree
implements Expr

Expressions including an operator.

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

コンストラクタの概要
OperatorExpr()
           
 
メソッドの概要
protected  java.lang.String getTag()
          Returns the type of this node.
abstract  int operatorId()
          Returns the token identifier of the operator name.
abstract  java.lang.String operatorName()
          Returns the string representation of the operator name.
 
クラス coins.ast.ASTree から継承したメソッド
accept, getLeft, getRight, putSeparator, rightToString, setLeft, setRight, toString, toString1
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース coins.ast.Expr から継承したメソッド
getType
 

コンストラクタの詳細

OperatorExpr

public OperatorExpr()
メソッドの詳細

operatorId

public abstract int operatorId()
Returns the token identifier of the operator name. See ast.TokenId


operatorName

public abstract java.lang.String operatorName()
Returns the string representation of the operator name.


getTag

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

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