ShellGlobSyntax Class
Represents a pathname-expansion metacharacter inside a word, such as * or ?.
public sealed class ShellGlobSyntax : ShellWordPartSyntax- Inheritance
ShellWordPartSyntaxShellGlobSyntax
Properties
| Name | Description |
|---|---|
| GlobToken | |
| HasQualifier | Returns true when a zsh glob qualifier follows the pattern, as in *(.). |
| IsBracketExpression | Returns true for a bracket expression such as [abc] or [!a-z]. |
| IsRecursive | Returns true for **, which matches across directory separators. |
GlobToken
Syntax.g.csHasQualifier
ShellGlobSyntax.csIsBracketExpression
ShellGlobSyntax.csIsRecursive
ShellGlobSyntax.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SyntaxToken) | Returns this node with the given parts, or itself when nothing changed. |
| WithGlobToken(SyntaxToken) | Returns this node with globToken in place of its ShellGlobSyntax.GlobToken. |
Accept overloads
Accept(ShellSyntaxVisitor)
Syntax.g.cspublic override void Accept(ShellSyntaxVisitor visitor)Parameters
visitorShellSyntaxVisitor
No documentation is available.
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Syntax.g.cspublic override TResult? Accept<TResult>(ShellSyntaxVisitor<TResult> visitor)No documentation is available.
Update(SyntaxToken)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public ShellGlobSyntax Update(SyntaxToken globToken)WithGlobToken(SyntaxToken)
Syntax.g.csReturns this node with globToken in place of its ShellGlobSyntax.GlobToken.
public ShellGlobSyntax WithGlobToken(SyntaxToken globToken)