coins.cfront
インタフェース Backend


public interface Backend

Backend compiler. See cfront.Parser#runParser(String)


メソッドの概要
 void compile(ASTList tree)
          Compiles a parse tree.
 void doEpilogue()
          Finishes compilation.
 

メソッドの詳細

compile

public void compile(ASTList tree)
             throws StopException
Compiles a parse tree.

If a parser reads a top-level declaration, then it calls this method with a parse tree representing that declaration. If this method throws StopException, the compilation is terminated.

StopException

doEpilogue

public void doEpilogue()
Finishes compilation.

A parser calls this method after reading the whole source program.