@Override
public List<JsScope> construct() {
final List<JsScope> scopes = new ArrayList<JsScope>(scopeDataList.size());
for (int i = 0; i < scopeDataList.size(); i++) {
ScopeValue scopeData = scopeDataList.get(i);
JsScope.Type type = WIP_TO_SDK_SCOPE_TYPE.get(scopeData.type());
if (type == null) {
type = JsScope.Type.UNKNOWN;
}
scopes.add(createScope(scopeData, type));
}