Top Description Fields Constructors Methods
org.jruby.parser

public Class StaticScopeFactory

extends Object
Class Inheritance
Imports
org.jruby.Ruby

Gives instances of static scopes based on compile mode.

Field Summary

Modifier and TypeField and Description
private final StaticScope

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public StaticScope
public StaticScope
public StaticScope
public StaticScope
newBlockScope(StaticScope parent, String[] names)

public StaticScope
public StaticScope
newEvalScope(StaticScope parent, String[] names)

public static StaticScope
public StaticScope
public StaticScope
public StaticScope
newLocalScope(StaticScope parent, String[] names)

public static StaticScope
newStaticScope(StaticScope parent, StaticScope.Type type, String[] names)
Deprecated

public static StaticScope
newStaticScope(StaticScope parent, StaticScope.Type type, String[] names, int keywordArgIndex)
Deprecated

public static StaticScope
newStaticScope(StaticScope parent, StaticScope.Type type, String file, String[] names, int keywordArgIndex)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dummyScopeback to summary
private final StaticScope dummyScope

Constructor Detail

StaticScopeFactoryback to summary
public StaticScopeFactory(Ruby runtime)

Method Detail

getDummyScopeback to summary
public StaticScope getDummyScope()
newBlockScopeback to summary
public StaticScope newBlockScope(StaticScope parent, String file)
newBlockScopeback to summary
public StaticScope newBlockScope(StaticScope parent)
newBlockScopeback to summary
public StaticScope newBlockScope(StaticScope parent, String[] names)
newEvalScopeback to summary
public StaticScope newEvalScope(StaticScope parent)
newEvalScopeback to summary
public StaticScope newEvalScope(StaticScope parent, String[] names)
newIRBlockScopeback to summary
public static StaticScope newIRBlockScope(StaticScope parent)
newLocalScopeback to summary
public StaticScope newLocalScope(StaticScope parent, String file)
newLocalScopeback to summary
public StaticScope newLocalScope(StaticScope parent)
newLocalScopeback to summary
public StaticScope newLocalScope(StaticScope parent, String[] names)
newStaticScopeback to summary
public static StaticScope newStaticScope(StaticScope parent, StaticScope.Type type, String[] names)

Deprecated

Annotations
@Deprecated
newStaticScopeback to summary
public static StaticScope newStaticScope(StaticScope parent, StaticScope.Type type, String[] names, int keywordArgIndex)

Deprecated

Annotations
@Deprecated
newStaticScopeback to summary
public static StaticScope newStaticScope(StaticScope parent, StaticScope.Type type, String file, String[] names, int keywordArgIndex)