|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elang.evm.StaticScope
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 |
public static final ConstMap EmptyMap
public static final StaticScope EmptyScope
public static final StaticScope META_SCOPE
private final ConstMap myNamesRead
private final ConstMap myNamesSet
private final boolean myScopeExprFlag
private final ConstMap myDefNames
private final ConstMap myVarNames
Constructor Detail |
public StaticScope(ConstMap namesRead, ConstMap namesSet, boolean scopeExprFlag, ConstMap defNames, ConstMap varNames)
namesRead
- namesSet
- scopeExprFlag
- defNames
- varNames
- Method Detail |
public static StaticScope scopeRead(ConstMap namesRead)
public static StaticScope scopeAssign(ConstMap namesSet)
public static StaticScope scopeMeta()
public static StaticScope scopeDef(ConstMap defNames)
public static StaticScope scopeVar(ConstMap varNames)
public StaticScope add(StaticScope right)
public boolean hasScopeExpr()
public StaticScope hide()
public ConstMap namesRead()
public ConstMap namesSet()
public ConstMap namesUsed()
public ConstMap defNames()
public ConstMap varNames()
public ConstMap outNames()
public ConstMap namesOut()
public void __printOn(TextWriter out) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |