|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.parser.StaticScope
org.jruby.parser.BlockStaticScope
org.jruby.parser.EvalStaticScope
public class EvalStaticScope
This scope is used solely for evals. All eval calls under a given scope live in the same "eval" scope, which is always based on this type of static scope. Also, for purposes of flip-flops, this acts like a local scope.
Field Summary |
---|
Fields inherited from class org.jruby.parser.StaticScope |
---|
enclosingScope |
Constructor Summary | |
---|---|
EvalStaticScope(StaticScope parentScope)
|
|
EvalStaticScope(StaticScope parentScope,
java.lang.String[] names)
|
Method Summary | |
---|---|
StaticScope |
getLocalScope()
Gets the Local Scope relative to the current Scope. |
Methods inherited from class org.jruby.parser.BlockStaticScope |
---|
addAssign, assign, declare, getAllNamesInScope, isArgumentScope, isDefined, makeArgumentScope, toString |
Methods inherited from class org.jruby.parser.StaticScope |
---|
addVariable, addVariableThisScope, assign, capture, declare, determineModule, exists, getArity, getConstant, getConstantWithConstMissing, getDummyScope, getEnclosingScope, getModule, getNumberOfVariables, getOptionalArgs, getPreviousCRefScope, getRequiredArgs, getRestArg, getVariables, isBackrefLastlineScope, isCaptured, isDefined, setArities, setBackrefLastlineScope, setModule, setPreviousCRefScope, setRequiredArgs, setRestArg, setVariables |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EvalStaticScope(StaticScope parentScope)
public EvalStaticScope(StaticScope parentScope, java.lang.String[] names)
Method Detail |
---|
public StaticScope getLocalScope()
StaticScope
getLocalScope
in class BlockStaticScope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |