org.erights.e.elang.smallcaps
Interface SmallcapsEmitter

All Known Implementing Classes:
SmallcapsEncoder

public interface SmallcapsEmitter

Untamed:


Method Summary
 void associateSourceLocation(int lowLabel, int highLabel, SourceSpan span)
          Enabled: Record that `span' in source produced lowLabel..!highLabel.
 void emitAssign(int addressingMode, int index)
          Enabled:
 void emitBind(int addressingMode, int index, boolean slot)
          Enabled:
 void emitBranch()
          Enabled:
 void emitCall(String verb, int arity, boolean only)
          Enabled:
 void emitCdrPatt(int n)
          Enabled:
 void emitChar(char chr)
          Enabled:
 void emitContourTop()
          Enabled: Emit the header preceding the top of an allocation contour, such as a top-level expression, a method head & body, or a matcher head & body.
 void emitDup()
          Enabled:
 void emitEjector(int label)
          Enabled:
 void emitEjectorOnly(int label)
          Enabled:
 void emitEndHandler()
          Enabled:
 void emitFalse()
          Enabled:
 void emitFloat64(double float64)
          Enabled:
 void emitInteger(BigInteger integer)
          Enabled:
 void emitJump(int label)
          Enabled:
 void emitListPatt(int n)
          Enabled:
 void emitLiteral(Object obj)
          Enabled:
 void emitNoun(int addressingMode, int index, boolean slot)
          Enabled:
 void emitNull()
          Enabled:
 void emitObject(String docComment, String optFQN, EExpr[] auditors, EScript eScript)
          Enabled:
 void emitPop()
          Enabled:
 void emitRot()
          Enabled:
 void emitScope()
          Enabled:
 void emitSend(String verb, int arity, boolean only)
          Enabled:
 void emitString(String str)
          Enabled:
 void emitSwap()
          Enabled:
 void emitTrue()
          Enabled:
 void emitTry(int label)
          Enabled:
 void emitUnwind(int label)
          Enabled:
 int getLabel()
          Enabled: Return a value representing the current position in the code buffer.
 

Method Detail

getLabel

public int getLabel()
Enabled: Return a value representing the current position in the code buffer.

This is *not* an address; it's an opaque value used as an argument to emitJump(), etc.


associateSourceLocation

public void associateSourceLocation(int lowLabel,
                                    int highLabel,
                                    SourceSpan span)
Enabled: Record that `span' in source produced lowLabel..!highLabel.


emitContourTop

public void emitContourTop()
Enabled: Emit the header preceding the top of an allocation contour, such as a top-level expression, a method head & body, or a matcher head & body.


emitDup

public void emitDup()
Enabled:


emitPop

public void emitPop()
Enabled:


emitSwap

public void emitSwap()
Enabled:


emitRot

public void emitRot()
Enabled:


emitJump

public void emitJump(int label)
Enabled:


emitBranch

public void emitBranch()
Enabled:


emitCall

public void emitCall(String verb,
                     int arity,
                     boolean only)
Enabled:


emitSend

public void emitSend(String verb,
                     int arity,
                     boolean only)
Enabled:


emitEjectorOnly

public void emitEjectorOnly(int label)
Enabled:


emitEjector

public void emitEjector(int label)
Enabled:


emitTry

public void emitTry(int label)
Enabled:


emitUnwind

public void emitUnwind(int label)
Enabled:


emitEndHandler

public void emitEndHandler()
Enabled:


emitInteger

public void emitInteger(BigInteger integer)
Enabled:


emitFloat64

public void emitFloat64(double float64)
Enabled:


emitChar

public void emitChar(char chr)
Enabled:


emitString

public void emitString(String str)
Enabled:


emitTrue

public void emitTrue()
Enabled:


emitFalse

public void emitFalse()
Enabled:


emitNull

public void emitNull()
Enabled:


emitLiteral

public void emitLiteral(Object obj)
Enabled:


emitScope

public void emitScope()
Enabled:


emitObject

public void emitObject(String docComment,
                       String optFQN,
                       EExpr[] auditors,
                       EScript eScript)
Enabled:


emitListPatt

public void emitListPatt(int n)
Enabled:


emitCdrPatt

public void emitCdrPatt(int n)
Enabled:


emitNoun

public void emitNoun(int addressingMode,
                     int index,
                     boolean slot)
Enabled:


emitAssign

public void emitAssign(int addressingMode,
                       int index)
Enabled:


emitBind

public void emitBind(int addressingMode,
                     int index,
                     boolean slot)
Enabled:



comments?