coins.lir2c
クラス MakeDecl

java.lang.Object
  |
  +--coins.lir2c.MakeDecl

public class MakeDecl
extends java.lang.Object

MakeDecl: make declaration of C from Symbol object. now it only supports SymAuto objects.


コンストラクタの概要
MakeDecl()
          Constructor(with no arg)
 
メソッドの概要
static java.lang.String makeDeclAuto(Symbol sym)
          makeDeclAuto: static method for making declaration of C code from SymAuto object.
static Decla makeDeclStatic(Symbol sym, Data data)
          makeDeclStatic: static method for making declaration of C code from SymStatic object and Data object.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MakeDecl

public MakeDecl()
Constructor(with no arg)

メソッドの詳細

makeDeclAuto

public static java.lang.String makeDeclAuto(Symbol sym)
makeDeclAuto: static method for making declaration of C code from SymAuto object.

戻り値:
the string of C declaration.

makeDeclStatic

public static Decla makeDeclStatic(Symbol sym,
                                   Data data)
makeDeclStatic: static method for making declaration of C code from SymStatic object and Data object.

パラメータ:
sym - a Symbol object that makes a C declaration. it must be a SymStatic object.
data - a Data object that makes a C declaration.
戻り値:
the Decla object that contains C declaration.