/*
* Copyright 2013 Guidewire Software, Inc.
*/
package gw.internal.gosu.parser;
import gw.lang.parser.IFunctionSymbol;
import gw.lang.parser.IScope;
import java.util.Map;
import java.util.Set;
public class ClassScopeCache
{
private final IScope _staticScope;
private final Map<String, Set<IFunctionSymbol>> _staticDfsMap;
private final IScope _nonstaticScope;
private final Map<String, Set<IFunctionSymbol>> _nonstaticDfsMap;
public ClassScopeCache( IScope staticScope, Map<String, Set<IFunctionSymbol>> staticDfsMap, IScope nonstaticScope, Map<String, Set<IFunctionSymbol>> nonstaticDfsMap )
{
_staticScope = staticScope;
_staticDfsMap = staticDfsMap;
_nonstaticScope = nonstaticScope;
_nonstaticDfsMap = nonstaticDfsMap;
}
public IScope getStaticScope()
{
return _staticScope;
}
public Map<String, Set<IFunctionSymbol>> getStaticDfsMap()
{
return _staticDfsMap;
}
public IScope getNonstaticScope()
{
return _nonstaticScope;
}
public Map<String, Set<IFunctionSymbol>> getNonstaticDfsMap()
{
return _nonstaticDfsMap;
}
}