Class TypedIdentifierNameSyntax
This node represents an identifier name with a type binding.
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 TypedIdentifierNameSyntax : LuaSyntaxNode
Remarks
This node is associated with the following syntax kinds:
Properties
| Improve this Doc View SourceIdentifierName
The identifier.
Declaration
public IdentifierNameSyntax IdentifierName { get; }
Property Value
Type | Description |
---|---|
IdentifierNameSyntax |
Name
This identifier's name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
TypeBinding
The type binding containing the type (if any).
Declaration
public TypeBindingSyntax TypeBinding { get; }
Property Value
Type | Description |
---|---|
TypeBindingSyntax |
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(IdentifierNameSyntax, TypeBindingSyntax)
Declaration
public TypedIdentifierNameSyntax Update(IdentifierNameSyntax identifierName, TypeBindingSyntax typeBinding)
Parameters
Type | Name | Description |
---|---|---|
IdentifierNameSyntax | identifierName | |
TypeBindingSyntax | typeBinding |
Returns
Type | Description |
---|---|
TypedIdentifierNameSyntax |
WithIdentifierName(IdentifierNameSyntax)
Declaration
public TypedIdentifierNameSyntax WithIdentifierName(IdentifierNameSyntax identifierName)
Parameters
Type | Name | Description |
---|---|---|
IdentifierNameSyntax | identifierName |
Returns
Type | Description |
---|---|
TypedIdentifierNameSyntax |
WithTypeBinding(TypeBindingSyntax)
Declaration
public TypedIdentifierNameSyntax WithTypeBinding(TypeBindingSyntax typeBinding)
Parameters
Type | Name | Description |
---|---|---|
TypeBindingSyntax | typeBinding |
Returns
Type | Description |
---|---|
TypedIdentifierNameSyntax |
Implements
IFormattable