Class VariadicTypePackSyntax
This node represents a variadic type pack.
Implements
IFormattable
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)
Namespace: Loretta.CodeAnalysis.Lua.Syntax
Assembly: Loretta.CodeAnalysis.Lua.dll
Syntax
public sealed class VariadicTypePackSyntax : TypeSyntax
Remarks
This node is associated with the following syntax kinds:
Properties
| Improve this Doc View SourceDotDotDotToken
The ...
token.
Declaration
public SyntaxToken DotDotDotToken { get; }
Property Value
Type | Description |
---|---|
SyntaxToken |
Type
Gets the type the expression is being cast to.
Declaration
public TypeSyntax Type { get; }
Property Value
Type | Description |
---|---|
TypeSyntax |
Methods
| Improve this Doc View SourceAccept(LuaSyntaxVisitor)
Declaration
public override void Accept(LuaSyntaxVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
LuaSyntaxVisitor | visitor |
Overrides
| Improve this Doc View SourceAccept<TResult>(LuaSyntaxVisitor<TResult>)
Declaration
public override TResult Accept<TResult>(LuaSyntaxVisitor<TResult> visitor)
Parameters
Type | Name | Description |
---|---|---|
LuaSyntaxVisitor<TResult> | visitor |
Returns
Type | Description |
---|---|
TResult |
Type Parameters
Name | Description |
---|---|
TResult |
Overrides
Loretta.CodeAnalysis.Lua.LuaSyntaxNode.Accept<TResult>(Loretta.CodeAnalysis.Lua.LuaSyntaxVisitor<TResult>)
|
Improve this Doc
View Source
Update(SyntaxToken, TypeSyntax)
Declaration
public VariadicTypePackSyntax Update(SyntaxToken dotDotDotToken, TypeSyntax type)
Parameters
Type | Name | Description |
---|---|---|
SyntaxToken | dotDotDotToken | |
TypeSyntax | type |
Returns
Type | Description |
---|---|
VariadicTypePackSyntax |
WithDotDotDotToken(SyntaxToken)
Declaration
public VariadicTypePackSyntax WithDotDotDotToken(SyntaxToken dotDotDotToken)
Parameters
Type | Name | Description |
---|---|---|
SyntaxToken | dotDotDotToken |
Returns
Type | Description |
---|---|
VariadicTypePackSyntax |
WithType(TypeSyntax)
Declaration
public VariadicTypePackSyntax WithType(TypeSyntax type)
Parameters
Type | Name | Description |
---|---|---|
TypeSyntax | type |
Returns
Type | Description |
---|---|
VariadicTypePackSyntax |
Implements
IFormattable