update of local deps cache

This commit is contained in:
master
2025-11-21 06:52:58 +00:00
parent 79b8e53441
commit ca35db9ef4
786 changed files with 1749002 additions and 1740601 deletions

View File

@@ -0,0 +1,5 @@
{
"version": 2,
"contentHash": "yJrbImpXdJAwKoa0FOgK3JV4wuOPHhKI1vWmNepJD5U/t6ENwEr0FX6gl06rIxxKbVGrKCd8JMmm7rieT/4dIw==",
"source": "https://api.nuget.org/v3/index.json"
}

Binary file not shown.

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Esprima</id>
<version>3.0.5</version>
<authors>Sebastien Ros</authors>
<license type="expression">BSD-3-Clause</license>
<licenseUrl>https://licenses.nuget.org/BSD-3-Clause</licenseUrl>
<readme>README.md</readme>
<projectUrl>https://github.com/sebastienros/esprima-dotnet</projectUrl>
<description>Standard-compliant ECMAScript 2022 parser (also known as JavaScript).</description>
<copyright>Sebastien Ros</copyright>
<tags>javascript, parser, ecmascript</tags>
<repository type="git" url="https://github.com/sebastienros/esprima-dotnet" commit="4661614f09d4bb476a552f8dae82a5887060d570" />
<dependencies>
<group targetFramework=".NETFramework4.6.2">
<dependency id="System.Memory" version="4.5.5" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.0">
<dependency id="System.Memory" version="4.5.5" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.1" />
</dependencies>
</metadata>
</package>

100
offline/packages/esprima/3.0.5/README.md vendored Normal file
View File

