org.erights.e.elang.evm
Class StaticScope

java.lang.Object
  |
  +--org.erights.e.elang.evm.StaticScope

public class StaticScope
extends Object

Untamed:


Field Summary
static ConstMap EmptyMap
          Enabled:
static StaticScope EmptyScope
          Enabled:
static StaticScope META_SCOPE
          Enabled:
private  ConstMap myDefNames
           
private  ConstMap myNamesRead
           
private  ConstMap myNamesSet
           
private  boolean myScopeExprFlag
           
private  ConstMap myVarNames
           
 
Constructor Summary
StaticScope(ConstMap namesRead, ConstMap namesSet, boolean scopeExprFlag, ConstMap defNames, ConstMap varNames)
          Enabled:
 
Method Summary
 void __printOn(TextWriter out)
          Enabled:
 StaticScope add(StaticScope right)
          Enabled: For processing normal expressions left to right, where all definitions are exported, but uses are hidden by definitions to their left.
 ConstMap defNames()
          Enabled:
 boolean hasScopeExpr()
          Enabled: Does 'meta scope' appear inside the expression?
 StaticScope hide()
          Enabled: How a scope hidden within curly brackets appears to its context.
 ConstMap namesOut()
          Deprecated. Use outNames instead
 ConstMap namesRead()
          Enabled: What are the names of variables read by this expression to refer to variables defined outside this expression?
 ConstMap namesSet()
          Enabled: What are the names of variables assigned to by this expression that refer to variables defined outside this expression?
 ConstMap namesUsed()
          Enabled: Union of namesRead() and namesSet().
 ConstMap outNames()
          Enabled:
static StaticScope scopeAssign(ConstMap namesSet)
          Enabled:
static StaticScope scopeDef(ConstMap defNames)
          Enabled:
static StaticScope scopeMeta()
          Enabled:
static StaticScope scopeRead(ConstMap namesRead)
          Enabled:
static StaticScope scopeVar(ConstMap varNames)
          Enabled:
 ConstMap varNames()
          Enabled:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EmptyMap

public static final ConstMap EmptyMap
Enabled:


EmptyScope

public static final StaticScope EmptyScope
Enabled:


META_SCOPE

public static final StaticScope META_SCOPE
Enabled:


myNamesRead

private final ConstMap myNamesRead

myNamesSet

private final ConstMap myNamesSet

myScopeExprFlag

private final boolean myScopeExprFlag

myDefNames

private final ConstMap myDefNames

myVarNames

private final ConstMap myVarNames
Constructor Detail

StaticScope

public StaticScope(ConstMap namesRead,
                   ConstMap namesSet,
                   boolean scopeExprFlag,
                   ConstMap defNames,
                   ConstMap varNames)
Enabled:

Parameters:
namesRead -
namesSet -
scopeExprFlag -
defNames -
varNames -
Method Detail

scopeRead

public static StaticScope scopeRead(ConstMap namesRead)
Enabled:


scopeAssign

public static StaticScope scopeAssign(ConstMap namesSet)
Enabled:


scopeMeta

public static StaticScope scopeMeta()
Enabled:


scopeDef

public static StaticScope scopeDef(ConstMap defNames)
Enabled:


scopeVar

public static StaticScope scopeVar(ConstMap varNames)
Enabled:


add

public StaticScope add(StaticScope right)
Enabled: For processing normal expressions left to right, where all definitions are exported, but uses are hidden by definitions to their left.


hasScopeExpr

public boolean hasScopeExpr()
Enabled: Does 'meta scope' appear inside the expression?


hide

public StaticScope hide()
Enabled: How a scope hidden within curly brackets appears to its context.


namesRead

public ConstMap namesRead()
Enabled: What are the names of variables read by this expression to refer to variables defined outside this expression?


namesSet

public ConstMap namesSet()
Enabled: What are the names of variables assigned to by this expression that refer to variables defined outside this expression?


namesUsed

public ConstMap namesUsed()
Enabled: Union of namesRead() and namesSet(). What are the names of variables used by this expression to refer to variables defined outside this expression?


defNames

public ConstMap defNames()
Enabled:

Returns:

varNames

public ConstMap varNames()
Enabled:

Returns:

outNames

public ConstMap outNames()
Enabled:

Returns:

namesOut

public ConstMap namesOut()
Deprecated. Use outNames instead

Enabled:


__printOn

public void __printOn(TextWriter out)
               throws IOException
Enabled:

IOException


comments?