coins.ast.expr
クラス FloatConstantExpr

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

public class FloatConstantExpr
extends ConstantExpr

Constant class of floating type.

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

フィールドの概要
(パッケージプライベート)  double fValue
           
 
クラス coins.ast.expr.ConstantExpr から継承したフィールド
fType
 
インタフェース coins.ast.TypeId から継承したフィールド
ARRAY_T, CHAR_T, CONST_T, DOUBLE_T, ELLIPSIS_T, ENUM_BEGIN, ENUM_END, FLOAT_T, FUNCTION_T, INT_T, LONG_DOUBLE_T, LONG_LONG_T, LONG_T, NO_DIMENSION_T, OFFSET_T, POINTER_T, RESTRICT_T, RETURN_T, S_AUTO, S_EXTERN, S_INLINE, S_NONE, S_REGISTER, S_STATIC, SHORT_T, SIGNED_T, SIZE_T, STRUCT_BEGIN, STRUCT_END, UNION_BEGIN, UNION_END, UNSIGNED_T, VOID_T, VOLATILE_T
 
コンストラクタの概要
FloatConstantExpr(double value, char type)
           
 
メソッドの概要
 double doubleValue()
           
 char getSignChar()
           
 char getTypeChar()
           
 long longValue()
           
 java.lang.String toString()
           
 
クラス coins.ast.expr.ConstantExpr から継承したメソッド
accept, getLeft, getRight, getType, setLeft, setRight
 
クラス coins.ast.ASTree から継承したメソッド
getTag, putSeparator, rightToString, toString1
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

fValue

double fValue
コンストラクタの詳細

FloatConstantExpr

public FloatConstantExpr(double value,
                         char type)
メソッドの詳細

toString

public java.lang.String toString()
オーバーライド:
クラス ASTree 内の toString

longValue

public long longValue()
定義:
クラス ConstantExpr 内の longValue

doubleValue

public double doubleValue()
定義:
クラス ConstantExpr 内の doubleValue

getSignChar

public char getSignChar()
定義:
クラス ConstantExpr 内の getSignChar

getTypeChar

public char getTypeChar()
定義:
クラス ConstantExpr 内の getTypeChar