Class LocalVariableDeclarationStatementSyntax
Represents a local variable declaration statement.
Inheritance
System.Object
LocalVariableDeclarationStatementSyntax
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 LocalVariableDeclarationStatementSyntax : StatementSyntax
Properties
|
Improve this Doc
View Source
EqualsValues
The values being assigned to the names (if any).
Declaration
public EqualsValuesClauseSyntax EqualsValues { get; }
Property Value
|
Improve this Doc
View Source
LocalKeyword
Declaration
public SyntaxToken LocalKeyword { get; }
Property Value
|
Improve this Doc
View Source
Names
The list of names being assigned to.
Declaration
public SeparatedSyntaxList<LocalDeclarationNameSyntax> Names { 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
AddNames(LocalDeclarationNameSyntax[])
Declaration
public LocalVariableDeclarationStatementSyntax AddNames(params LocalDeclarationNameSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, SeparatedSyntaxList<LocalDeclarationNameSyntax>, EqualsValuesClauseSyntax, SyntaxToken)
Declaration
public LocalVariableDeclarationStatementSyntax Update(SyntaxToken localKeyword, SeparatedSyntaxList<LocalDeclarationNameSyntax> names, EqualsValuesClauseSyntax equalsValues, SyntaxToken semicolonToken)
Parameters
Returns
|
Improve this Doc
View Source
WithEqualsValues(EqualsValuesClauseSyntax)
Declaration
public LocalVariableDeclarationStatementSyntax WithEqualsValues(EqualsValuesClauseSyntax equalsValues)
Parameters
Returns
|
Improve this Doc
View Source
WithLocalKeyword(SyntaxToken)
Declaration
public LocalVariableDeclarationStatementSyntax WithLocalKeyword(SyntaxToken localKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithNames(SeparatedSyntaxList<LocalDeclarationNameSyntax>)
Declaration
public LocalVariableDeclarationStatementSyntax WithNames(SeparatedSyntaxList<LocalDeclarationNameSyntax> names)
Parameters
Returns
|
Improve this Doc
View Source
WithSemicolonToken(SyntaxToken)
Declaration
public LocalVariableDeclarationStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken)
Parameters
Returns
Implements
IFormattable
Extension Methods