mirror of
https://github.com/github/codeql.git
synced 2026-01-07 03:30:24 +01:00
JavaScript: Add a comment.
This commit is contained in:
@@ -1699,6 +1699,12 @@ public class Parser {
|
||||
return parenExprs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse an expression that forms part of a comma-separated list of expressions between parentheses, adding
|
||||
* it to `parenExprs`.
|
||||
*
|
||||
* @return true if more expressions may follow this one, false if it must be the last one
|
||||
*/
|
||||
protected boolean parseParenthesisedExpression(DestructuringErrors refDestructuringErrors,
|
||||
boolean allowTrailingComma, ParenthesisedExpressions parenExprs, boolean first) {
|
||||
if (allowTrailingComma && this.afterTrailingComma(TokenType.parenR, true)) {
|
||||
|
||||
Reference in New Issue
Block a user