package
0.19.5
Repository: https://github.com/kyleconroy/esjs.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
Returns "equal, ok".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This function intentionally avoids mutating the input AST so it can be called after the AST has been frozen (i.e.
This function intentionally avoids mutating the input AST so it can be called after the AST has been frozen (i.e.
No description provided by the author
No description provided by the author
No description provided by the author
For readability, the names of certain automatically-generated symbols are derived from the file name.
This function intentionally avoids mutating the input AST so it can be called after the AST has been frozen (i.e.
"`a${'b'}c`" => "`abc`" This function intentionally avoids mutating the input AST so it can be called after the AST has been frozen (i.e.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This does "IsIdentifierES5AndESNext(UTF16ToString(text))" without any allocations.
No description provided by the author
No description provided by the author
This does "IsIdentifier(UTF16ToString(text))" without any allocations.
No description provided by the author
No description provided by the author
If this returns true, then calling this expression captures the target of the property access as "this" when calling the function in the property.
See the "White Space Code Points" table in the ECMAScript standard.
No description provided by the author
No description provided by the author
The goal of this function is to "rotate" the AST if it's possible to use the left-associative property of the operator to avoid unnecessary parentheses.
Note: This function does not say whether the expression is side-effect free or not.
This function intentionally avoids mutating the input AST so it can be called after the AST has been frozen (i.e.
This function intentionally avoids mutating the input AST so it can be called after the AST has been frozen (i.e.
This function intentionally avoids mutating the input AST so it can be called after the AST has been frozen (i.e.
The given "expr" argument should be the operand of a "!" prefix operator (i.e.
This can be used when the returned type is either one or the other.
Wraps the provided expression in the "!" prefix operator.
No description provided by the author
Simplify syntax when we know it's used inside a boolean context This function intentionally avoids mutating the input AST so it can be called after the AST has been frozen (i.e.
This will return a nil expression if the expression can be totally removed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Returns true if the result of the "typeof" operator on this expression is statically determined and this expression has no side effects (i.e.
No description provided by the author

# Constants

No description provided by the author
"a = b".
"a += b".
Left-associative.
If you add a new token, remember to add it to "OpTable" too.
Right-associative.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
Non-associative.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
This is sort of like an IIFE with a "/* @__PURE__ */" comment except it's an inline annotation on an expression itself without the nested scope.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The exports are stored on "module" and/or "exports".
All export names are known explicitly.
Some export names are known explicitly, but others fall back to a dynamic run-time object.
This file doesn't have any kind of export, so it's impossible to say what kind of file this is.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence.
".cjs" or ".cts" or "type: commonjs" in package.json.
No description provided by the author
No description provided by the author
".mjs" or ".mts" or "type: module" in package.json.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is the index to the automatically-generated part containing code that calls "__export(exports, { ..
"a?.b.c" => ".c" is OptionalChainContinue "(a?.b).c" => ".c" is OptionalChainNone.
"a.b".
"a?.b".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is a module, TypeScript enum, or TypeScript namespace.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
Prefix.
Postfix update.
If you add a new token, remember to add it to "OpTable" too.
Prefix update.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.
If you add a new token, remember to add it to "OpTable" too.

# Variables

These help reduce unnecessary memory allocations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is similar to an EIdentifier but it represents a reference to an ES6 import item.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This represents an internal property name that can be mangled.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is similar to EIdentifier but it represents class-private fields and methods.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is used for both strings and no-substitution template literals to reduce the number of cases that need to be checked for string optimization code.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Each file is made up of multiple parts, and each part consists of one or more top-level statements.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is an "export = value;" statement in TypeScript.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This object represents all of these types of import statements: import 'path' import {item1, item2} from 'path' import * as ns from 'path' import defaultItem, {item1, item2} from 'path' import defaultItem, * as ns from 'path' Many parts are optional and can be combined in different ways.
No description provided by the author
The decision of whether to export an expression using "module.exports" or "export default" is deferred until linking using this statement kind.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is a stand-in for a TypeScript type declaration.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
"enum ns { it }".
"enum ns { it = 'it' }".
"namespace ns { export namespace it {} }".
"namespace ns { export let it }".
This is for TypeScript "enum" and "namespace" blocks.

# Interfaces

This interface is never called.
This interface is never called.
This interface is never called.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author