mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Implement the class language element part II. (#203)
Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
parent
d9976037ce
commit
1fc56fcf9a
54 changed files with 2002 additions and 100 deletions
|
|
@ -171,6 +171,7 @@ ScriptParser::ScriptParserResult ScriptParser::parse(StringView scriptSource, St
|
|||
program->scopeContext()->m_hasWith = parentCodeBlock->hasWith();
|
||||
program->scopeContext()->m_hasCatch = parentCodeBlock->hasCatch();
|
||||
program->scopeContext()->m_hasYield = parentCodeBlock->hasYield();
|
||||
program->scopeContext()->m_isClassConstructor = parentCodeBlock->isClassConstructor();
|
||||
topCodeBlock = generateCodeBlockTreeFromASTWalker(m_context, scriptSource, script, program->scopeContext(), parentCodeBlock);
|
||||
topCodeBlock->m_isEvalCodeInFunction = true;
|
||||
topCodeBlock->m_isInWithScope = parentCodeBlock->m_isInWithScope;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue