Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

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 parseImportAssertClause parseImportDeclaration parseImportExpressions 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

Constructors

Properties

acceptIN: boolean
factory: NodeFactory
functionKind: FunctionKind
previousAcceptIN: boolean[]
previousFunctionKind: FunctionKind[]
scanner: TokenStream

Accessors

  • get languageMode(): LanguageMode
  • Returns LanguageMode

  • set languageMode(mode: LanguageMode): void
  • Parameters

    Returns void

Methods

  • Returns false | "IN" | "OF"

  • Parameters

    Returns void

  • Parameters

    • message: string

    Returns string

  • Returns ExportSpecifier[]

  • Returns undefined | ExpressionNode

  • Parameters

    Returns ExportDefaultDeclaration

  • Returns undefined | ImportAttribute[]

  • Returns undefined | ExpressionNode

  • Parameters

    Returns undefined | ExpressionNode

  • 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 undefined | ExpressionNode

  • Returns false | "IN" | "OF"

  • Parameters

    • acceptIN: boolean

    Returns void

  • Parameters

    Returns void