Skip to content
Advertisement

Tag: spidermonkey

What was a GuardedCatchClause in the SpiderMonkey parser?

The SpiderMonkey JavaScript engine’s parser once supported a nonterminal symbol GuardedCatchClause, which when parsed would produce entries in the .guardedHandlers property of the associated TryStatement; this property also appeared in the ESTree spec at the time. Unfortunately I have not found any references to the syntax of try statements with GuardedCatchClauses on the web. What was the actual syntax and

Advertisement