Home
last modified time | relevance | path

Searched refs:allow_const (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/parsing/
Dpreparser.cc197 if (allow_const()) { in ParseStatementListItem()
539 } else if (peek() == Token::CONST && allow_const()) { in ParseVariableDeclarations()
917 if (peek() == Token::VAR || (peek() == Token::CONST && allow_const()) || in ParseForStatement()
Dparser.cc1279 if (allow_const()) { in ParseStatementListItem()
2327 } else if (peek() == Token::CONST && allow_const()) { in ParseVariableDeclarations()
3557 if (peek() == Token::VAR || (peek() == Token::CONST && allow_const()) || in ParseForStatement()
Dparser-base.h534 bool allow_const() { in allow_const() function