Class DoStatementSyntax
Represents a do statement.
Inheritance
System.Object
DoStatementSyntax
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Loretta.CodeAnalysis.Lua.dll
Syntax
public sealed class DoStatementSyntax : StatementSyntax
Properties
|
Improve this Doc
View Source
Body
Declaration
public StatementListSyntax Body { get; }
Property Value
|
Improve this Doc
View Source
DoKeyword
Declaration
public SyntaxToken DoKeyword { get; }
Property Value
|
Improve this Doc
View Source
EndKeyword
Declaration
public SyntaxToken EndKeyword { get; }
Property Value
|
Improve this Doc
View Source
SemicolonToken
The semicolon at the end of the statement (if any).
Declaration
public override SyntaxToken SemicolonToken { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
Accept(LuaSyntaxVisitor)
Declaration
public override void Accept(LuaSyntaxVisitor visitor)
Parameters
Overrides
|
Improve this Doc
View Source
Accept<TResult>(LuaSyntaxVisitor<TResult>)
Declaration
public override TResult Accept<TResult>(LuaSyntaxVisitor<TResult> visitor)
Parameters
Returns
Type Parameters
Overrides
Loretta.CodeAnalysis.Lua.LuaSyntaxNode.Accept<TResult>(Loretta.CodeAnalysis.Lua.LuaSyntaxVisitor<TResult>)
|
Improve this Doc
View Source
AddBodyStatements(StatementSyntax[])
Declaration
public DoStatementSyntax AddBodyStatements(params StatementSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, StatementListSyntax, SyntaxToken, SyntaxToken)
Declaration
public DoStatementSyntax Update(SyntaxToken doKeyword, StatementListSyntax body, SyntaxToken endKeyword, SyntaxToken semicolonToken)
Parameters
Returns
|
Improve this Doc
View Source
WithBody(StatementListSyntax)
Declaration
public DoStatementSyntax WithBody(StatementListSyntax body)
Parameters
Returns
|
Improve this Doc
View Source
WithDoKeyword(SyntaxToken)
Declaration
public DoStatementSyntax WithDoKeyword(SyntaxToken doKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithEndKeyword(SyntaxToken)
Declaration
public DoStatementSyntax WithEndKeyword(SyntaxToken endKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithSemicolonToken(SyntaxToken)
Declaration
public DoStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken)
Parameters
Returns
Implements
IFormattable
Extension Methods