ShellScriptSyntax Class
public sealed class ShellScriptSyntax : ShellSyntaxNodeNo documentation is available.
- Inheritance
ShellSyntaxNodeShellScriptSyntax
Properties
| Name | Description |
|---|---|
| EndOfFileToken | |
| Statements |
EndOfFileToken
Syntax.g.csStatements
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(ShellStatementListSyntax, SyntaxToken) | Returns this node with the given parts, or itself when nothing changed. |
| WithEndOfFileToken(SyntaxToken) | Returns this node with endOfFileToken in place of its ShellScriptSyntax.EndOfFileToken. |
| WithStatements(ShellStatementListSyntax) | Returns this node with statements in place of its ShellScriptSyntax.Statements. |
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(ShellStatementListSyntax, SyntaxToken)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public ShellScriptSyntax Update(ShellStatementListSyntax statements, SyntaxToken endOfFileToken)WithEndOfFileToken(SyntaxToken)
Syntax.g.csReturns this node with endOfFileToken in place of its ShellScriptSyntax.EndOfFileToken.
public ShellScriptSyntax WithEndOfFileToken(SyntaxToken endOfFileToken)WithStatements(ShellStatementListSyntax)
Syntax.g.csReturns this node with statements in place of its ShellScriptSyntax.Statements.
public ShellScriptSyntax WithStatements(ShellStatementListSyntax statements)