org.erights.e.elang.visitors
Class BindNestedFramesVisitor

java.lang.Object
  |
  +--org.erights.e.elang.visitors.KernelECopyVisitor
        |
        +--org.erights.e.elang.visitors.BindFramesVisitor
              |
              +--org.erights.e.elang.visitors.BindNestedFramesVisitor
All Implemented Interfaces:
ETreeVisitor

class BindNestedFramesVisitor
extends BindFramesVisitor

Author:
E. Dean Tribble

Field Summary
private  int myNextLocal
           
 
Fields inherited from class org.erights.e.elang.visitors.BindFramesVisitor
myBindings, myMaxLocalsCell
 
Fields inherited from class org.erights.e.elang.visitors.KernelECopyVisitor
 
Constructor Summary
BindNestedFramesVisitor(ScopeMap bindings, int localN, int[] localsCell)
           
 
Method Summary
protected  KernelECopyVisitor nest()
          Return a version of the receiver for a nested scope.
(package private)  NounExpr newFinal(String varName)
          XXX should an optSpan also be passed in?
(package private)  NounExpr newVar(String varName)
          XXX should an optSpan also be passed in?
private  int nextLocal()
           
 
Methods inherited from class org.erights.e.elang.visitors.BindFramesVisitor
make, maxLocals, scopeMap, visitEMethod, visitEscapeExpr, visitFinalPattern, visitHideExpr, visitIfExpr, visitMatchBindExpr, visitMatcher, visitNounExpr, visitObjectExpr, visitVarPattern, xformNode
 
Methods inherited from class org.erights.e.elang.visitors.KernelECopyVisitor
optSpan, run, visitAssignExpr, visitCallExpr, visitCatchExpr, visitCdrPattern, visitDefineExpr, visitEScript, visitFinallyExpr, visitIgnorePattern, visitListPattern, visitLiteralExpr, visitQuasiLiteralExpr, visitQuasiLiteralPatt, visitQuasiPatternExpr, visitQuasiPatternPatt, visitScopeExpr, visitSendExpr, visitSeqExpr, visitSlotExpr, visitSuchThatPattern, xformEExpr, xformEExprs, xformEScript, xformMatcher, xformMethod, xformPattern, xformPatterns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myNextLocal

private int myNextLocal
Constructor Detail

BindNestedFramesVisitor

public BindNestedFramesVisitor(ScopeMap bindings,
                               int localN,
                               int[] localsCell)
Method Detail

nest

protected KernelECopyVisitor nest()
Description copied from class: KernelECopyVisitor
Return a version of the receiver for a nested scope. The default is that there is no difference. NOTE: this needs to generate a new visitor by talking to the decorator.

Overrides:
nest in class KernelECopyVisitor

newFinal

NounExpr newFinal(String varName)
XXX should an optSpan also be passed in?

Specified by:
newFinal in class BindFramesVisitor

newVar

NounExpr newVar(String varName)
XXX should an optSpan also be passed in?

Specified by:
newVar in class BindFramesVisitor

nextLocal

private int nextLocal()


comments?