Class TypeDeclarationStatementSyntax
Represents a type declaration statement.
Inheritance
System.Object
TypeDeclarationStatementSyntax
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 TypeDeclarationStatementSyntax : StatementSyntax
Properties
|
Improve this Doc
View Source
EqualsToken
The equals token of the type.
Declaration
public SyntaxToken EqualsToken { get; }
Property Value
|
Improve this Doc
View Source
ExportKeyword
Declaration
public SyntaxToken ExportKeyword { get; }
Property Value
|
Improve this Doc
View Source
Name
Represents the type's name.
Declaration
public SyntaxToken Name { 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
|
Improve this Doc
View Source
Type
Represents the declared type.
Declaration
public TypeSyntax Type { get; }
Property Value
|
Improve this Doc
View Source
TypeKeyword
Declaration
public SyntaxToken TypeKeyword { get; }
Property Value
|
Improve this Doc
View Source
TypeParameterList
The type parameter list for this generic type.
Declaration
public TypeParameterListSyntax TypeParameterList { get; }
Property Value
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
AddTypeParameterListNames(TypeParameterSyntax[])
Declaration
public TypeDeclarationStatementSyntax AddTypeParameterListNames(params TypeParameterSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, SyntaxToken, SyntaxToken, TypeParameterListSyntax, SyntaxToken, TypeSyntax, SyntaxToken)
Declaration
public TypeDeclarationStatementSyntax Update(SyntaxToken exportKeyword, SyntaxToken typeKeyword, SyntaxToken name, TypeParameterListSyntax typeParameterList, SyntaxToken equalsToken, TypeSyntax type, SyntaxToken semicolonToken)
Parameters
Returns
|
Improve this Doc
View Source
WithEqualsToken(SyntaxToken)
Declaration
public TypeDeclarationStatementSyntax WithEqualsToken(SyntaxToken equalsToken)
Parameters
Returns
|
Improve this Doc
View Source
WithExportKeyword(SyntaxToken)
Declaration
public TypeDeclarationStatementSyntax WithExportKeyword(SyntaxToken exportKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithName(SyntaxToken)
Declaration
public TypeDeclarationStatementSyntax WithName(SyntaxToken name)
Parameters
Returns
|
Improve this Doc
View Source
WithSemicolonToken(SyntaxToken)
Declaration
public TypeDeclarationStatementSyntax WithSemicolonToken(SyntaxToken semicolonToken)
Parameters
Returns
|
Improve this Doc
View Source
WithType(TypeSyntax)
Declaration
public TypeDeclarationStatementSyntax WithType(TypeSyntax type)
Parameters
Returns
|
Improve this Doc
View Source
WithTypeKeyword(SyntaxToken)
Declaration
public TypeDeclarationStatementSyntax WithTypeKeyword(SyntaxToken typeKeyword)
Parameters
Returns
|
Improve this Doc
View Source
WithTypeParameterList(TypeParameterListSyntax)
Declaration
public TypeDeclarationStatementSyntax WithTypeParameterList(TypeParameterListSyntax typeParameterList)
Parameters
Returns
Implements
IFormattable
Extension Methods