Lines Matching +full:ecma +full:- +full:262
7 * http://www.apache.org/licenses/LICENSE-2.0
26 : allocator_(parserContext->GetProgram()->Allocator()), in Lexer()
28 source_(parserContext->GetProgram()->SourceCode()), in Lexer()
113 pos_.iterator.Reset(GetToken().End().index - offset); in BackwardToken()
151 ThrowError("Unterminated multi-line comment"); in SkipMultiLineComment()
224 lexer::LineIndex lineIndex = parserContext_->GetProgram()->GetLineIndex(); in ThrowError()
386 …* If the number exceeds Number.MAX_VALUE (~1.7976931348623157e+308), treat it as Infinity / -Infin… in ConvertNumber()
387 …* If the number is smaller than Number.MIN_VALUE (5e-324), it may be rounded to 0.0 or Number.MIN_… in ConvertNumber()
392 : -std::numeric_limits<double>::infinity()); in ConvertNumber()
439 exponentSignPos = Iterator().Index() - GetToken().Start().index; in ScanNumber()
618 str->Append(ScanHexEscape<2>()); in ScanStringUnicodePart()
623 str->Append(cp); in ScanStringUnicodePart()
661 str->Append(cp); in ScanStringUnicodePart()
1234 if (parserContext_->IsStaticBlock()) { in CheckAwaitKeyword()
1238 if (!parserContext_->IsAsync()) { in CheckAwaitKeyword()
1239 if (!parserContext_->IsModule() || parserContext_->GetProgram()->IsDtsFile()) { in CheckAwaitKeyword()
1243 if (parserContext_->GetProgram()->Extension() == ScriptExtension::TS) { in CheckAwaitKeyword()
1244 if (parserContext_->IsTsModule()) { in CheckAwaitKeyword()
1251 if (parserContext_->DisallowAwait()) { in CheckAwaitKeyword()
1262 if (parserContext_->DisallowArguments()) { in CheckArgumentsKeyword()
1278 if (parserContext_->GetProgram()->Extension() == ScriptExtension::JS) { in CheckEnumKeyword()
1296 if (!parserContext_->AllowYield()) { in CheckYieldKeyword()
1307 …if (parserContext_->GetProgram()->Extension() == ScriptExtension::TS && keywordType <= TokenType::… in CheckFutureReservedKeyword()
1329 … * according to ECMA-262 specification item 12.5 Hashbang Comments are location-sensitive. in SkipWhiteSpaces()
1408 // NOLINTNEXTLINE(readability-function-size)
1675 tlCtx_->ConsumeLeftBrace(); in NextToken()
1687 if (tlCtx_ && tlCtx_->ConsumeRightBrace()) { in NextToken()