ShellGlobSyntax Class

Represents a pathname-expansion metacharacter inside a word, such as * or ?.

public sealed class ShellGlobSyntax : ShellWordPartSyntax
Inheritance
ShellWordPartSyntax ShellGlobSyntax

Properties

NameDescription
GlobToken
HasQualifierReturns true when a zsh glob qualifier follows the pattern, as in *(.).
IsBracketExpressionReturns true for a bracket expression such as [abc] or [!a-z].
IsRecursiveReturns true for **, which matches across directory separators.

GlobToken

Syntax.g.cs
public SyntaxToken GlobToken { get; }

Property value

SyntaxToken

No documentation is available.

HasQualifier

ShellGlobSyntax.cs

Returns true when a zsh glob qualifier follows the pattern, as in *(.).

public bool HasQualifier { get; }

Property value

bool

IsBracketExpression

ShellGlobSyntax.cs

Returns true for a bracket expression such as [abc] or [!a-z].

public bool IsBracketExpression { get; }

Property value

bool

Returns true for **, which matches across directory separators.

public bool IsRecursive { get; }

Property value

bool

Methods

NameDescription
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.cs
public override void Accept(ShellSyntaxVisitor visitor)
Parameters
visitor ShellSyntaxVisitor

No documentation is available.

Accept<TResult>(ShellSyntaxVisitor<TResult>)

Syntax.g.cs
public override TResult? Accept<TResult>(ShellSyntaxVisitor<TResult> visitor)
Type parameters
TResult
Parameters
visitor ShellSyntaxVisitor<TResult>
Returns

TResult?

No documentation is available.

Update(SyntaxToken)

Syntax.g.cs

Returns this node with the given parts, or itself when nothing changed.

public ShellGlobSyntax Update(SyntaxToken globToken)

Parameters

globToken SyntaxToken

Returns

ShellGlobSyntax

WithGlobToken(SyntaxToken)

Syntax.g.cs

Returns this node with globToken in place of its ShellGlobSyntax.GlobToken.

public ShellGlobSyntax WithGlobToken(SyntaxToken globToken)

Parameters

globToken SyntaxToken

Returns

ShellGlobSyntax