coins.ffront
Class ReadStmt

java.lang.Object
  extended bycoins.ffront.FStmt
      extended bycoins.ffront.ReadStmt
All Implemented Interfaces:
Node

class ReadStmt
extends FStmt


Field Summary
(package private)  FirList ciList
           
(package private)  Node fmt_
           
(package private)  boolean fmt_given_
           
(package private)  FirList optIoList
           
 
Fields inherited from class coins.ffront.FStmt
defLabel, fDeclMgr, fESMgr, fHir, fHirUtil, fLine, fSymTable, fTypeUtil, generatedStmts, hir, stmt
 
Constructor Summary
ReadStmt(FirList cList, FirList ioList, int line, FirToHir pfHir)
           
ReadStmt(Node fmt, FirList ioList, int line, FirToHir pfHir)
           
 
Method Summary
 void print(int level, java.lang.String spaces)
           
 void process()
          define optional label and add it to generated statements
 java.lang.String toString()
           
 
Methods inherited from class coins.ffront.FStmt
addGeneratedStmt, addGeneratedStmtFirst, addLabel, addResultTo, dp, getLabelString, getResult, hasNotLabel, makeArgAddr, makeExp, mergeSymTable, preprocess, setLineAndFileInfo, setSymTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ciList

FirList ciList

optIoList

FirList optIoList

fmt_

Node fmt_

fmt_given_

boolean fmt_given_
Constructor Detail

ReadStmt

public ReadStmt(FirList cList,
                FirList ioList,
                int line,
                FirToHir pfHir)

ReadStmt

public ReadStmt(Node fmt,
                FirList ioList,
                int line,
                FirToHir pfHir)
Method Detail

print

public void print(int level,
                  java.lang.String spaces)
Specified by:
print in interface Node
Overrides:
print in class FStmt

toString

public java.lang.String toString()
Specified by:
toString in interface Node
Overrides:
toString in class FStmt

process

public void process()
Description copied from class: FStmt
define optional label and add it to generated statements

Overrides:
process in class FStmt