Class TypePackSyntax
This node represents a type pack.
Inheritance
System.Object
TypePackSyntax
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 TypePackSyntax : TypeSyntax
Properties
|
Improve this Doc
View Source
CloseParenthesisToken
Declaration
public SyntaxToken CloseParenthesisToken { get; }
Property Value
|
Improve this Doc
View Source
OpenParenthesisToken
Declaration
public SyntaxToken OpenParenthesisToken { get; }
Property Value
|
Improve this Doc
View Source
Types
Gets the list of the types of the pack's elements.
Declaration
public SeparatedSyntaxList<TypeSyntax> Types { 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
AddTypes(TypeSyntax[])
Declaration
public TypePackSyntax AddTypes(params TypeSyntax[] items)
Parameters
Returns
|
Improve this Doc
View Source
Update(SyntaxToken, SeparatedSyntaxList<TypeSyntax>, SyntaxToken)
Declaration
public TypePackSyntax Update(SyntaxToken openParenthesisToken, SeparatedSyntaxList<TypeSyntax> types, SyntaxToken closeParenthesisToken)
Parameters
Returns
|
Improve this Doc
View Source
WithCloseParenthesisToken(SyntaxToken)
Declaration
public TypePackSyntax WithCloseParenthesisToken(SyntaxToken closeParenthesisToken)
Parameters
Type |
Name |
Description |
SyntaxToken |
closeParenthesisToken |
|
Returns
|
Improve this Doc
View Source
WithOpenParenthesisToken(SyntaxToken)
Declaration
public TypePackSyntax WithOpenParenthesisToken(SyntaxToken openParenthesisToken)
Parameters
Returns
|
Improve this Doc
View Source
WithTypes(SeparatedSyntaxList<TypeSyntax>)
Declaration
public TypePackSyntax WithTypes(SeparatedSyntaxList<TypeSyntax> types)
Parameters
Returns
Implements
IFormattable
Extension Methods