Ibyar/Aurora
    Preparing search index...

    Class JavaScriptParser

    Hierarchy (View Summary)

    Index
    check checkAndGetValue checkClassMethodName checkContextualKeyword checkInOrOf checkValue clearParenthesized consume createRange createRangeByStart createStartPosition createTemplateLiteralExpressionNode current declarePrivateClassMember declarePublicClassField declarePublicClassMethod doParseMemberExpressionContinuation errorMessage expect expectAndGetValue expectContextualKeyword expectSemicolon expressionListToExpression getIdentifier getLastFunctionKind is_async_function is_async_generator is_resumable isArguments isAssignableIdentifier isAsyncFunction isAwaitAllowed isAwaitAsIdentifierDisallowed isEval isEvalOrArguments isGenerator isNextLetKeyword isParenthesized isValidReferenceExpression markParenthesized methodKindFor newClassLiteralProperty next parseAndClassifyIdentifier parseAndRewriteAsyncGeneratorFunctionBody parseAndRewriteGeneratorFunctionBody parseArguments parseArrayLiteral parseArrowFunctionLiteral parseArrowParametersWithRest parseAssignmentExpression parseAssignmentExpressionCoverGrammar parseAsyncFunctionBody parseAsyncFunctionDeclaration parseAsyncFunctionLiteral parseAwaitExpression parseBinaryContinuation parseBinaryExpression parseBindingPattern parseBlock parseBreakStatement parseClassDeclaration parseClassExpression parseClassLiteral parseClassPropertyDefinition parseClassStaticBlock parseConditionalContinuation parseConditionalExpression parseContinueStatement parseDebuggerStatement parseDoWhileStatement parseExportClause parseExportDeclaration parseExportDefault parseExportSpecifierName parseExportStar parseExpression parseExpressionCoverGrammar parseExpressionOrLabelledStatement parseForAwaitStatement parseForEachStatementWithDeclarations parseForEachStatementWithoutDeclarations parseFormalParameter parseFormalParameterList parseForStatement parseFunctionBody parseFunctionDeclaration parseFunctionExpression parseFunctionLiteral parseHoistableDeclaration parseHoistableDeclaration01 parseIdentifier parseIfStatement parseImportDeclaration parseImportExpressions parseImportWithOrAssertClause parseLeftHandSideContinuation parseLeftHandSideExpression parseLogicalExpression parseMemberExpression parseMemberExpressionContinuation parseMemberInitializer parseMemberWithPresentNewPrefixesExpression parseModuleItem parseModuleItemList parseModuleSpecifier parseNamedImports parseNewTargetExpression parseNonRestrictedIdentifier parseNullishExpression parseObjectLiteral parseObjectPropertyDefinition parsePipelineBody parsePipelineExpression parsePossibleDestructuringSubPattern parsePostfixContinuation parsePostfixExpression parsePrimaryExpression parseProperty parsePropertyOrPrivatePropertyName parseRegExpLiteral parseReturnStatement parseScopedStatement parseStandardForLoop parseStandardForLoopWithLexicalDeclarations parseStatement parseStatementList parseStatementListItem parseSuperExpression parseSwitchStatement parseTemplateLiteral parseThrowStatement parseTryStatement parseUnaryExpression parseUnaryOrPrefixExpression parseVariableDeclarations parseVariableStatement parseWhileStatement parseWithStatement parseYieldExpression peek peekAhead peekAheadPosition peekAnyIdentifier peekContextualKeyword peekInOrOf peekPosition position reportErrorMessage restoreAcceptIN restoreFunctionKind restoreStatue rewriteClassLiteral scan setAcceptIN setFunctionKind setFunctionNameFromPropertyName setStatue shouldBanArguments updateRangeEnd parse parseScript
    acceptIN: boolean
    factory: NodeFactory
    functionKind: FunctionKind
    previousAcceptIN: boolean[] = []
    previousFunctionKind: FunctionKind[] = []
    scanner: TokenStream
    • ECMA 262 6th Edition StatementListItem[Yield, Return] : Statement[?Yield, ?Return] Declaration[?Yield] // Declaration[Yield] : HoistableDeclaration[?Yield] ClassDeclaration[?Yield] LexicalDeclaration[In, ?Yield] // HoistableDeclaration[Yield, Default] : FunctionDeclaration[?Yield, ?Default] GeneratorDeclaration[?Yield, ?Default] // LexicalDeclaration[In, Yield] : LetOrConst BindingList[?In, ?Yield] ;

      Returns ExpressionNode | undefined