Const BinaryPrecedence
BinaryPrecedence: object
!=
!=: number = Precedence.Equality
!==
!==: number = Precedence.Equality
%
%: number = Precedence.Multiplicative
&
&: number = Precedence.BitwiseAND
&&
&&: number = Precedence.LogicalAND
*
*: number = Precedence.Multiplicative
+
+: number = Precedence.Additive
-
-: number = Precedence.Additive
/
/: number = Precedence.Multiplicative
<
<: number = Precedence.Relational
<<
<<: number = Precedence.BitwiseSHIFT
<=
<=: number = Precedence.Relational
==
==: number = Precedence.Equality
===
===: number = Precedence.Equality
>
>: number = Precedence.Relational
>=
>=: number = Precedence.Relational
>>
>>: number = Precedence.BitwiseSHIFT
>>>
>>>: number = Precedence.BitwiseSHIFT
^
^: number = Precedence.BitwiseXOR
in
in: number = Precedence.Relational
instanceof
instanceof: number = Precedence.Relational
is
is: number = Precedence.Equality
isnt
isnt: number = Precedence.Equality
|
|: number = Precedence.BitwiseOR
||
||: number = Precedence.LogicalOR
Const Messages
Messages: object
BadGetterArity
BadGetterArity: string = "Getter must not have any formal parameters"
BadImportCallArity
BadImportCallArity: string = "Unexpected token"
BadSetterArity
BadSetterArity: string = "Setter must have exactly one formal parameter"
BadSetterRestParameter
BadSetterRestParameter: string = "Setter function argument must not be a rest parameter"
ConstructorIsAsync
ConstructorIsAsync: string = "Class constructor may not be an async method"
ConstructorSpecialMethod
ConstructorSpecialMethod: string = "Class constructor may not be an accessor"
DeclarationMissingInitializer
DeclarationMissingInitializer: string = "Missing initializer in %0 declaration"
DefaultRestParameter
DefaultRestParameter: string = "Unexpected token ="
DefaultRestProperty
DefaultRestProperty: string = "Unexpected token ="
DuplicateBinding
DuplicateBinding: string = "Duplicate binding %0"
DuplicateConstructor
DuplicateConstructor: string = "A class may only have one constructor"
DuplicateProtoProperty
DuplicateProtoProperty: string = "Duplicate __proto__ fields are not allowed in object literals"
ForInOfLoopInitializer
ForInOfLoopInitializer: string = "%0 loop variable declaration may not have an initializer"
GeneratorInLegacyContext
GeneratorInLegacyContext: string = "Generator declarations are not allowed in legacy contexts"
IllegalBreak
IllegalBreak: string = "Illegal break statement"
IllegalContinue
IllegalContinue: string = "Illegal continue statement"
IllegalExportDeclaration
IllegalExportDeclaration: string = "Unexpected token"
IllegalImportDeclaration
IllegalImportDeclaration: string = "Unexpected token"
IllegalLanguageModeDirective
IllegalLanguageModeDirective: string = "Illegal 'use strict' directive in function with non-simple parameter list"
IllegalReturn
IllegalReturn: string = "Illegal return statement"
InvalidEscapedReservedWord
InvalidEscapedReservedWord: string = "Keyword must not contain escaped characters"
InvalidHexEscapeSequence
InvalidHexEscapeSequence: string = "Invalid hexadecimal escape sequence"
InvalidLHSInAssignment
InvalidLHSInAssignment: string = "Invalid left-hand side in assignment"
InvalidLHSInForIn
InvalidLHSInForIn: string = "Invalid left-hand side in for-in"
InvalidLHSInForLoop
InvalidLHSInForLoop: string = "Invalid left-hand side in for-loop"
InvalidModuleSpecifier
InvalidModuleSpecifier: string = "Unexpected token"
InvalidRegExp
InvalidRegExp: string = "Invalid regular expression"
LetInLexicalBinding
LetInLexicalBinding: string = "let is disallowed as a lexically bound name"
MissingFromClause
MissingFromClause: string = "Unexpected token"
MultipleDefaultsInSwitch
MultipleDefaultsInSwitch: string = "More than one default clause in switch statement"
NewlineAfterThrow
NewlineAfterThrow: string = "Illegal newline after throw"
NoAsAfterImportNamespace
NoAsAfterImportNamespace: string = "Unexpected token"
NoCatchOrFinally
NoCatchOrFinally: string = "Missing catch or finally after try"
ParameterAfterRestParameter
ParameterAfterRestParameter: string = "Rest parameter must be last formal parameter"
PropertyAfterRestProperty
PropertyAfterRestProperty: string = "Unexpected token"
Redeclaration
Redeclaration: string = "%0 '%1' has already been declared"
StaticPrototype
StaticPrototype: string = "Classes may not have static property named prototype"
StrictCatchVariable
StrictCatchVariable: string = "Catch variable may not be eval or arguments in strict mode"
StrictDelete
StrictDelete: string = "Delete of an unqualified identifier in strict mode."
StrictFunction
StrictFunction: string = "In strict mode code, functions can only be declared at top level or inside a block"
StrictFunctionName
StrictFunctionName: string = "Function name may not be eval or arguments in strict mode"
StrictLHSAssignment
StrictLHSAssignment: string = "Assignment to eval or arguments is not allowed in strict mode"
StrictLHSPostfix
StrictLHSPostfix: string = "Postfix increment/decrement may not have eval or arguments operand in strict mode"
StrictLHSPrefix
StrictLHSPrefix: string = "Prefix increment/decrement may not have eval or arguments operand in strict mode"
StrictModeWith
StrictModeWith: string = "Strict mode code may not include a with statement"
StrictOctalLiteral
StrictOctalLiteral: string = "Octal literals are not allowed in strict mode."
StrictParamDupe
StrictParamDupe: string = "Strict mode function may not have duplicate parameter names"
StrictParamName
StrictParamName: string = "Parameter name eval or arguments is not allowed in strict mode"
StrictReservedWord
StrictReservedWord: string = "Use of future reserved word in strict mode"
StrictVarName
StrictVarName: string = "Variable name may not be eval or arguments in strict mode"
TemplateOctalLiteral
TemplateOctalLiteral: string = "Octal literals are not allowed in template strings."
UnexpectedEOS
UnexpectedEOS: string = "Unexpected end of input"
UnexpectedIdentifier
UnexpectedIdentifier: string = "Unexpected identifier"
UnexpectedNumber
UnexpectedNumber: string = "Unexpected number"
UnexpectedReserved
UnexpectedReserved: string = "Unexpected reserved word"
UnexpectedString
UnexpectedString: string = "Unexpected string"
UnexpectedTemplate
UnexpectedTemplate: string = "Unexpected quasi %0"
UnexpectedToken
UnexpectedToken: string = "Unexpected token %0"
UnexpectedTokenIllegal
UnexpectedTokenIllegal: string = "Unexpected token ILLEGAL"
UnknownLabel
UnknownLabel: string = "Undefined label '%0'"
UnterminatedRegExp
UnterminatedRegExp: string = "Invalid regular expression: missing /"
Const Syntax
Syntax: object
ArrayExpression
ArrayExpression: string = "ArrayExpression"
ArrayPattern
ArrayPattern: string = "ArrayPattern"
ArrowFunctionExpression
ArrowFunctionExpression: string = "ArrowFunctionExpression"
AssignmentExpression
AssignmentExpression: string = "AssignmentExpression"
AssignmentPattern
AssignmentPattern: string = "AssignmentPattern"
AwaitExpression
AwaitExpression: string = "AwaitExpression"
BinaryExpression
BinaryExpression: string = "BinaryExpression"
BlockStatement
BlockStatement: string = "BlockStatement"
BreakStatement
BreakStatement: string = "BreakStatement"
CallExpression
CallExpression: string = "CallExpression"
CatchClause
CatchClause: string = "CatchClause"
ClassBody
ClassBody: string = "ClassBody"
ClassDeclaration
ClassDeclaration: string = "ClassDeclaration"
ClassExpression
ClassExpression: string = "ClassExpression"
ComprehensionBlock
ComprehensionBlock: string = "ComprehensionBlock"
ComprehensionExpression
ComprehensionExpression: string = "ComprehensionExpression"
ConditionalExpression
ConditionalExpression: string = "ConditionalExpression"
ContinueStatement
ContinueStatement: string = "ContinueStatement"
DebuggerStatement
DebuggerStatement: string = "DebuggerStatement"
DirectiveStatement
DirectiveStatement: string = "DirectiveStatement"
DoWhileStatement
DoWhileStatement: string = "DoWhileStatement"
EmptyStatement
EmptyStatement: string = "EmptyStatement"
ExportAllDeclaration
ExportAllDeclaration: string = "ExportAllDeclaration"
ExportDefaultDeclaration
ExportDefaultDeclaration: string = "ExportDefaultDeclaration"
ExportNamedDeclaration
ExportNamedDeclaration: string = "ExportNamedDeclaration"
ExportSpecifier
ExportSpecifier: string = "ExportSpecifier"
ExpressionStatement
ExpressionStatement: string = "ExpressionStatement"
ForInStatement
ForInStatement: string = "ForInStatement"
ForOfStatement
ForOfStatement: string = "ForOfStatement"
ForStatement
ForStatement: string = "ForStatement"
FunctionDeclaration
FunctionDeclaration: string = "FunctionDeclaration"
FunctionExpression
FunctionExpression: string = "FunctionExpression"
GeneratorExpression
GeneratorExpression: string = "GeneratorExpression"
Identifier
Identifier: string = "Identifier"
IfStatement
IfStatement: string = "IfStatement"
Import
Import: string = "Import"
ImportDeclaration
ImportDeclaration: string = "ImportDeclaration"
ImportDefaultSpecifier
ImportDefaultSpecifier: string = "ImportDefaultSpecifier"
ImportNamespaceSpecifier
ImportNamespaceSpecifier: string = "ImportNamespaceSpecifier"
ImportSpecifier
ImportSpecifier: string = "ImportSpecifier"
LabeledStatement
LabeledStatement: string = "LabeledStatement"
Literal
Literal: string = "Literal"
LogicalExpression
LogicalExpression: string = "LogicalExpression"
MemberExpression
MemberExpression: string = "MemberExpression"
MetaProperty
MetaProperty: string = "MetaProperty"
MethodDefinition
MethodDefinition: string = "MethodDefinition"
ModuleSpecifier
ModuleSpecifier: string = "ModuleSpecifier"
NewExpression
NewExpression: string = "NewExpression"
ObjectExpression
ObjectExpression: string = "ObjectExpression"
ObjectPattern
ObjectPattern: string = "ObjectPattern"
Program
Program: string = "Program"
Property
Property: string = "Property"
RestElement
RestElement: string = "RestElement"
RestProperty
RestProperty: string = "RestProperty"
ReturnStatement
ReturnStatement: string = "ReturnStatement"
SequenceExpression
SequenceExpression: string = "SequenceExpression"
SpreadElement
SpreadElement: string = "SpreadElement"
SpreadProperty
SpreadProperty: string = "SpreadProperty"
Super
Super: string = "Super"
SuperExpression
SuperExpression: string = "SuperExpression"
SwitchCase
SwitchCase: string = "SwitchCase"
SwitchStatement
SwitchStatement: string = "SwitchStatement"
TaggedTemplateExpression
TaggedTemplateExpression: string = "TaggedTemplateExpression"
TemplateElement
TemplateElement: string = "TemplateElement"
TemplateLiteral
TemplateLiteral: string = "TemplateLiteral"
ThisExpression
ThisExpression: string = "ThisExpression"
ThrowStatement
ThrowStatement: string = "ThrowStatement"
TryStatement
TryStatement: string = "TryStatement"
UnaryExpression
UnaryExpression: string = "UnaryExpression"
UpdateExpression
UpdateExpression: string = "UpdateExpression"
VariableDeclaration
VariableDeclaration: string = "VariableDeclaration"
VariableDeclarator
VariableDeclarator: string = "VariableDeclarator"
WhileStatement
WhileStatement: string = "WhileStatement"
WithStatement
WithStatement: string = "WithStatement"
YieldExpression
YieldExpression: string = "YieldExpression"
Provides the MathScript module