ShellParseOptions Class
Configures how ShellSyntaxTree parses text.
public sealed class ShellParseOptions : IEquatable<ShellParseOptions>- Implements
Constructors
| Name | Description |
|---|---|
| ShellParseOptions(ShellDialect) |
ShellParseOptions(ShellDialect)
ShellParseOptions.cspublic ShellParseOptions(ShellDialect dialect)Parameters
dialectShellDialect
No documentation is available.
Properties
| Name | Description |
|---|---|
| Dialect | The dialect to parse the text as. |
| MaxRecursionDepth | The maximum number of nested constructs the parser descends into before reporting SHELL0100 and treating the remaining text as skipped text. Guards against stack overflow on deeply nested input. |
Dialect
ShellParseOptions.csMaxRecursionDepth
ShellParseOptions.csMethods
| Name | Description |
|---|---|
| Equals(ShellParseOptions?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(ShellParseOptions?)
public bool Equals(ShellParseOptions? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(ShellParseOptions?, ShellParseOptions?) | |
| operator !=(ShellParseOptions?, ShellParseOptions?) |
operator ==(ShellParseOptions?, ShellParseOptions?)
public static bool operator ==(ShellParseOptions? left, ShellParseOptions? right)No documentation is available.
operator !=(ShellParseOptions?, ShellParseOptions?)
public static bool operator !=(ShellParseOptions? left, ShellParseOptions? right)No documentation is available.
Constants
| Name | Description |
|---|---|
| DefaultMaxRecursionDepth | The default value of ShellParseOptions.MaxRecursionDepth. |
DefaultMaxRecursionDepth
The default value of ShellParseOptions.MaxRecursionDepth.
public const int DefaultMaxRecursionDepth = 128