Package org.jruby.parser
Class StaticScopeFactory
java.lang.Object
org.jruby.parser.StaticScopeFactory
Gives instances of static scopes based on compile mode.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewBlockScope
(StaticScope parent) newBlockScope
(StaticScope parent, String file) newBlockScope
(StaticScope parent, String[] names) newEvalScope
(StaticScope parent) newEvalScope
(StaticScope parent, String[] names) static StaticScope
newIRBlockScope
(StaticScope parent) newLocalScope
(StaticScope parent) newLocalScope
(StaticScope parent, String file) newLocalScope
(StaticScope parent, String[] names) static StaticScope
newStaticScope
(StaticScope parent, StaticScope.Type type, String[] names) Deprecated.static StaticScope
newStaticScope
(StaticScope parent, StaticScope.Type type, String[] names, int keywordArgIndex) Deprecated.static StaticScope
newStaticScope
(StaticScope parent, StaticScope.Type type, String file, String[] names, int keywordArgIndex)
-
Constructor Details
-
StaticScopeFactory
-
-
Method Details
-
newBlockScope
-
newBlockScope
-
newBlockScope
-
newEvalScope
-
newEvalScope
-
newLocalScope
-
newLocalScope
-
newLocalScope
-
newIRBlockScope
-
newStaticScope
@Deprecated public static StaticScope newStaticScope(StaticScope parent, StaticScope.Type type, String[] names) Deprecated. -
newStaticScope
@Deprecated public static StaticScope newStaticScope(StaticScope parent, StaticScope.Type type, String[] names, int keywordArgIndex) Deprecated. -
newStaticScope
public static StaticScope newStaticScope(StaticScope parent, StaticScope.Type type, String file, String[] names, int keywordArgIndex) -
getDummyScope
-