@@ -0,0 +1,100 @@
| :mega: Important notices |
|--------------|
|If you are upgrading from an older version, please note that version 3 ships with numerous breaking changes to the public API because virtually all areas of the library have been revised.<br />Documentation of the previous major version is available [here](https://github.com/sebastienros/esprima-dotnet/tree/v2.1.3). |
[![Build](https://github.com/sebastienros/esprima-dotnet/actions/workflows/build.yml/badge.svg)](https://github.com/sebastienros/esprima-dotnet/actions/workflows/build.yml)
[![NuGet](https://img.shields.io/nuget/v/esprima.svg)](https://www.nuget.org/packages/esprima)
[![MyGet](https://img.shields.io/myget/esprimadotnet/v/esprima?label=MyGet)](https://www.myget.org/feed/esprimadotnet/package/nuget/Esprima)
**Esprima .NET** (BSD license) is a .NET port of the [esprima.org](http://esprima.org) project.
It is a standard-compliant [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm)
parser (also popularly known as
[JavaScript](https://en.wikipedia.org/wiki/JavaScript)).
### Features
- Full support for ECMAScript 2022 ([ECMA-262 13th Edition](http://www.ecma-international.org/publications/standards/Ecma-262.htm))
- Support for a few upcoming (stage 3+ proposal) ECMAScript features:
- [Decorators](https://github.com/tc39/proposal-decorators),
- [Import attributes](https://github.com/tc39/proposal-import-attributes),
- [Duplicate named capturing groups in regular expressions](https://github.com/tc39/proposal-duplicate-named-capturing-groups).
- Experimental support for [JSX](https://facebook.github.io/jsx/), a syntax extension for [React](https://facebook.github.io/react/)
- Sensible [syntax tree format](https://github.com/estree/estree/blob/master/es5.md), which is based on the standard established by the [ESTree project](https://github.com/estree/estree)
- Tracking of syntax node location (index-based and line-column)
- Heavily tested
### API
Esprima can be used to perform [lexical analysis](https://en.wikipedia.org/wiki/Lexical_analysis) (tokenization) or [syntactic analysis](https://en.wikipedia.org/wiki/Parsing) (parsing) of a JavaScript program.
A simple C# example:
```csharp
var parser = new JavaScriptParser();
var program = parser.ParseScript("const answer = 42");
```
You can control the behavior of the parser by initializing and passing a `ParserOptions` to the parser's constructor. (For the available options, see the XML documentation of the `ParserOptions` class.)
Instead of `ParseScript`, you may use `ParseModule` or `ParseExpression` to make the parser treat the input as an ES6 module or as a plain JavaScript expression respectively.
In case the input is syntactically correct, each of these methods returns the root node of the resulting *abstract syntax tree (AST)*, which you can freely analyze or transform. The library provides the `AstVisitor` and `AstRewriter` visitor classes to help you with such tasks.
When the input contains a severe syntax error, a `ParserException` is thrown. By catching it you can get details about the error. There are syntax errors though which can be tolerated by the parser. Such errors are ignored by default. You can record them by setting `ParserOptions.ErrorHandler` to an instance of `CollectingErrorHandler`. Alternatively, you can set `ParserOptions.Tolerant` to false to make the parser throw exceptions also in the case of tolerable syntax errors.
The library is able to write the AST (except for comments) back to JavaScript code:
```csharp
var code = program.ToJavaScriptString(format: true);
```
It is also possible to serialize the AST into a JSON representation:
```csharp
var astJson = program.ToJsonString(indent: " ");
```
Considering the example above this call will return the following JSON:
```json
{
"type": "Program",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "answer"
},
"init": {
"type": "Literal",
"value": 42,
"raw": "42"
}
}
],
"kind": "const"
}
],
"sourceType": "script",
"strict": false
}
```
### Benchmarks
Here is a list of common JavaScript libraries and the time it takes to parse them,
compared to the time it took for the same script using the original Esprima in Chrome.
| Script | Size | Esprima .NET (.NET 6) | Esprima (Chrome 116) |
| ------------------- | ------ | ----------------------| -------------------- |
| underscore-1.5.2 | 43 KB | 1.0 ms | 1.4 ms |
| backbone-1.1.0 | 59 KB | 1.2 ms | 1.6 ms |
| mootools-1.4.5 | 157 KB | 5.2 ms | 7.1 ms |
| jquery-1.9.1 | 262 KB | 6.6 ms | 7.9 ms |
| yui-3.12.0 | 330 KB | 4.6 ms | 6.9 ms |
| jquery.mobile-1.4.2 | 442 KB | 10.0 ms | 17.7 ms |
| angular-1.2.5 | 702 KB | 8.5 ms | 15.1 ms |

Binary file not shown.

View File

@@ -0,0 +1 @@
dR8oKDP+tGZ5N+O4i2mQQEe5FKIP9VH3z33Lk2+IZGu5+JjwM9zzJtBmPqcrUTMpgnRztpfxObxKRbQvmL4d7g==

View File

@@ -0,0 +1,825 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Esprima</name>
</assembly>
<members>
<member name="M:Esprima.ArrayList`1.#ctor(`0[])">
<remarks>
Expects ownership of the array!
</remarks>
</member>
<member name="M:Esprima.ArrayList`1.AsSpan">
<remarks>
Items should not be added or removed from the <see cref="T:Esprima.ArrayList`1"/> while the returned <see cref="T:System.Span`1"/> is in use!
</remarks>
</member>
<member name="M:Esprima.ArrayList`1.AsReadOnlySpan">
<remarks>
Items should not be added or removed from the <see cref="T:Esprima.ArrayList`1"/> while the returned <see cref="T:System.ReadOnlySpan`1"/> is in use!
</remarks>
</member>
<member name="T:Esprima.ArrayList`1.Enumerator">
<remarks>
This implementation does not detect changes to the list
during iteration and therefore the behaviour is undefined
under those conditions.
</remarks>
</member>
<member name="P:Esprima.Ast.ArrayExpression.Elements">
<summary>
{ <see cref="T:Esprima.Ast.Expression"/> (incl. <see cref="T:Esprima.Ast.SpreadElement"/>) | <see langword="null"/> (omitted element) }
</summary>
</member>
<member name="P:Esprima.Ast.ArrayPattern.Elements">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> | <see langword="null"/> (omitted element) }
</summary>
</member>
<member name="P:Esprima.Ast.ArrowFunctionExpression.Params">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.ArrowFunctionExpression.Body">
<remarks>
<see cref="T:Esprima.Ast.BlockStatement"/> | <see cref="T:Esprima.Ast.Expression"/>
</remarks>
</member>
<member name="T:Esprima.Ast.ArrowParameterPlaceHolder">
<remarks>
<see cref="T:Esprima.Ast.ArrowParameterPlaceHolder"/> nodes never appear in the final AST, only used during its construction.
</remarks>
</member>
<member name="P:Esprima.Ast.AssignmentExpression.Left">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.AssignmentPattern.Left">
<summary>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/>
</summary>
</member>
<member name="P:Esprima.Ast.CatchClause.Param">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ChainExpression.Expression">
<remarks>
<see cref="T:Esprima.Ast.CallExpression"/> | <see cref="T:Esprima.Ast.ComputedMemberExpression"/>| <see cref="T:Esprima.Ast.StaticMemberExpression"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ClassBody.Body">
<remarks>
<see cref="T:Esprima.Ast.MethodDefinition"/> | <see cref="T:Esprima.Ast.PropertyDefinition"/> | <see cref="T:Esprima.Ast.StaticBlock"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ClassProperty.Key">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string or numeric) | '[' <see cref="T:Esprima.Ast.Expression"/> ']' | <see cref="T:Esprima.Ast.PrivateIdentifier"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ExportAllDeclaration.Exported">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="P:Esprima.Ast.ExportDefaultDeclaration.Declaration">
<remarks>
<see cref="T:Esprima.Ast.Expression"/> | <see cref="T:Esprima.Ast.ClassDeclaration"/> | <see cref="T:Esprima.Ast.FunctionDeclaration"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ExportNamedDeclaration.Declaration">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> | <see cref="T:Esprima.Ast.ClassDeclaration"/> | <see cref="T:Esprima.Ast.FunctionDeclaration"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ExportSpecifier.Local">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="P:Esprima.Ast.ExportSpecifier.Exported">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="T:Esprima.Ast.Expression">
<summary>
A JavaScript expression.
</summary>
</member>
<member name="P:Esprima.Ast.Expression.Tokens">
<summary>
Gets or sets the list of tokens associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)"/> when <see cref="P:Esprima.ParserOptions.Tokens"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.Expression.Comments">
<summary>
Gets or sets the list of comments associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)"/> when <see cref="P:Esprima.ParserOptions.Comments"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.ForInStatement.Left">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> (may have an initializer in non-strict mode) | <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ForOfStatement.Left">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> (cannot have an initializer) | <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ForStatement.Init">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> (var i) | <see cref="T:Esprima.Ast.Expression"/> (i=0)
</remarks>
</member>
<member name="P:Esprima.Ast.FunctionDeclaration.Params">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.FunctionExpression.Params">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="T:Esprima.Ast.IClass">
<summary>
Represents either a <see cref="T:Esprima.Ast.ClassDeclaration"/> or an <see cref="T:Esprima.Ast.ClassExpression"/>
</summary>
</member>
<member name="T:Esprima.Ast.IFunction">
<summary>
Represents either a <see cref="T:Esprima.Ast.FunctionDeclaration"/>, a <see cref="T:Esprima.Ast.FunctionExpression"/> or an <see cref="T:Esprima.Ast.ArrowFunctionExpression"/>
</summary>
</member>
<member name="T:Esprima.Ast.IModuleSpecifier">
<summary>
Represents either an <see cref="T:Esprima.Ast.ExportSpecifier"/> or an <see cref="T:Esprima.Ast.ImportDeclarationSpecifier"/>
</summary>
</member>
<member name="P:Esprima.Ast.ImportAttribute.Key">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string or numeric)
</remarks>
</member>
<member name="P:Esprima.Ast.ImportSpecifier.Imported">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="T:Esprima.Ast.Jsx.JsxExpression">
<summary>
A Jsx expression.
</summary>
</member>
<member name="P:Esprima.Ast.MemberExpression.Computed">
<summary>
True if an indexer is used and the property to be evaluated.
</summary>
</member>
<member name="M:Esprima.Ast.Node.GetChildNodes">
<remarks>
Inheritors who extend the AST with custom node types should override this method and provide an actual implementation.
</remarks>
</member>
<member name="M:Esprima.Ast.Node.AcceptAsExtension(Esprima.Utils.AstVisitor)">
<summary>
Dispatches the visitation of the current node to <see cref="M:Esprima.Utils.AstVisitor.VisitExtension(Esprima.Ast.Node)"/>.
</summary>
<remarks>
When defining custom node types, inheritors can use this method to implement the abstract <see cref="M:Esprima.Ast.Node.Accept(Esprima.Utils.AstVisitor)"/> method.
</remarks>
</member>
<member name="M:Esprima.Ast.NodeList`1.#ctor(`0[],System.Int32)">
<remarks>
Expects ownership of the array!
</remarks>
</member>
<member name="T:Esprima.Ast.NodeList`1.Enumerator">
<remarks>
This implementation does not detect changes to the list
during iteration and therefore the behaviour is undefined
under those conditions.
</remarks>
</member>
<member name="P:Esprima.Ast.ObjectExpression.Properties">
<summary>
{ <see cref="T:Esprima.Ast.Property"/> | <see cref="T:Esprima.Ast.SpreadElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.ObjectPattern.Properties">
<summary>
{ <see cref="T:Esprima.Ast.Property"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.Program.Tokens">
<summary>
Gets or sets the list of tokens associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)"/> and <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)"/> when <see cref="P:Esprima.ParserOptions.Tokens"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.Program.Comments">
<summary>
Gets or sets the list of comments associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)"/> and <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)"/> when <see cref="P:Esprima.ParserOptions.Comments"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.Property.Key">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string or numeric) | '[' <see cref="T:Esprima.Ast.Expression"/> ']'
</remarks>
</member>
<member name="P:Esprima.Ast.Property.Value">
<remarks>
When property of an object literal: <see cref="T:Esprima.Ast.Expression"/> (incl. <see cref="T:Esprima.Ast.SpreadElement"/> and <see cref="T:Esprima.Ast.FunctionExpression"/> for getters/setters/methods) <br />
When property of an object binding pattern: <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/>
</remarks>
</member>
<member name="P:Esprima.Ast.RestElement.Argument">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.SyntaxElement.AssociatedData">
<summary>
Gets or sets the arbitrary, user-defined data object associated with the current <see cref="T:Esprima.Ast.SyntaxElement"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.VariableDeclarator.Id">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="T:Esprima.CollectingErrorHandler">
<summary>
Error handler that collects errors that have been seen during the parsing.
</summary>
</member>
<member name="T:Esprima.ErrorHandler">
<summary>
Default error handling logic for Esprima.
</summary>
</member>
<member name="T:Esprima.EsprimaExceptionHelper">
<remarks>
JIT cannot inline methods that have <see langword="throw"/> in them. These helper methods allow us to work around this.
</remarks>
</member>
<member name="T:Esprima.JavaScriptParser">
<summary>
Provides JavaScript parsing capabilities.
</summary>
<remarks>
Use the <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)" />, <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)" /> or <see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)" /> methods to parse the JavaScript code.
</remarks>
</member>
<member name="M:Esprima.JavaScriptParser.#ctor">
<summary>
Creates a new <see cref="T:Esprima.JavaScriptParser" /> instance.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.#ctor(Esprima.ParserOptions)">
<summary>
Creates a new <see cref="T:Esprima.JavaScriptParser" /> instance.
</summary>
<param name="options">The parser options.</param>
<returns></returns>
</member>
<member name="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)">
<summary>
Parses the code as a JavaScript module.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)">
<summary>
Parses the code as a JavaScript script.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.GetTokenRaw(Esprima.Token@)">
<summary>
From internal representation to an external structure
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.Expect(System.String)">
<summary>
Expect the next token to match the specified punctuator.
If not, an exception will be thrown.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ExpectCommaSeparator">
<summary>
Quietly expect a comma when in tolerant mode, otherwise delegates to Expect().
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ExpectKeyword(System.String)">
<summary>
Expect the next token to match the specified keyword.
If not, an exception will be thrown.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.Match(System.String)">
<summary>
Return true if the next token matches the specified punctuator.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ConsumeMatch(System.String)">
<summary>
Return true if the next token matches the specified punctuator and consumes the next token.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.MatchAny(System.Char,System.Char,System.Char,System.Char)">
<summary>
Return true if the next token matches any of the specified punctuators.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.MatchKeyword(System.String)">
<summary>
Return true if the next token matches the specified keyword
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)">
<summary>
Parses the code as a JavaScript expression.
</summary>
</member>
<member name="T:Esprima.JsxParser">
<summary>
Provides JSX parsing capabilities.
</summary>
<remarks>
Use the <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)" />, <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)" /> or
<see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)" /> methods to parse the JSX code.
</remarks>
</member>
<member name="P:Esprima.ParseError.Index">
<summary>
Zero-based index within the parsed code string. (Can be negative if location information is available.)
</summary>
</member>
<member name="P:Esprima.ParseError.LineNumber">
<summary>
One-based line number. (Can be zero if location information is not available.)
</summary>
</member>
<member name="P:Esprima.ParseError.Column">
<summary>
One-based column index.
</summary>
</member>
<member name="P:Esprima.ParserException.Index">
<summary>
Zero-based index within the parsed code string. (Can be negative if location information is available.)
</summary>
</member>
<member name="P:Esprima.ParserException.LineNumber">
<summary>
One-based line number. (Can be zero if location information is not available.)
</summary>
</member>
<member name="P:Esprima.ParserException.Column">
<summary>
One-based column index.
</summary>
</member>
<member name="T:Esprima.ParserOptions">
<summary>
Parser options.
</summary>
</member>
<member name="P:Esprima.ParserOptions.Tokens">
<summary>
Gets or sets whether the tokens are included in the parsed tree, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.Comments">
<summary>
Gets or sets whether the comments are included in the parsed tree, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.Tolerant">
<summary>
Gets or sets whether the parser is tolerant to errors, defaults to <see langword="true"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.AllowReturnOutsideFunction">
<summary>
Gets or sets whether the parser allows return statement to be used outside of functions, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.ErrorHandler">
<summary>
Gets or sets the <see cref="P:Esprima.ParserOptions.ErrorHandler"/> to use, defaults to <see cref="F:Esprima.ErrorHandler.Default"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.RegExpParseMode">
<summary>
Gets or sets how regular expressions should be parsed, defaults to <see cref="F:Esprima.RegExpParseMode.AdaptToInterpreted"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.RegexTimeout">
<summary>
Default timeout for created <see cref="T:System.Text.RegularExpressions.Regex"/> instances, defaults to 10 seconds.
</summary>
</member>
<member name="P:Esprima.ParserOptions.MaxAssignmentDepth">
<summary>
The maximum depth of assignments allowed, defaults to 200.
</summary>
</member>
<member name="P:Esprima.ParserOptions.OnNodeCreated">
<summary>
Action to execute on each parsed node.
</summary>
<remarks>
This callback allows you to make changes to the nodes created by the parser.
E.g. you can use it to store a reference to the parent node for later use:
<code>
options.OnNodeCreated = node =>
{
foreach (var child in node.ChildNodes)
{
child.AssociatedData = node;
}
};
</code>
</remarks>
</member>
<member name="T:Esprima.Position">
<summary>
Represents a source position as line number and column offset, where
the first line is 1 and first column is 0.
</summary>
<remarks>
A position where <see cref="F:Esprima.Position.Line"/> and <see cref="F:Esprima.Position.Column"/> are zero
is an allowed (and the default) value but considered an invalid
position.
</remarks>
</member>
<member name="M:Esprima.Scanner.ValidateRegExp(System.String,System.String,Esprima.ParseError@)">
<summary>
Checks whether an ECMAScript regular expression is syntactically correct.
</summary>
<remarks>
Unicode sets mode (flag v) is not supported currently, for such patterns the method returns <see langword="false"/>.
Expressions within Unicode property escape sequences (\p{...} and \P{...}) are not validated (ignored) currently.
</remarks>
<returns><see langword="true"/> if the regular expression is syntactically correct, otherwise <see langword="false"/>.</returns>
</member>
<member name="M:Esprima.Scanner.AdaptRegExp(System.String,System.String,System.Boolean,System.Nullable{System.TimeSpan},System.Boolean)">
<summary>
Parses an ECMAScript regular expression and tries to construct a <see cref="T:System.Text.RegularExpressions.Regex"/> instance with the equivalent behavior.
</summary>
<remarks>
Please note that, because of some fundamental differences between the ECMAScript and .NET regular expression engines,
not every ECMAScript regular expression can be converted to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> (or can be converted with compromises only).
You can read more about the known issues of the conversion <see href="https://github.com/sebastienros/esprima-dotnet/pull/364#issuecomment-1606045259">here</see>.
</remarks>
<returns>
An instance of <see cref="T:Esprima.RegExpParseResult"/>, whose <see cref="P:Esprima.RegExpParseResult.Regex"/> property contains the equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> if the conversion was possible,
otherwise <see langword="null"/> (unless <paramref name="throwIfNotAdaptable"/> is <see langword="true"/>).
</returns>
<exception cref="T:Esprima.ParserException">
<paramref name="pattern"/> is an invalid regular expression pattern or cannot be converted
to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> (if <paramref name="throwIfNotAdaptable"/> is <see langword="true"/>).
</exception>
</member>
<member name="M:Esprima.Scanner.RegExpParser.CheckBracesBalance(Esprima.ArrayList{Esprima.Scanner.RegExpCapturingGroup}@,System.Collections.Generic.Dictionary{System.String,System.String}@)">
<summary>
Ensures the braces are balanced in the regular expression pattern.
</summary>
</member>
<member name="M:Esprima.Scanner.RegExpParser.ParsePattern``1(``0,Esprima.ArrayList{Esprima.Scanner.RegExpCapturingGroup}@,System.Collections.Generic.Dictionary{System.String,System.String},Esprima.ParseError@)">
<summary>
Check the regular expression pattern for additional syntax errors and optionally build an adjusted pattern which
implements the equivalent behavior in .NET, on top of the <see cref="F:System.Text.RegularExpressions.RegexOptions.ECMAScript"/> compatibility mode.
</summary>
<returns>
<see langword="null"/> if the scanner is configured to validate the regular expression pattern but not adapt it to .NET.
Otherwise, the adapted pattern or <see langword="null"/> if the pattern is syntactically correct but a .NET equivalent could not be constructed
and the scanner is configured to tolerant mode.
</returns>
</member>
<member name="T:Esprima.RegExpParseMode">
<summary>
Specifies how the scanner should parse regular expressions.
</summary>
</member>
<member name="F:Esprima.RegExpParseMode.Skip">
<summary>
Scan regular expressions without checking that they are syntactically correct.
</summary>
</member>
<member name="F:Esprima.RegExpParseMode.Validate">
<summary>
Scan regular expressions and check that they are syntactically correct (throw <see cref="T:Esprima.ParserException"/> if an invalid regular expression is encountered)
but don't attempt to convert them to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/>.
</summary>
</member>
<member name="F:Esprima.RegExpParseMode.AdaptToInterpreted">
<summary>
Scan regular expressions, check that they are syntactically correct (throw <see cref="T:Esprima.ParserException"/> if an invalid regular expression is encountered)
and attempt to convert them to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> without the <see cref="F:System.Text.RegularExpressions.RegexOptions.Compiled"/> option.
</summary>
<remarks>
In the case of a valid regular expression for which an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> cannot be constructed, either <see cref="T:Esprima.ParserException"/> is thrown
or a <see cref="T:Esprima.Token"/> is created with the <see cref="P:Esprima.Token.Value"/> property set to <see langword="null"/>, depending on the <see cref="P:Esprima.ScannerOptions.Tolerant"/> option.
</remarks>
</member>
<member name="F:Esprima.RegExpParseMode.AdaptToCompiled">
<summary>
Scan regular expressions, check that they are syntactically correct (throw <see cref="T:Esprima.ParserException"/> if an invalid regular expression is encountered)
and attempt to convert them to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> with the <see cref="F:System.Text.RegularExpressions.RegexOptions.Compiled"/> option.
</summary>
<remarks>
In the case of a valid regular expression for which an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> cannot be constructed, either <see cref="T:Esprima.ParserException"/> is thrown
or a <see cref="T:Esprima.Token"/> is created with the <see cref="P:Esprima.Token.Value"/> property set to <see langword="null"/>, depending on the <see cref="P:Esprima.ScannerOptions.Tolerant"/> option.
</remarks>
</member>
<member name="T:Esprima.ScannerOptions">
<summary>
Scanner options.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.Comments">
<summary>
Gets or sets whether the comments are collected, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.Tolerant">
<summary>
Gets or sets whether the scanner is tolerant to errors, defaults to <see langword="true"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.ErrorHandler">
<summary>
Gets or sets the <see cref="P:Esprima.ScannerOptions.ErrorHandler"/> to use, defaults to <see cref="F:Esprima.ErrorHandler.Default"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.RegExpParseMode">
<summary>
Gets or sets how regular expressions should be parsed, defaults to <see cref="F:Esprima.RegExpParseMode.AdaptToInterpreted"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.RegexTimeout">
<summary>
Default timeout for created <see cref="T:System.Text.RegularExpressions.Regex"/> instances, defaults to 10 seconds.
</summary>
</member>
<member name="T:Esprima.StringPool">
<summary>
A heavily slimmed down version of <see cref="T:System.Collections.Generic.HashSet`1"/> which can be used to reduce memory allocations when dissecting a string.
</summary>
</member>
<member name="M:Esprima.StringPool.Initialize(System.Int32)">
<summary>
Initializes buckets and slots arrays. Uses suggested capacity by finding next prime
greater than or equal to capacity.
</summary>
</member>
<member name="M:Esprima.StringPool.GetBucketRef(System.Int32)">
<summary>Gets a reference to the specified hashcode's bucket, containing an index into <see cref="F:Esprima.StringPool._entries"/>.</summary>
</member>
<member name="M:Esprima.StringPool.GetOrCreate(System.ReadOnlySpan{System.Char})">
<summary>Adds the specified string to the <see cref="T:Esprima.StringPool"/> object if it's not already contained.</summary>
<param name="value">The string to add.</param>
<returns>The stored string instance.</returns>
</member>
<member name="M:Esprima.StringPool.GetHashCode(System.ReadOnlySpan{System.Char})">
<summary>
Gets the (positive) hashcode for a given <see cref="T:System.ReadOnlySpan`1"/> instance.
</summary>
<param name="span">The input <see cref="T:System.ReadOnlySpan`1"/> instance.</param>
<returns>The hashcode for <paramref name="span"/>.</returns>
</member>
<member name="F:Esprima.StringPool.Entry.Next">
<summary>
0-based index of next entry in chain: -1 means end of chain
also encodes whether this entry _itself_ is part of the free list by changing sign and subtracting 3,
so -2 means end of free list, -3 means index 0 but on free list, -4 means index 1 but on free list, etc.
</summary>
</member>
<member name="P:Esprima.Utils.AstToJsonOptions.TestCompatibilityMode">
<summary>
This switch is intended for enabling a compatibility mode for <see cref="T:Esprima.Utils.AstToJsonConverter"/> to build a JSON output
which matches the format of the test fixtures of the original Esprima project.
</summary>
</member>
<member name="M:Esprima.Utils.ExpressionHelper.GetOperatorPrecedence(Esprima.Ast.Expression,System.Int32@)">
<summary>
Maps operator precedence to an integer value.
</summary>
<param name="expression">The expression representing the operation.</param>
<param name="associativity">
If less than zero, the operation has left-to-right associativity.<br/>
If zero, associativity is not defined for the operation.<br/>
If greater than zero, the operation has right-to-left associativity.
</param>
<returns>
Precedence value as defined based on <see href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence#table">this table</see>. Higher value means higher precedence.
Negative value is returned if the precedence is not defined for the specified expression. <see cref="F:System.Int32.MaxValue"/> is returned for primitive expressions like <see cref="T:Esprima.Ast.Identifier"/>.
</returns>
</member>
<member name="T:Esprima.Utils.JavaScriptTextFormatter">
<summary>
Base class for JavaScript code formatters.
</summary>
</member>
<member name="T:Esprima.Utils.JavaScriptTextWriter">
<summary>
Base JavaScript text writer (code formatter) which uses the most compact possible (i.e. minimal) format.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TriviaFlags.LeadingNewLineRequired">
<summary>
A leading new line is required for the current trivia (i.e. it must start in a new line).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TriviaFlags.TrailingNewLineRequired">
<summary>
A trailing new line is required for the current trivia (i.e. it must be followed by a new line).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TriviaFlags.SurroundingNewLineRequired">
<summary>
Surrounding new lines are required for the current trivia.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.Leading">
<summary>
The punctuator precedes the related token(s).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.InBetween">
<summary>
The punctuator is somewhere in the middle of the related token(s).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.Trailing">
<summary>
The punctuator follows the related token(s).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.FollowsStatementBody">
<summary>
The keyword follows the body of a statement and precedes another body of the same statement (e.g. the else branch of an <see cref="T:Esprima.Ast.IfStatement"/>).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.LeadingSpaceRecommended">
<summary>
A leading space is recommended for the current token (unless other white-space precedes it).
</summary>
<remarks>
May or may not be respected. (It is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.TrailingSpaceRecommended">
<summary>
A trailing space is recommended for the current token (unless other white-space follows it).
</summary>
<remarks>
May or may not be respected. (It is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.SurroundingSpaceRecommended">
<summary>
Surrounding spaces are recommended for the current token (unless other white-spaces surround it).
</summary>
<remarks>
May or may not be respected. (It is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.NeedsSemicolon">
<summary>
The statement must be terminated with a semicolon.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.MayOmitRightMostSemicolon">
<summary>
If <see cref="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.NeedsSemicolon"/> is set, determines if the semicolon can be omitted when the statement comes last in the current block (see <seealso cref="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.IsRightMost"/>).
</summary>
<remarks>
Automatically propagated to child statements, should be set directly only for statement list items.
Whether the semicolon is omitted or not is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.IsRightMost">
<summary>
The statement comes last in the current statement list (more precisely, it is the right-most part in the textual representation of the current statement list).
</summary>
<remarks>
In the visitation handlers of <see cref="T:Esprima.Utils.AstToJavaScriptConverter"/> the flag is interpreted differently: it indicates that the statement comes last in the parent statement.
(Upon visiting a statement, this flag of the parent and child statement gets combined to determine its effective value for the current statement list.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.IsStatementBody">
<summary>
The statement represents the body of another statement (e.g. the if branch of an <see cref="T:Esprima.Ast.IfStatement"/>).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.ExpressionFlags.NeedsBrackets">
<summary>
The expression must be wrapped in brackets.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.ExpressionFlags.IsLeftMost">
<summary>
The expression comes first in the current expression tree, more precisely, it is the left-most part in the textual representation of the currently visited expression tree (incl. brackets).
</summary>
<remarks>
In the visitation handlers of <see cref="T:Esprima.Utils.AstToJavaScriptConverter"/> the flag is interpreted differently: it indicates that the expression comes first in the parent expression.
(Upon visiting an expression, this flag of the parent and child expression gets combined to determine its effective value for the expression tree.)
</remarks>
</member>
<member name="P:Esprima.Utils.JavaScriptTextWriter.WriteContext.AssociatedData">
<summary>
Gets or sets the arbitrary, user-defined data object associated with the current <see cref="T:Esprima.Utils.JavaScriptTextWriter.WriteContext"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="T:Esprima.Utils.JsonTextWriter">
<summary>
Represents a writer that provides a fast, non-cached, forward-only
way of generating streams or files containing JSON Text according
to the grammar rules laid out in
<a href="http://www.ietf.org/rfc/rfc4627.txt">RFC 4627</a>.
</summary>
</member>
<member name="M:Esprima.Utils.Jsx.JsxAstRewriter.CreateJsxRewriterFor``1(``0)">
<summary>
Creates an <see cref="T:Esprima.Utils.Jsx.IJsxAstVisitor"/> instance which can be used for working around multiple inheritance:
the returned instance re-routes visitations of JSX nodes to the specified <paramref name="rewriter"/>,
thus it can be used for emulating base class method calls.
</summary>
</member>
<member name="M:Esprima.Utils.Jsx.JsxAstVisitor.CreateJsxVisitorFor``1(``0)">
<summary>
Creates an <see cref="T:Esprima.Utils.Jsx.IJsxAstVisitor"/> instance which can be used for working around multiple inheritance:
the returned instance re-routes visitations of JSX nodes to the specified <paramref name="visitor"/>,
thus it can be used for emulating base class method calls.
</summary>
</member>
<member name="T:Esprima.Utils.KnRJavaScriptTextFormatter">
<summary>
JavaScript code formatter which implements the most commonly used <see href="https://en.wikipedia.org/wiki/Indentation_style#K&amp;R_style">K&amp;R style</see>.
</summary>
</member>
<member name="P:System.HexConverter.CharToHexLookup">
<summary>Map from an ASCII char to its hex value, e.g. arr['b'] == 11. 0xFF means it's not a hex digit.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
<summary>
Applied to a method that will never return under any circumstance.
</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
<summary>
Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.
</summary>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
<summary>
Initializes the attribute with the specified return value condition.
</summary>
<param name="returnValue">The return value condition. If the method returns this value, the associated parameter may be null.</param>
</member>
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
<summary>
Gets the return value condition.
</summary>
</member>
<member name="T:System.Runtime.CompilerServices.IsExternalInit">
<summary>
Reserved to be used by the compiler for tracking metadata.
This class should not be used by developers in source code.
</summary>
</member>
<member name="T:System.Runtime.CompilerServices.SkipLocalsInitAttribute">
<summary>
Used to indicate to the compiler that the <c>.locals init</c> flag should not be set in method headers.
</summary>
</member>
</members>
</doc>

View File

@@ -0,0 +1,825 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Esprima</name>
</assembly>
<members>
<member name="M:Esprima.ArrayList`1.#ctor(`0[])">
<remarks>
Expects ownership of the array!
</remarks>
</member>
<member name="M:Esprima.ArrayList`1.AsSpan">
<remarks>
Items should not be added or removed from the <see cref="T:Esprima.ArrayList`1"/> while the returned <see cref="T:System.Span`1"/> is in use!
</remarks>
</member>
<member name="M:Esprima.ArrayList`1.AsReadOnlySpan">
<remarks>
Items should not be added or removed from the <see cref="T:Esprima.ArrayList`1"/> while the returned <see cref="T:System.ReadOnlySpan`1"/> is in use!
</remarks>
</member>
<member name="T:Esprima.ArrayList`1.Enumerator">
<remarks>
This implementation does not detect changes to the list
during iteration and therefore the behaviour is undefined
under those conditions.
</remarks>
</member>
<member name="P:Esprima.Ast.ArrayExpression.Elements">
<summary>
{ <see cref="T:Esprima.Ast.Expression"/> (incl. <see cref="T:Esprima.Ast.SpreadElement"/>) | <see langword="null"/> (omitted element) }
</summary>
</member>
<member name="P:Esprima.Ast.ArrayPattern.Elements">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> | <see langword="null"/> (omitted element) }
</summary>
</member>
<member name="P:Esprima.Ast.ArrowFunctionExpression.Params">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.ArrowFunctionExpression.Body">
<remarks>
<see cref="T:Esprima.Ast.BlockStatement"/> | <see cref="T:Esprima.Ast.Expression"/>
</remarks>
</member>
<member name="T:Esprima.Ast.ArrowParameterPlaceHolder">
<remarks>
<see cref="T:Esprima.Ast.ArrowParameterPlaceHolder"/> nodes never appear in the final AST, only used during its construction.
</remarks>
</member>
<member name="P:Esprima.Ast.AssignmentExpression.Left">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.AssignmentPattern.Left">
<summary>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/>
</summary>
</member>
<member name="P:Esprima.Ast.CatchClause.Param">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ChainExpression.Expression">
<remarks>
<see cref="T:Esprima.Ast.CallExpression"/> | <see cref="T:Esprima.Ast.ComputedMemberExpression"/>| <see cref="T:Esprima.Ast.StaticMemberExpression"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ClassBody.Body">
<remarks>
<see cref="T:Esprima.Ast.MethodDefinition"/> | <see cref="T:Esprima.Ast.PropertyDefinition"/> | <see cref="T:Esprima.Ast.StaticBlock"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ClassProperty.Key">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string or numeric) | '[' <see cref="T:Esprima.Ast.Expression"/> ']' | <see cref="T:Esprima.Ast.PrivateIdentifier"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ExportAllDeclaration.Exported">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="P:Esprima.Ast.ExportDefaultDeclaration.Declaration">
<remarks>
<see cref="T:Esprima.Ast.Expression"/> | <see cref="T:Esprima.Ast.ClassDeclaration"/> | <see cref="T:Esprima.Ast.FunctionDeclaration"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ExportNamedDeclaration.Declaration">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> | <see cref="T:Esprima.Ast.ClassDeclaration"/> | <see cref="T:Esprima.Ast.FunctionDeclaration"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ExportSpecifier.Local">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="P:Esprima.Ast.ExportSpecifier.Exported">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="T:Esprima.Ast.Expression">
<summary>
A JavaScript expression.
</summary>
</member>
<member name="P:Esprima.Ast.Expression.Tokens">
<summary>
Gets or sets the list of tokens associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)"/> when <see cref="P:Esprima.ParserOptions.Tokens"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.Expression.Comments">
<summary>
Gets or sets the list of comments associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)"/> when <see cref="P:Esprima.ParserOptions.Comments"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.ForInStatement.Left">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> (may have an initializer in non-strict mode) | <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ForOfStatement.Left">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> (cannot have an initializer) | <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ForStatement.Init">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> (var i) | <see cref="T:Esprima.Ast.Expression"/> (i=0)
</remarks>
</member>
<member name="P:Esprima.Ast.FunctionDeclaration.Params">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.FunctionExpression.Params">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="T:Esprima.Ast.IClass">
<summary>
Represents either a <see cref="T:Esprima.Ast.ClassDeclaration"/> or an <see cref="T:Esprima.Ast.ClassExpression"/>
</summary>
</member>
<member name="T:Esprima.Ast.IFunction">
<summary>
Represents either a <see cref="T:Esprima.Ast.FunctionDeclaration"/>, a <see cref="T:Esprima.Ast.FunctionExpression"/> or an <see cref="T:Esprima.Ast.ArrowFunctionExpression"/>
</summary>
</member>
<member name="T:Esprima.Ast.IModuleSpecifier">
<summary>
Represents either an <see cref="T:Esprima.Ast.ExportSpecifier"/> or an <see cref="T:Esprima.Ast.ImportDeclarationSpecifier"/>
</summary>
</member>
<member name="P:Esprima.Ast.ImportAttribute.Key">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string or numeric)
</remarks>
</member>
<member name="P:Esprima.Ast.ImportSpecifier.Imported">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="T:Esprima.Ast.Jsx.JsxExpression">
<summary>
A Jsx expression.
</summary>
</member>
<member name="P:Esprima.Ast.MemberExpression.Computed">
<summary>
True if an indexer is used and the property to be evaluated.
</summary>
</member>
<member name="M:Esprima.Ast.Node.GetChildNodes">
<remarks>
Inheritors who extend the AST with custom node types should override this method and provide an actual implementation.
</remarks>
</member>
<member name="M:Esprima.Ast.Node.AcceptAsExtension(Esprima.Utils.AstVisitor)">
<summary>
Dispatches the visitation of the current node to <see cref="M:Esprima.Utils.AstVisitor.VisitExtension(Esprima.Ast.Node)"/>.
</summary>
<remarks>
When defining custom node types, inheritors can use this method to implement the abstract <see cref="M:Esprima.Ast.Node.Accept(Esprima.Utils.AstVisitor)"/> method.
</remarks>
</member>
<member name="M:Esprima.Ast.NodeList`1.#ctor(`0[],System.Int32)">
<remarks>
Expects ownership of the array!
</remarks>
</member>
<member name="T:Esprima.Ast.NodeList`1.Enumerator">
<remarks>
This implementation does not detect changes to the list
during iteration and therefore the behaviour is undefined
under those conditions.
</remarks>
</member>
<member name="P:Esprima.Ast.ObjectExpression.Properties">
<summary>
{ <see cref="T:Esprima.Ast.Property"/> | <see cref="T:Esprima.Ast.SpreadElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.ObjectPattern.Properties">
<summary>
{ <see cref="T:Esprima.Ast.Property"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.Program.Tokens">
<summary>
Gets or sets the list of tokens associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)"/> and <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)"/> when <see cref="P:Esprima.ParserOptions.Tokens"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.Program.Comments">
<summary>
Gets or sets the list of comments associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)"/> and <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)"/> when <see cref="P:Esprima.ParserOptions.Comments"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.Property.Key">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string or numeric) | '[' <see cref="T:Esprima.Ast.Expression"/> ']'
</remarks>
</member>
<member name="P:Esprima.Ast.Property.Value">
<remarks>
When property of an object literal: <see cref="T:Esprima.Ast.Expression"/> (incl. <see cref="T:Esprima.Ast.SpreadElement"/> and <see cref="T:Esprima.Ast.FunctionExpression"/> for getters/setters/methods) <br />
When property of an object binding pattern: <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/>
</remarks>
</member>
<member name="P:Esprima.Ast.RestElement.Argument">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.SyntaxElement.AssociatedData">
<summary>
Gets or sets the arbitrary, user-defined data object associated with the current <see cref="T:Esprima.Ast.SyntaxElement"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.VariableDeclarator.Id">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="T:Esprima.CollectingErrorHandler">
<summary>
Error handler that collects errors that have been seen during the parsing.
</summary>
</member>
<member name="T:Esprima.ErrorHandler">
<summary>
Default error handling logic for Esprima.
</summary>
</member>
<member name="T:Esprima.EsprimaExceptionHelper">
<remarks>
JIT cannot inline methods that have <see langword="throw"/> in them. These helper methods allow us to work around this.
</remarks>
</member>
<member name="T:Esprima.JavaScriptParser">
<summary>
Provides JavaScript parsing capabilities.
</summary>
<remarks>
Use the <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)" />, <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)" /> or <see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)" /> methods to parse the JavaScript code.
</remarks>
</member>
<member name="M:Esprima.JavaScriptParser.#ctor">
<summary>
Creates a new <see cref="T:Esprima.JavaScriptParser" /> instance.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.#ctor(Esprima.ParserOptions)">
<summary>
Creates a new <see cref="T:Esprima.JavaScriptParser" /> instance.
</summary>
<param name="options">The parser options.</param>
<returns></returns>
</member>
<member name="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)">
<summary>
Parses the code as a JavaScript module.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)">
<summary>
Parses the code as a JavaScript script.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.GetTokenRaw(Esprima.Token@)">
<summary>
From internal representation to an external structure
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.Expect(System.String)">
<summary>
Expect the next token to match the specified punctuator.
If not, an exception will be thrown.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ExpectCommaSeparator">
<summary>
Quietly expect a comma when in tolerant mode, otherwise delegates to Expect().
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ExpectKeyword(System.String)">
<summary>
Expect the next token to match the specified keyword.
If not, an exception will be thrown.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.Match(System.String)">
<summary>
Return true if the next token matches the specified punctuator.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ConsumeMatch(System.String)">
<summary>
Return true if the next token matches the specified punctuator and consumes the next token.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.MatchAny(System.Char,System.Char,System.Char,System.Char)">
<summary>
Return true if the next token matches any of the specified punctuators.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.MatchKeyword(System.String)">
<summary>
Return true if the next token matches the specified keyword
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)">
<summary>
Parses the code as a JavaScript expression.
</summary>
</member>
<member name="T:Esprima.JsxParser">
<summary>
Provides JSX parsing capabilities.
</summary>
<remarks>
Use the <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)" />, <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)" /> or
<see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)" /> methods to parse the JSX code.
</remarks>
</member>
<member name="P:Esprima.ParseError.Index">
<summary>
Zero-based index within the parsed code string. (Can be negative if location information is available.)
</summary>
</member>
<member name="P:Esprima.ParseError.LineNumber">
<summary>
One-based line number. (Can be zero if location information is not available.)
</summary>
</member>
<member name="P:Esprima.ParseError.Column">
<summary>
One-based column index.
</summary>
</member>
<member name="P:Esprima.ParserException.Index">
<summary>
Zero-based index within the parsed code string. (Can be negative if location information is available.)
</summary>
</member>
<member name="P:Esprima.ParserException.LineNumber">
<summary>
One-based line number. (Can be zero if location information is not available.)
</summary>
</member>
<member name="P:Esprima.ParserException.Column">
<summary>
One-based column index.
</summary>
</member>
<member name="T:Esprima.ParserOptions">
<summary>
Parser options.
</summary>
</member>
<member name="P:Esprima.ParserOptions.Tokens">
<summary>
Gets or sets whether the tokens are included in the parsed tree, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.Comments">
<summary>
Gets or sets whether the comments are included in the parsed tree, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.Tolerant">
<summary>
Gets or sets whether the parser is tolerant to errors, defaults to <see langword="true"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.AllowReturnOutsideFunction">
<summary>
Gets or sets whether the parser allows return statement to be used outside of functions, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.ErrorHandler">
<summary>
Gets or sets the <see cref="P:Esprima.ParserOptions.ErrorHandler"/> to use, defaults to <see cref="F:Esprima.ErrorHandler.Default"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.RegExpParseMode">
<summary>
Gets or sets how regular expressions should be parsed, defaults to <see cref="F:Esprima.RegExpParseMode.AdaptToInterpreted"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.RegexTimeout">
<summary>
Default timeout for created <see cref="T:System.Text.RegularExpressions.Regex"/> instances, defaults to 10 seconds.
</summary>
</member>
<member name="P:Esprima.ParserOptions.MaxAssignmentDepth">
<summary>
The maximum depth of assignments allowed, defaults to 200.
</summary>
</member>
<member name="P:Esprima.ParserOptions.OnNodeCreated">
<summary>
Action to execute on each parsed node.
</summary>
<remarks>
This callback allows you to make changes to the nodes created by the parser.
E.g. you can use it to store a reference to the parent node for later use:
<code>
options.OnNodeCreated = node =>
{
foreach (var child in node.ChildNodes)
{
child.AssociatedData = node;
}
};
</code>
</remarks>
</member>
<member name="T:Esprima.Position">
<summary>
Represents a source position as line number and column offset, where
the first line is 1 and first column is 0.
</summary>
<remarks>
A position where <see cref="F:Esprima.Position.Line"/> and <see cref="F:Esprima.Position.Column"/> are zero
is an allowed (and the default) value but considered an invalid
position.
</remarks>
</member>
<member name="M:Esprima.Scanner.ValidateRegExp(System.String,System.String,Esprima.ParseError@)">
<summary>
Checks whether an ECMAScript regular expression is syntactically correct.
</summary>
<remarks>
Unicode sets mode (flag v) is not supported currently, for such patterns the method returns <see langword="false"/>.
Expressions within Unicode property escape sequences (\p{...} and \P{...}) are not validated (ignored) currently.
</remarks>
<returns><see langword="true"/> if the regular expression is syntactically correct, otherwise <see langword="false"/>.</returns>
</member>
<member name="M:Esprima.Scanner.AdaptRegExp(System.String,System.String,System.Boolean,System.Nullable{System.TimeSpan},System.Boolean)">
<summary>
Parses an ECMAScript regular expression and tries to construct a <see cref="T:System.Text.RegularExpressions.Regex"/> instance with the equivalent behavior.
</summary>
<remarks>
Please note that, because of some fundamental differences between the ECMAScript and .NET regular expression engines,
not every ECMAScript regular expression can be converted to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> (or can be converted with compromises only).
You can read more about the known issues of the conversion <see href="https://github.com/sebastienros/esprima-dotnet/pull/364#issuecomment-1606045259">here</see>.
</remarks>
<returns>
An instance of <see cref="T:Esprima.RegExpParseResult"/>, whose <see cref="P:Esprima.RegExpParseResult.Regex"/> property contains the equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> if the conversion was possible,
otherwise <see langword="null"/> (unless <paramref name="throwIfNotAdaptable"/> is <see langword="true"/>).
</returns>
<exception cref="T:Esprima.ParserException">
<paramref name="pattern"/> is an invalid regular expression pattern or cannot be converted
to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> (if <paramref name="throwIfNotAdaptable"/> is <see langword="true"/>).
</exception>
</member>
<member name="M:Esprima.Scanner.RegExpParser.CheckBracesBalance(Esprima.ArrayList{Esprima.Scanner.RegExpCapturingGroup}@,System.Collections.Generic.Dictionary{System.String,System.String}@)">
<summary>
Ensures the braces are balanced in the regular expression pattern.
</summary>
</member>
<member name="M:Esprima.Scanner.RegExpParser.ParsePattern``1(``0,Esprima.ArrayList{Esprima.Scanner.RegExpCapturingGroup}@,System.Collections.Generic.Dictionary{System.String,System.String},Esprima.ParseError@)">
<summary>
Check the regular expression pattern for additional syntax errors and optionally build an adjusted pattern which
implements the equivalent behavior in .NET, on top of the <see cref="F:System.Text.RegularExpressions.RegexOptions.ECMAScript"/> compatibility mode.
</summary>
<returns>
<see langword="null"/> if the scanner is configured to validate the regular expression pattern but not adapt it to .NET.
Otherwise, the adapted pattern or <see langword="null"/> if the pattern is syntactically correct but a .NET equivalent could not be constructed
and the scanner is configured to tolerant mode.
</returns>
</member>
<member name="T:Esprima.RegExpParseMode">
<summary>
Specifies how the scanner should parse regular expressions.
</summary>
</member>
<member name="F:Esprima.RegExpParseMode.Skip">
<summary>
Scan regular expressions without checking that they are syntactically correct.
</summary>
</member>
<member name="F:Esprima.RegExpParseMode.Validate">
<summary>
Scan regular expressions and check that they are syntactically correct (throw <see cref="T:Esprima.ParserException"/> if an invalid regular expression is encountered)
but don't attempt to convert them to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/>.
</summary>
</member>
<member name="F:Esprima.RegExpParseMode.AdaptToInterpreted">
<summary>
Scan regular expressions, check that they are syntactically correct (throw <see cref="T:Esprima.ParserException"/> if an invalid regular expression is encountered)
and attempt to convert them to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> without the <see cref="F:System.Text.RegularExpressions.RegexOptions.Compiled"/> option.
</summary>
<remarks>
In the case of a valid regular expression for which an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> cannot be constructed, either <see cref="T:Esprima.ParserException"/> is thrown
or a <see cref="T:Esprima.Token"/> is created with the <see cref="P:Esprima.Token.Value"/> property set to <see langword="null"/>, depending on the <see cref="P:Esprima.ScannerOptions.Tolerant"/> option.
</remarks>
</member>
<member name="F:Esprima.RegExpParseMode.AdaptToCompiled">
<summary>
Scan regular expressions, check that they are syntactically correct (throw <see cref="T:Esprima.ParserException"/> if an invalid regular expression is encountered)
and attempt to convert them to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> with the <see cref="F:System.Text.RegularExpressions.RegexOptions.Compiled"/> option.
</summary>
<remarks>
In the case of a valid regular expression for which an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> cannot be constructed, either <see cref="T:Esprima.ParserException"/> is thrown
or a <see cref="T:Esprima.Token"/> is created with the <see cref="P:Esprima.Token.Value"/> property set to <see langword="null"/>, depending on the <see cref="P:Esprima.ScannerOptions.Tolerant"/> option.
</remarks>
</member>
<member name="T:Esprima.ScannerOptions">
<summary>
Scanner options.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.Comments">
<summary>
Gets or sets whether the comments are collected, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.Tolerant">
<summary>
Gets or sets whether the scanner is tolerant to errors, defaults to <see langword="true"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.ErrorHandler">
<summary>
Gets or sets the <see cref="P:Esprima.ScannerOptions.ErrorHandler"/> to use, defaults to <see cref="F:Esprima.ErrorHandler.Default"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.RegExpParseMode">
<summary>
Gets or sets how regular expressions should be parsed, defaults to <see cref="F:Esprima.RegExpParseMode.AdaptToInterpreted"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.RegexTimeout">
<summary>
Default timeout for created <see cref="T:System.Text.RegularExpressions.Regex"/> instances, defaults to 10 seconds.
</summary>
</member>
<member name="T:Esprima.StringPool">
<summary>
A heavily slimmed down version of <see cref="T:System.Collections.Generic.HashSet`1"/> which can be used to reduce memory allocations when dissecting a string.
</summary>
</member>
<member name="M:Esprima.StringPool.Initialize(System.Int32)">
<summary>
Initializes buckets and slots arrays. Uses suggested capacity by finding next prime
greater than or equal to capacity.
</summary>
</member>
<member name="M:Esprima.StringPool.GetBucketRef(System.Int32)">
<summary>Gets a reference to the specified hashcode's bucket, containing an index into <see cref="F:Esprima.StringPool._entries"/>.</summary>
</member>
<member name="M:Esprima.StringPool.GetOrCreate(System.ReadOnlySpan{System.Char})">
<summary>Adds the specified string to the <see cref="T:Esprima.StringPool"/> object if it's not already contained.</summary>
<param name="value">The string to add.</param>
<returns>The stored string instance.</returns>
</member>
<member name="M:Esprima.StringPool.GetHashCode(System.ReadOnlySpan{System.Char})">
<summary>
Gets the (positive) hashcode for a given <see cref="T:System.ReadOnlySpan`1"/> instance.
</summary>
<param name="span">The input <see cref="T:System.ReadOnlySpan`1"/> instance.</param>
<returns>The hashcode for <paramref name="span"/>.</returns>
</member>
<member name="F:Esprima.StringPool.Entry.Next">
<summary>
0-based index of next entry in chain: -1 means end of chain
also encodes whether this entry _itself_ is part of the free list by changing sign and subtracting 3,
so -2 means end of free list, -3 means index 0 but on free list, -4 means index 1 but on free list, etc.
</summary>
</member>
<member name="P:Esprima.Utils.AstToJsonOptions.TestCompatibilityMode">
<summary>
This switch is intended for enabling a compatibility mode for <see cref="T:Esprima.Utils.AstToJsonConverter"/> to build a JSON output
which matches the format of the test fixtures of the original Esprima project.
</summary>
</member>
<member name="M:Esprima.Utils.ExpressionHelper.GetOperatorPrecedence(Esprima.Ast.Expression,System.Int32@)">
<summary>
Maps operator precedence to an integer value.
</summary>
<param name="expression">The expression representing the operation.</param>
<param name="associativity">
If less than zero, the operation has left-to-right associativity.<br/>
If zero, associativity is not defined for the operation.<br/>
If greater than zero, the operation has right-to-left associativity.
</param>
<returns>
Precedence value as defined based on <see href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence#table">this table</see>. Higher value means higher precedence.
Negative value is returned if the precedence is not defined for the specified expression. <see cref="F:System.Int32.MaxValue"/> is returned for primitive expressions like <see cref="T:Esprima.Ast.Identifier"/>.
</returns>
</member>
<member name="T:Esprima.Utils.JavaScriptTextFormatter">
<summary>
Base class for JavaScript code formatters.
</summary>
</member>
<member name="T:Esprima.Utils.JavaScriptTextWriter">
<summary>
Base JavaScript text writer (code formatter) which uses the most compact possible (i.e. minimal) format.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TriviaFlags.LeadingNewLineRequired">
<summary>
A leading new line is required for the current trivia (i.e. it must start in a new line).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TriviaFlags.TrailingNewLineRequired">
<summary>
A trailing new line is required for the current trivia (i.e. it must be followed by a new line).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TriviaFlags.SurroundingNewLineRequired">
<summary>
Surrounding new lines are required for the current trivia.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.Leading">
<summary>
The punctuator precedes the related token(s).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.InBetween">
<summary>
The punctuator is somewhere in the middle of the related token(s).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.Trailing">
<summary>
The punctuator follows the related token(s).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.FollowsStatementBody">
<summary>
The keyword follows the body of a statement and precedes another body of the same statement (e.g. the else branch of an <see cref="T:Esprima.Ast.IfStatement"/>).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.LeadingSpaceRecommended">
<summary>
A leading space is recommended for the current token (unless other white-space precedes it).
</summary>
<remarks>
May or may not be respected. (It is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.TrailingSpaceRecommended">
<summary>
A trailing space is recommended for the current token (unless other white-space follows it).
</summary>
<remarks>
May or may not be respected. (It is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.SurroundingSpaceRecommended">
<summary>
Surrounding spaces are recommended for the current token (unless other white-spaces surround it).
</summary>
<remarks>
May or may not be respected. (It is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.NeedsSemicolon">
<summary>
The statement must be terminated with a semicolon.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.MayOmitRightMostSemicolon">
<summary>
If <see cref="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.NeedsSemicolon"/> is set, determines if the semicolon can be omitted when the statement comes last in the current block (see <seealso cref="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.IsRightMost"/>).
</summary>
<remarks>
Automatically propagated to child statements, should be set directly only for statement list items.
Whether the semicolon is omitted or not is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.IsRightMost">
<summary>
The statement comes last in the current statement list (more precisely, it is the right-most part in the textual representation of the current statement list).
</summary>
<remarks>
In the visitation handlers of <see cref="T:Esprima.Utils.AstToJavaScriptConverter"/> the flag is interpreted differently: it indicates that the statement comes last in the parent statement.
(Upon visiting a statement, this flag of the parent and child statement gets combined to determine its effective value for the current statement list.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.IsStatementBody">
<summary>
The statement represents the body of another statement (e.g. the if branch of an <see cref="T:Esprima.Ast.IfStatement"/>).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.ExpressionFlags.NeedsBrackets">
<summary>
The expression must be wrapped in brackets.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.ExpressionFlags.IsLeftMost">
<summary>
The expression comes first in the current expression tree, more precisely, it is the left-most part in the textual representation of the currently visited expression tree (incl. brackets).
</summary>
<remarks>
In the visitation handlers of <see cref="T:Esprima.Utils.AstToJavaScriptConverter"/> the flag is interpreted differently: it indicates that the expression comes first in the parent expression.
(Upon visiting an expression, this flag of the parent and child expression gets combined to determine its effective value for the expression tree.)
</remarks>
</member>
<member name="P:Esprima.Utils.JavaScriptTextWriter.WriteContext.AssociatedData">
<summary>
Gets or sets the arbitrary, user-defined data object associated with the current <see cref="T:Esprima.Utils.JavaScriptTextWriter.WriteContext"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="T:Esprima.Utils.JsonTextWriter">
<summary>
Represents a writer that provides a fast, non-cached, forward-only
way of generating streams or files containing JSON Text according
to the grammar rules laid out in
<a href="http://www.ietf.org/rfc/rfc4627.txt">RFC 4627</a>.
</summary>
</member>
<member name="M:Esprima.Utils.Jsx.JsxAstRewriter.CreateJsxRewriterFor``1(``0)">
<summary>
Creates an <see cref="T:Esprima.Utils.Jsx.IJsxAstVisitor"/> instance which can be used for working around multiple inheritance:
the returned instance re-routes visitations of JSX nodes to the specified <paramref name="rewriter"/>,
thus it can be used for emulating base class method calls.
</summary>
</member>
<member name="M:Esprima.Utils.Jsx.JsxAstVisitor.CreateJsxVisitorFor``1(``0)">
<summary>
Creates an <see cref="T:Esprima.Utils.Jsx.IJsxAstVisitor"/> instance which can be used for working around multiple inheritance:
the returned instance re-routes visitations of JSX nodes to the specified <paramref name="visitor"/>,
thus it can be used for emulating base class method calls.
</summary>
</member>
<member name="T:Esprima.Utils.KnRJavaScriptTextFormatter">
<summary>
JavaScript code formatter which implements the most commonly used <see href="https://en.wikipedia.org/wiki/Indentation_style#K&amp;R_style">K&amp;R style</see>.
</summary>
</member>
<member name="P:System.HexConverter.CharToHexLookup">
<summary>Map from an ASCII char to its hex value, e.g. arr['b'] == 11. 0xFF means it's not a hex digit.</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
<summary>
Applied to a method that will never return under any circumstance.
</summary>
</member>
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
<summary>
Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.
</summary>
</member>
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
<summary>
Initializes the attribute with the specified return value condition.
</summary>
<param name="returnValue">The return value condition. If the method returns this value, the associated parameter may be null.</param>
</member>
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
<summary>
Gets the return value condition.
</summary>
</member>
<member name="T:System.Runtime.CompilerServices.IsExternalInit">
<summary>
Reserved to be used by the compiler for tracking metadata.
This class should not be used by developers in source code.
</summary>
</member>
<member name="T:System.Runtime.CompilerServices.SkipLocalsInitAttribute">
<summary>
Used to indicate to the compiler that the <c>.locals init</c> flag should not be set in method headers.
</summary>
</member>
</members>
</doc>

View File

@@ -0,0 +1,804 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Esprima</name>
</assembly>
<members>
<member name="M:Esprima.ArrayList`1.#ctor(`0[])">
<remarks>
Expects ownership of the array!
</remarks>
</member>
<member name="M:Esprima.ArrayList`1.AsSpan">
<remarks>
Items should not be added or removed from the <see cref="T:Esprima.ArrayList`1"/> while the returned <see cref="T:System.Span`1"/> is in use!
</remarks>
</member>
<member name="M:Esprima.ArrayList`1.AsReadOnlySpan">
<remarks>
Items should not be added or removed from the <see cref="T:Esprima.ArrayList`1"/> while the returned <see cref="T:System.ReadOnlySpan`1"/> is in use!
</remarks>
</member>
<member name="T:Esprima.ArrayList`1.Enumerator">
<remarks>
This implementation does not detect changes to the list
during iteration and therefore the behaviour is undefined
under those conditions.
</remarks>
</member>
<member name="P:Esprima.Ast.ArrayExpression.Elements">
<summary>
{ <see cref="T:Esprima.Ast.Expression"/> (incl. <see cref="T:Esprima.Ast.SpreadElement"/>) | <see langword="null"/> (omitted element) }
</summary>
</member>
<member name="P:Esprima.Ast.ArrayPattern.Elements">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> | <see langword="null"/> (omitted element) }
</summary>
</member>
<member name="P:Esprima.Ast.ArrowFunctionExpression.Params">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.ArrowFunctionExpression.Body">
<remarks>
<see cref="T:Esprima.Ast.BlockStatement"/> | <see cref="T:Esprima.Ast.Expression"/>
</remarks>
</member>
<member name="T:Esprima.Ast.ArrowParameterPlaceHolder">
<remarks>
<see cref="T:Esprima.Ast.ArrowParameterPlaceHolder"/> nodes never appear in the final AST, only used during its construction.
</remarks>
</member>
<member name="P:Esprima.Ast.AssignmentExpression.Left">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.AssignmentPattern.Left">
<summary>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/>
</summary>
</member>
<member name="P:Esprima.Ast.CatchClause.Param">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ChainExpression.Expression">
<remarks>
<see cref="T:Esprima.Ast.CallExpression"/> | <see cref="T:Esprima.Ast.ComputedMemberExpression"/>| <see cref="T:Esprima.Ast.StaticMemberExpression"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ClassBody.Body">
<remarks>
<see cref="T:Esprima.Ast.MethodDefinition"/> | <see cref="T:Esprima.Ast.PropertyDefinition"/> | <see cref="T:Esprima.Ast.StaticBlock"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ClassProperty.Key">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string or numeric) | '[' <see cref="T:Esprima.Ast.Expression"/> ']' | <see cref="T:Esprima.Ast.PrivateIdentifier"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ExportAllDeclaration.Exported">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="P:Esprima.Ast.ExportDefaultDeclaration.Declaration">
<remarks>
<see cref="T:Esprima.Ast.Expression"/> | <see cref="T:Esprima.Ast.ClassDeclaration"/> | <see cref="T:Esprima.Ast.FunctionDeclaration"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ExportNamedDeclaration.Declaration">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> | <see cref="T:Esprima.Ast.ClassDeclaration"/> | <see cref="T:Esprima.Ast.FunctionDeclaration"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ExportSpecifier.Local">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="P:Esprima.Ast.ExportSpecifier.Exported">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="T:Esprima.Ast.Expression">
<summary>
A JavaScript expression.
</summary>
</member>
<member name="P:Esprima.Ast.Expression.Tokens">
<summary>
Gets or sets the list of tokens associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)"/> when <see cref="P:Esprima.ParserOptions.Tokens"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.Expression.Comments">
<summary>
Gets or sets the list of comments associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)"/> when <see cref="P:Esprima.ParserOptions.Comments"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.ForInStatement.Left">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> (may have an initializer in non-strict mode) | <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ForOfStatement.Left">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> (cannot have an initializer) | <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.ForStatement.Init">
<remarks>
<see cref="T:Esprima.Ast.VariableDeclaration"/> (var i) | <see cref="T:Esprima.Ast.Expression"/> (i=0)
</remarks>
</member>
<member name="P:Esprima.Ast.FunctionDeclaration.Params">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.FunctionExpression.Params">
<summary>
{ <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="T:Esprima.Ast.IClass">
<summary>
Represents either a <see cref="T:Esprima.Ast.ClassDeclaration"/> or an <see cref="T:Esprima.Ast.ClassExpression"/>
</summary>
</member>
<member name="T:Esprima.Ast.IFunction">
<summary>
Represents either a <see cref="T:Esprima.Ast.FunctionDeclaration"/>, a <see cref="T:Esprima.Ast.FunctionExpression"/> or an <see cref="T:Esprima.Ast.ArrowFunctionExpression"/>
</summary>
</member>
<member name="T:Esprima.Ast.IModuleSpecifier">
<summary>
Represents either an <see cref="T:Esprima.Ast.ExportSpecifier"/> or an <see cref="T:Esprima.Ast.ImportDeclarationSpecifier"/>
</summary>
</member>
<member name="P:Esprima.Ast.ImportAttribute.Key">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string or numeric)
</remarks>
</member>
<member name="P:Esprima.Ast.ImportSpecifier.Imported">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string)
</remarks>
</member>
<member name="T:Esprima.Ast.Jsx.JsxExpression">
<summary>
A Jsx expression.
</summary>
</member>
<member name="P:Esprima.Ast.MemberExpression.Computed">
<summary>
True if an indexer is used and the property to be evaluated.
</summary>
</member>
<member name="M:Esprima.Ast.Node.GetChildNodes">
<remarks>
Inheritors who extend the AST with custom node types should override this method and provide an actual implementation.
</remarks>
</member>
<member name="M:Esprima.Ast.Node.AcceptAsExtension(Esprima.Utils.AstVisitor)">
<summary>
Dispatches the visitation of the current node to <see cref="M:Esprima.Utils.AstVisitor.VisitExtension(Esprima.Ast.Node)"/>.
</summary>
<remarks>
When defining custom node types, inheritors can use this method to implement the abstract <see cref="M:Esprima.Ast.Node.Accept(Esprima.Utils.AstVisitor)"/> method.
</remarks>
</member>
<member name="M:Esprima.Ast.NodeList`1.#ctor(`0[],System.Int32)">
<remarks>
Expects ownership of the array!
</remarks>
</member>
<member name="T:Esprima.Ast.NodeList`1.Enumerator">
<remarks>
This implementation does not detect changes to the list
during iteration and therefore the behaviour is undefined
under those conditions.
</remarks>
</member>
<member name="P:Esprima.Ast.ObjectExpression.Properties">
<summary>
{ <see cref="T:Esprima.Ast.Property"/> | <see cref="T:Esprima.Ast.SpreadElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.ObjectPattern.Properties">
<summary>
{ <see cref="T:Esprima.Ast.Property"/> | <see cref="T:Esprima.Ast.RestElement"/> }
</summary>
</member>
<member name="P:Esprima.Ast.Program.Tokens">
<summary>
Gets or sets the list of tokens associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)"/> and <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)"/> when <see cref="P:Esprima.ParserOptions.Tokens"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.Program.Comments">
<summary>
Gets or sets the list of comments associated with the AST represented by this node.
This property is automatically set by <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)"/> and <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)"/> when <see cref="P:Esprima.ParserOptions.Comments"/> is set to <see langword="true"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.Property.Key">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.Literal"/> (string or numeric) | '[' <see cref="T:Esprima.Ast.Expression"/> ']'
</remarks>
</member>
<member name="P:Esprima.Ast.Property.Value">
<remarks>
When property of an object literal: <see cref="T:Esprima.Ast.Expression"/> (incl. <see cref="T:Esprima.Ast.SpreadElement"/> and <see cref="T:Esprima.Ast.FunctionExpression"/> for getters/setters/methods) <br />
When property of an object binding pattern: <see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/> | <see cref="T:Esprima.Ast.AssignmentPattern"/> | <see cref="T:Esprima.Ast.RestElement"/>
</remarks>
</member>
<member name="P:Esprima.Ast.RestElement.Argument">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.MemberExpression"/> (in assignment contexts only) | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="P:Esprima.Ast.SyntaxElement.AssociatedData">
<summary>
Gets or sets the arbitrary, user-defined data object associated with the current <see cref="T:Esprima.Ast.SyntaxElement"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="P:Esprima.Ast.VariableDeclarator.Id">
<remarks>
<see cref="T:Esprima.Ast.Identifier"/> | <see cref="T:Esprima.Ast.BindingPattern"/>
</remarks>
</member>
<member name="T:Esprima.CollectingErrorHandler">
<summary>
Error handler that collects errors that have been seen during the parsing.
</summary>
</member>
<member name="T:Esprima.ErrorHandler">
<summary>
Default error handling logic for Esprima.
</summary>
</member>
<member name="T:Esprima.EsprimaExceptionHelper">
<remarks>
JIT cannot inline methods that have <see langword="throw"/> in them. These helper methods allow us to work around this.
</remarks>
</member>
<member name="T:Esprima.JavaScriptParser">
<summary>
Provides JavaScript parsing capabilities.
</summary>
<remarks>
Use the <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)" />, <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)" /> or <see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)" /> methods to parse the JavaScript code.
</remarks>
</member>
<member name="M:Esprima.JavaScriptParser.#ctor">
<summary>
Creates a new <see cref="T:Esprima.JavaScriptParser" /> instance.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.#ctor(Esprima.ParserOptions)">
<summary>
Creates a new <see cref="T:Esprima.JavaScriptParser" /> instance.
</summary>
<param name="options">The parser options.</param>
<returns></returns>
</member>
<member name="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)">
<summary>
Parses the code as a JavaScript module.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)">
<summary>
Parses the code as a JavaScript script.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.GetTokenRaw(Esprima.Token@)">
<summary>
From internal representation to an external structure
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.Expect(System.String)">
<summary>
Expect the next token to match the specified punctuator.
If not, an exception will be thrown.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ExpectCommaSeparator">
<summary>
Quietly expect a comma when in tolerant mode, otherwise delegates to Expect().
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ExpectKeyword(System.String)">
<summary>
Expect the next token to match the specified keyword.
If not, an exception will be thrown.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.Match(System.String)">
<summary>
Return true if the next token matches the specified punctuator.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ConsumeMatch(System.String)">
<summary>
Return true if the next token matches the specified punctuator and consumes the next token.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.MatchAny(System.Char,System.Char,System.Char,System.Char)">
<summary>
Return true if the next token matches any of the specified punctuators.
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.MatchKeyword(System.String)">
<summary>
Return true if the next token matches the specified keyword
</summary>
</member>
<member name="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)">
<summary>
Parses the code as a JavaScript expression.
</summary>
</member>
<member name="T:Esprima.JsxParser">
<summary>
Provides JSX parsing capabilities.
</summary>
<remarks>
Use the <see cref="M:Esprima.JavaScriptParser.ParseScript(System.String,System.String,System.Boolean)" />, <see cref="M:Esprima.JavaScriptParser.ParseModule(System.String,System.String)" /> or
<see cref="M:Esprima.JavaScriptParser.ParseExpression(System.String,System.Boolean)" /> methods to parse the JSX code.
</remarks>
</member>
<member name="P:Esprima.ParseError.Index">
<summary>
Zero-based index within the parsed code string. (Can be negative if location information is available.)
</summary>
</member>
<member name="P:Esprima.ParseError.LineNumber">
<summary>
One-based line number. (Can be zero if location information is not available.)
</summary>
</member>
<member name="P:Esprima.ParseError.Column">
<summary>
One-based column index.
</summary>
</member>
<member name="P:Esprima.ParserException.Index">
<summary>
Zero-based index within the parsed code string. (Can be negative if location information is available.)
</summary>
</member>
<member name="P:Esprima.ParserException.LineNumber">
<summary>
One-based line number. (Can be zero if location information is not available.)
</summary>
</member>
<member name="P:Esprima.ParserException.Column">
<summary>
One-based column index.
</summary>
</member>
<member name="T:Esprima.ParserOptions">
<summary>
Parser options.
</summary>
</member>
<member name="P:Esprima.ParserOptions.Tokens">
<summary>
Gets or sets whether the tokens are included in the parsed tree, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.Comments">
<summary>
Gets or sets whether the comments are included in the parsed tree, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.Tolerant">
<summary>
Gets or sets whether the parser is tolerant to errors, defaults to <see langword="true"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.AllowReturnOutsideFunction">
<summary>
Gets or sets whether the parser allows return statement to be used outside of functions, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.ErrorHandler">
<summary>
Gets or sets the <see cref="P:Esprima.ParserOptions.ErrorHandler"/> to use, defaults to <see cref="F:Esprima.ErrorHandler.Default"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.RegExpParseMode">
<summary>
Gets or sets how regular expressions should be parsed, defaults to <see cref="F:Esprima.RegExpParseMode.AdaptToInterpreted"/>.
</summary>
</member>
<member name="P:Esprima.ParserOptions.RegexTimeout">
<summary>
Default timeout for created <see cref="T:System.Text.RegularExpressions.Regex"/> instances, defaults to 10 seconds.
</summary>
</member>
<member name="P:Esprima.ParserOptions.MaxAssignmentDepth">
<summary>
The maximum depth of assignments allowed, defaults to 200.
</summary>
</member>
<member name="P:Esprima.ParserOptions.OnNodeCreated">
<summary>
Action to execute on each parsed node.
</summary>
<remarks>
This callback allows you to make changes to the nodes created by the parser.
E.g. you can use it to store a reference to the parent node for later use:
<code>
options.OnNodeCreated = node =>
{
foreach (var child in node.ChildNodes)
{
child.AssociatedData = node;
}
};
</code>
</remarks>
</member>
<member name="T:Esprima.Position">
<summary>
Represents a source position as line number and column offset, where
the first line is 1 and first column is 0.
</summary>
<remarks>
A position where <see cref="F:Esprima.Position.Line"/> and <see cref="F:Esprima.Position.Column"/> are zero
is an allowed (and the default) value but considered an invalid
position.
</remarks>
</member>
<member name="M:Esprima.Scanner.ValidateRegExp(System.String,System.String,Esprima.ParseError@)">
<summary>
Checks whether an ECMAScript regular expression is syntactically correct.
</summary>
<remarks>
Unicode sets mode (flag v) is not supported currently, for such patterns the method returns <see langword="false"/>.
Expressions within Unicode property escape sequences (\p{...} and \P{...}) are not validated (ignored) currently.
</remarks>
<returns><see langword="true"/> if the regular expression is syntactically correct, otherwise <see langword="false"/>.</returns>
</member>
<member name="M:Esprima.Scanner.AdaptRegExp(System.String,System.String,System.Boolean,System.Nullable{System.TimeSpan},System.Boolean)">
<summary>
Parses an ECMAScript regular expression and tries to construct a <see cref="T:System.Text.RegularExpressions.Regex"/> instance with the equivalent behavior.
</summary>
<remarks>
Please note that, because of some fundamental differences between the ECMAScript and .NET regular expression engines,
not every ECMAScript regular expression can be converted to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> (or can be converted with compromises only).
You can read more about the known issues of the conversion <see href="https://github.com/sebastienros/esprima-dotnet/pull/364#issuecomment-1606045259">here</see>.
</remarks>
<returns>
An instance of <see cref="T:Esprima.RegExpParseResult"/>, whose <see cref="P:Esprima.RegExpParseResult.Regex"/> property contains the equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> if the conversion was possible,
otherwise <see langword="null"/> (unless <paramref name="throwIfNotAdaptable"/> is <see langword="true"/>).
</returns>
<exception cref="T:Esprima.ParserException">
<paramref name="pattern"/> is an invalid regular expression pattern or cannot be converted
to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> (if <paramref name="throwIfNotAdaptable"/> is <see langword="true"/>).
</exception>
</member>
<member name="M:Esprima.Scanner.RegExpParser.CheckBracesBalance(Esprima.ArrayList{Esprima.Scanner.RegExpCapturingGroup}@,System.Collections.Generic.Dictionary{System.String,System.String}@)">
<summary>
Ensures the braces are balanced in the regular expression pattern.
</summary>
</member>
<member name="M:Esprima.Scanner.RegExpParser.ParsePattern``1(``0,Esprima.ArrayList{Esprima.Scanner.RegExpCapturingGroup}@,System.Collections.Generic.Dictionary{System.String,System.String},Esprima.ParseError@)">
<summary>
Check the regular expression pattern for additional syntax errors and optionally build an adjusted pattern which
implements the equivalent behavior in .NET, on top of the <see cref="F:System.Text.RegularExpressions.RegexOptions.ECMAScript"/> compatibility mode.
</summary>
<returns>
<see langword="null"/> if the scanner is configured to validate the regular expression pattern but not adapt it to .NET.
Otherwise, the adapted pattern or <see langword="null"/> if the pattern is syntactically correct but a .NET equivalent could not be constructed
and the scanner is configured to tolerant mode.
</returns>
</member>
<member name="T:Esprima.RegExpParseMode">
<summary>
Specifies how the scanner should parse regular expressions.
</summary>
</member>
<member name="F:Esprima.RegExpParseMode.Skip">
<summary>
Scan regular expressions without checking that they are syntactically correct.
</summary>
</member>
<member name="F:Esprima.RegExpParseMode.Validate">
<summary>
Scan regular expressions and check that they are syntactically correct (throw <see cref="T:Esprima.ParserException"/> if an invalid regular expression is encountered)
but don't attempt to convert them to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/>.
</summary>
</member>
<member name="F:Esprima.RegExpParseMode.AdaptToInterpreted">
<summary>
Scan regular expressions, check that they are syntactically correct (throw <see cref="T:Esprima.ParserException"/> if an invalid regular expression is encountered)
and attempt to convert them to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> without the <see cref="F:System.Text.RegularExpressions.RegexOptions.Compiled"/> option.
</summary>
<remarks>
In the case of a valid regular expression for which an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> cannot be constructed, either <see cref="T:Esprima.ParserException"/> is thrown
or a <see cref="T:Esprima.Token"/> is created with the <see cref="P:Esprima.Token.Value"/> property set to <see langword="null"/>, depending on the <see cref="P:Esprima.ScannerOptions.Tolerant"/> option.
</remarks>
</member>
<member name="F:Esprima.RegExpParseMode.AdaptToCompiled">
<summary>
Scan regular expressions, check that they are syntactically correct (throw <see cref="T:Esprima.ParserException"/> if an invalid regular expression is encountered)
and attempt to convert them to an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> with the <see cref="F:System.Text.RegularExpressions.RegexOptions.Compiled"/> option.
</summary>
<remarks>
In the case of a valid regular expression for which an equivalent <see cref="T:System.Text.RegularExpressions.Regex"/> cannot be constructed, either <see cref="T:Esprima.ParserException"/> is thrown
or a <see cref="T:Esprima.Token"/> is created with the <see cref="P:Esprima.Token.Value"/> property set to <see langword="null"/>, depending on the <see cref="P:Esprima.ScannerOptions.Tolerant"/> option.
</remarks>
</member>
<member name="T:Esprima.ScannerOptions">
<summary>
Scanner options.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.Comments">
<summary>
Gets or sets whether the comments are collected, defaults to <see langword="false"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.Tolerant">
<summary>
Gets or sets whether the scanner is tolerant to errors, defaults to <see langword="true"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.ErrorHandler">
<summary>
Gets or sets the <see cref="P:Esprima.ScannerOptions.ErrorHandler"/> to use, defaults to <see cref="F:Esprima.ErrorHandler.Default"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.RegExpParseMode">
<summary>
Gets or sets how regular expressions should be parsed, defaults to <see cref="F:Esprima.RegExpParseMode.AdaptToInterpreted"/>.
</summary>
</member>
<member name="P:Esprima.ScannerOptions.RegexTimeout">
<summary>
Default timeout for created <see cref="T:System.Text.RegularExpressions.Regex"/> instances, defaults to 10 seconds.
</summary>
</member>
<member name="T:Esprima.StringPool">
<summary>
A heavily slimmed down version of <see cref="T:System.Collections.Generic.HashSet`1"/> which can be used to reduce memory allocations when dissecting a string.
</summary>
</member>
<member name="M:Esprima.StringPool.Initialize(System.Int32)">
<summary>
Initializes buckets and slots arrays. Uses suggested capacity by finding next prime
greater than or equal to capacity.
</summary>
</member>
<member name="M:Esprima.StringPool.GetBucketRef(System.Int32)">
<summary>Gets a reference to the specified hashcode's bucket, containing an index into <see cref="F:Esprima.StringPool._entries"/>.</summary>
</member>
<member name="M:Esprima.StringPool.GetOrCreate(System.ReadOnlySpan{System.Char})">
<summary>Adds the specified string to the <see cref="T:Esprima.StringPool"/> object if it's not already contained.</summary>
<param name="value">The string to add.</param>
<returns>The stored string instance.</returns>
</member>
<member name="M:Esprima.StringPool.GetHashCode(System.ReadOnlySpan{System.Char})">
<summary>
Gets the (positive) hashcode for a given <see cref="T:System.ReadOnlySpan`1"/> instance.
</summary>
<param name="span">The input <see cref="T:System.ReadOnlySpan`1"/> instance.</param>
<returns>The hashcode for <paramref name="span"/>.</returns>
</member>
<member name="F:Esprima.StringPool.Entry.Next">
<summary>
0-based index of next entry in chain: -1 means end of chain
also encodes whether this entry _itself_ is part of the free list by changing sign and subtracting 3,
so -2 means end of free list, -3 means index 0 but on free list, -4 means index 1 but on free list, etc.
</summary>
</member>
<member name="P:Esprima.Utils.AstToJsonOptions.TestCompatibilityMode">
<summary>
This switch is intended for enabling a compatibility mode for <see cref="T:Esprima.Utils.AstToJsonConverter"/> to build a JSON output
which matches the format of the test fixtures of the original Esprima project.
</summary>
</member>
<member name="M:Esprima.Utils.ExpressionHelper.GetOperatorPrecedence(Esprima.Ast.Expression,System.Int32@)">
<summary>
Maps operator precedence to an integer value.
</summary>
<param name="expression">The expression representing the operation.</param>
<param name="associativity">
If less than zero, the operation has left-to-right associativity.<br/>
If zero, associativity is not defined for the operation.<br/>
If greater than zero, the operation has right-to-left associativity.
</param>
<returns>
Precedence value as defined based on <see href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence#table">this table</see>. Higher value means higher precedence.
Negative value is returned if the precedence is not defined for the specified expression. <see cref="F:System.Int32.MaxValue"/> is returned for primitive expressions like <see cref="T:Esprima.Ast.Identifier"/>.
</returns>
</member>
<member name="T:Esprima.Utils.JavaScriptTextFormatter">
<summary>
Base class for JavaScript code formatters.
</summary>
</member>
<member name="T:Esprima.Utils.JavaScriptTextWriter">
<summary>
Base JavaScript text writer (code formatter) which uses the most compact possible (i.e. minimal) format.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TriviaFlags.LeadingNewLineRequired">
<summary>
A leading new line is required for the current trivia (i.e. it must start in a new line).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TriviaFlags.TrailingNewLineRequired">
<summary>
A trailing new line is required for the current trivia (i.e. it must be followed by a new line).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TriviaFlags.SurroundingNewLineRequired">
<summary>
Surrounding new lines are required for the current trivia.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.Leading">
<summary>
The punctuator precedes the related token(s).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.InBetween">
<summary>
The punctuator is somewhere in the middle of the related token(s).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.Trailing">
<summary>
The punctuator follows the related token(s).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.FollowsStatementBody">
<summary>
The keyword follows the body of a statement and precedes another body of the same statement (e.g. the else branch of an <see cref="T:Esprima.Ast.IfStatement"/>).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.LeadingSpaceRecommended">
<summary>
A leading space is recommended for the current token (unless other white-space precedes it).
</summary>
<remarks>
May or may not be respected. (It is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.TrailingSpaceRecommended">
<summary>
A trailing space is recommended for the current token (unless other white-space follows it).
</summary>
<remarks>
May or may not be respected. (It is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.TokenFlags.SurroundingSpaceRecommended">
<summary>
Surrounding spaces are recommended for the current token (unless other white-spaces surround it).
</summary>
<remarks>
May or may not be respected. (It is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.NeedsSemicolon">
<summary>
The statement must be terminated with a semicolon.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.MayOmitRightMostSemicolon">
<summary>
If <see cref="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.NeedsSemicolon"/> is set, determines if the semicolon can be omitted when the statement comes last in the current block (see <seealso cref="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.IsRightMost"/>).
</summary>
<remarks>
Automatically propagated to child statements, should be set directly only for statement list items.
Whether the semicolon is omitted or not is decided by the actual <see cref="T:Esprima.Utils.JavaScriptTextWriter"/> implementation.
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.IsRightMost">
<summary>
The statement comes last in the current statement list (more precisely, it is the right-most part in the textual representation of the current statement list).
</summary>
<remarks>
In the visitation handlers of <see cref="T:Esprima.Utils.AstToJavaScriptConverter"/> the flag is interpreted differently: it indicates that the statement comes last in the parent statement.
(Upon visiting a statement, this flag of the parent and child statement gets combined to determine its effective value for the current statement list.)
</remarks>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.StatementFlags.IsStatementBody">
<summary>
The statement represents the body of another statement (e.g. the if branch of an <see cref="T:Esprima.Ast.IfStatement"/>).
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.ExpressionFlags.NeedsBrackets">
<summary>
The expression must be wrapped in brackets.
</summary>
</member>
<member name="F:Esprima.Utils.JavaScriptTextWriter.ExpressionFlags.IsLeftMost">
<summary>
The expression comes first in the current expression tree, more precisely, it is the left-most part in the textual representation of the currently visited expression tree (incl. brackets).
</summary>
<remarks>
In the visitation handlers of <see cref="T:Esprima.Utils.AstToJavaScriptConverter"/> the flag is interpreted differently: it indicates that the expression comes first in the parent expression.
(Upon visiting an expression, this flag of the parent and child expression gets combined to determine its effective value for the expression tree.)
</remarks>
</member>
<member name="P:Esprima.Utils.JavaScriptTextWriter.WriteContext.AssociatedData">
<summary>
Gets or sets the arbitrary, user-defined data object associated with the current <see cref="T:Esprima.Utils.JavaScriptTextWriter.WriteContext"/>.
</summary>
<remarks>
The operation is not guaranteed to be thread-safe. In case concurrent access or update is possible, the necessary synchronization is caller's responsibility.
</remarks>
</member>
<member name="T:Esprima.Utils.JsonTextWriter">
<summary>
Represents a writer that provides a fast, non-cached, forward-only
way of generating streams or files containing JSON Text according
to the grammar rules laid out in
<a href="http://www.ietf.org/rfc/rfc4627.txt">RFC 4627</a>.
</summary>
</member>
<member name="M:Esprima.Utils.Jsx.JsxAstRewriter.CreateJsxRewriterFor``1(``0)">
<summary>
Creates an <see cref="T:Esprima.Utils.Jsx.IJsxAstVisitor"/> instance which can be used for working around multiple inheritance:
the returned instance re-routes visitations of JSX nodes to the specified <paramref name="rewriter"/>,
thus it can be used for emulating base class method calls.
</summary>
</member>
<member name="M:Esprima.Utils.Jsx.JsxAstVisitor.CreateJsxVisitorFor``1(``0)">
<summary>
Creates an <see cref="T:Esprima.Utils.Jsx.IJsxAstVisitor"/> instance which can be used for working around multiple inheritance:
the returned instance re-routes visitations of JSX nodes to the specified <paramref name="visitor"/>,
thus it can be used for emulating base class method calls.
</summary>
</member>
<member name="T:Esprima.Utils.KnRJavaScriptTextFormatter">
<summary>
JavaScript code formatter which implements the most commonly used <see href="https://en.wikipedia.org/wiki/Indentation_style#K&amp;R_style">K&amp;R style</see>.
</summary>
</member>
<member name="P:System.HexConverter.CharToHexLookup">
<summary>Map from an ASCII char to its hex value, e.g. arr['b'] == 11. 0xFF means it's not a hex digit.</summary>
</member>
<member name="T:System.Runtime.CompilerServices.IsExternalInit">
<summary>
Reserved to be used by the compiler for tracking metadata.
This class should not be used by developers in source code.
</summary>
</member>
<member name="T:System.Runtime.CompilerServices.SkipLocalsInitAttribute">
<summary>
Used to indicate to the compiler that the <c>.locals init</c> flag should not be set in method headers.
</summary>
</member>
</members>
</doc>

View File

@@ -0,0 +1,5 @@
{
"version": 2,
"contentHash": "4kH9ayTwbX+YofDpSAK5zrqqVCwbnCsfltM9W9LS6WIDV9LjKjtFzSZil4AckKCUXnWQhZFfcocanK1L6PFuug==",
"source": "https://api.nuget.org/v3/index.json"
}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,237 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
SUBCOMPONENTS:
This project includes subcomponents with separate copyright notices and
license terms. Your use of the source code for the these subcomponents
is subject to the terms and conditions of the following licenses.
--------------------------------------------------------------------------------
For components from the Cysharp/AlterNats project,
which can be found at https://github.com/Cysharp/AlterNats:
MIT License
Copyright (c) 2022 Cysharp, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>NATS.Client.JetStream</id>
<version>2.0.0</version>
<authors>The NATS Authors</authors>
<license type="expression">Apache-2.0</license>
<licenseUrl>https://licenses.nuget.org/Apache-2.0</licenseUrl>
<icon>Icon.png</icon>
<readme>README.md</readme>
<projectUrl>https://github.com/nats-io/nats.net.v2</projectUrl>
<description>JetStream support for NATS.Client.</description>
<copyright>Copyright © The NATS Authors 2016-2023</copyright>
<tags>pubsub messaging persistance</tags>
<repository type="git" url="https://github.com/nats-io/nats.net.v2" commit="d09089d484886c178942340a2834154b597f3214" />
<dependencies>
<group targetFramework="net6.0">
<dependency id="NATS.Client.Core" version="2.0.0" exclude="Build,Analyzers" />
</group>
<group targetFramework="net8.0">
<dependency id="NATS.Client.Core" version="2.0.0" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
</package>

View File

@@ -0,0 +1,40 @@
# NATS.Net
[NATS](https://nats.io) client for modern [.NET](https://dot.net/).
NATS.Net v2.0 (GA) is suitable for production use.
Big thank you to our contributors.
## Documentation
Check out the [documentation](https://nats-io.github.io/nats.net.v2/) for guides and examples.
**Additionally check out [NATS by example](https://natsbyexample.com) - An evolving collection of runnable, cross-client reference examples for NATS.**
## NATS.Net Goals
- Only support Async I/O (async/await)
- Target current .NET LTS releases (currently .NET 6.0 & .NET 8.0)
## Packages
- **NATS.Net**: Meta package that includes all other packages (except serialization)
- **NATS.Client.Core**: [Core NATS](https://docs.nats.io/nats-concepts/core-nats)
- **NATS.Client.Hosting**: extension to configure DI container
- **NATS.Client.JetStream**: [JetStream](https://docs.nats.io/nats-concepts/jetstream)
- **NATS.Client.KeyValueStore**: [Key/Value Store](https://docs.nats.io/nats-concepts/jetstream/key-value-store)
- **NATS.Client.ObjectStore**: [Object Store](https://docs.nats.io/nats-concepts/jetstream/obj_store)
- **NATS.Client.Services**: [Services](https://docs.nats.io/using-nats/developer/services)
- **NATS.Client.Serializers.Json**: JSON serializer for adhoc types
## Contributing
- Run `dotnet format` at root directory of project in order to clear warnings that can be auto-formatted
- Run `dotnet build` at root directory and make sure there are no errors or warnings
Find us on [slack.nats.io dotnet channel](https://natsio.slack.com/channels/dotnet)
## Attribution
This library is based on the excellent work in [Cysharp/AlterNats](https://github.com/Cysharp/AlterNats)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
Zkwgd0vcZsQyPwxiuYvzagmEJOXSoMLRfZZGSCxzYDvdv16gFjW6ui8crpJD4aQhlPaQwxp4i08uNw21cE4FLg==

View File

@@ -0,0 +1,5 @@
{
"version": 2,
"contentHash": "l0LlS+rGfnIqg9t6pejZHJ9mEyaUSwF6esQBsJfpRpCncdoaLQIAwqUtHjmfsw71RirlwzjHWnVRTefDp1x2Tw==",
"source": "/mnt/e/dev/git.stella-ops.org/local-nugets"
}

View File

@@ -0,0 +1 @@
l0LlS+rGfnIqg9t6pejZHJ9mEyaUSwF6esQBsJfpRpCncdoaLQIAwqUtHjmfsw71RirlwzjHWnVRTefDp1x2Tw==

View File

@@ -1 +1 @@
Known offline gaps from latest restore: StellaOps.Policy.AuthSignals (NU1101).
2025-11-20 ẞ (utc): Node analyzer isolated restore now succeeds with offline cache (`offline/packages`) after seeding local-nugets. No missing packages observed in latest restore.