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
    • get languageMode(): LanguageMode

      Returns LanguageMode

    • set languageMode(mode: LanguageMode): void

      Parameters

      Returns void

    • Returns false | "IN" | "OF"

    • Parameters

      Returns void

    • Parameters

      • message: string

      Returns string

    • Returns ExportSpecifier[]

    • Returns ExpressionNode | undefined

    • Parameters

      Returns ExportDefaultDeclaration

    • Returns ExpressionNode | undefined

    • Returns ImportAttribute[] | undefined

    • Parameters

      Returns ExpressionNode | undefined

    • Returns ExpressionNode | undefined

    • Returns Literal<string>

    • Returns ImportSpecifier[]

    • 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

    • Returns false | "IN" | "OF"

    • Parameters

      • message: string

      Returns void

    • Parameters

      • acceptIN: boolean

      Returns void

    • Parameters

      Returns void