coins.backend
クラス ModuleElement

java.lang.Object
  |
  +--coins.backend.ModuleElement
直系の既知のサブクラス:
Data, Function

public abstract class ModuleElement
extends java.lang.Object

Common attributes of Function/Data, components of Module.


フィールドの概要
 Module module
          Module this element belongs to
 Root root
          Collection of global variables.
 int sourceLineNo
          Source line position.
 SymStatic symbol
          Symbol table entry of this element.
 
コンストラクタの概要
(パッケージプライベート) ModuleElement(Module module, java.lang.String name)
          Initialize fields.
(パッケージプライベート) ModuleElement(Module module, SymStatic symbol)
          Initialize fields.
 
メソッドの概要
abstract  void printIt(java.io.PrintWriter out)
          Print for debugging.
abstract  void printIt(java.io.PrintWriter out, LocalAnalyzer[] anals)
          Print for debugging with specified analysis.
abstract  void printStandardForm(java.io.PrintWriter out)
          Print in standard form.
abstract  java.lang.Object toSexp()
          Convert to external LIR format.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

module

public final Module module
Module this element belongs to


root

public final Root root
Collection of global variables.


symbol

public final SymStatic symbol
Symbol table entry of this element.


sourceLineNo

public final int sourceLineNo
Source line position.

コンストラクタの詳細

ModuleElement

ModuleElement(Module module,
              java.lang.String name)
        throws SyntaxError
Initialize fields.


ModuleElement

ModuleElement(Module module,
              SymStatic symbol)
Initialize fields.

メソッドの詳細

toSexp

public abstract java.lang.Object toSexp()
Convert to external LIR format.


printStandardForm

public abstract void printStandardForm(java.io.PrintWriter out)
Print in standard form.


printIt

public abstract void printIt(java.io.PrintWriter out)
Print for debugging.


printIt

public abstract void printIt(java.io.PrintWriter out,
                             LocalAnalyzer[] anals)
Print for debugging with specified analysis.