Class GotoStatementSyntax
Represents a goto statement.
Inheritance
System.Object
GotoStatementSyntax
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: cs.temp.dll.dll
Syntax
public sealed class GotoStatementSyntax : StatementSyntax
Properties
GotoKeyword
Declaration
public SyntaxToken GotoKeyword { get; }
Property Value
LabelName
The name of the label being jumped to.
Declaration
public SyntaxToken LabelName { get; }
Property Value
SemicolonToken
The semicolon at the end of the statement (if any).
Declaration
public override SyntaxToken SemicolonToken { get; }
Property Value
Overrides
Methods
Accept(LuaSyntaxVisitor)
Declaration
public override void Accept(LuaSyntaxVisitor visitor)
Parameters
Overrides
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>)
Update(SyntaxToken, SyntaxToken, SyntaxToken)
Declaration
public GotoStatementSyntax Update(SyntaxToken gotoKeyword, SyntaxToken labelName, SyntaxToken semicolonToken)
Parameters
Returns
WithGotoKeyword(SyntaxToken)
Declaration
public GotoStatementSyntax WithGotoKeyword(SyntaxToken gotoKeyword)
Parameters
Returns
WithLabelName(SyntaxToken)
Declaration
public GotoStatementSyntax WithLabelName(SyntaxToken labelName)
Parameters
Returns
WithSemicolonToken(SyntaxToken)
Declaration
public GotoStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken)
Parameters
Returns
Implements
IFormattable