Class TypeCastExpressionSyntax
This node represents a type cast expression.
Inheritance
System.Object
TypeCastExpressionSyntax
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 TypeCastExpressionSyntax : ExpressionSyntax
Properties
|
Improve this Doc
View Source
ColonColonToken
Gets the ::
operator token.
Declaration
public SyntaxToken ColonColonToken { get; }
Property Value
|
Improve this Doc
View Source
Expression
Gets the expression being cast to another type.
Declaration
public ExpressionSyntax Expression { get; }
Property Value
|
Improve this Doc
View Source
Type
Gets the type the expression is being cast to.
Declaration
public TypeSyntax Type { 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
Update(ExpressionSyntax, SyntaxToken, TypeSyntax)
Declaration
public TypeCastExpressionSyntax Update(ExpressionSyntax expression, SyntaxToken colonColonToken, TypeSyntax type)
Parameters
Returns
|
Improve this Doc
View Source
WithColonColonToken(SyntaxToken)
Declaration
public TypeCastExpressionSyntax WithColonColonToken(SyntaxToken colonColonToken)
Parameters
Returns
|
Improve this Doc
View Source
WithExpression(ExpressionSyntax)
Declaration
public TypeCastExpressionSyntax WithExpression(ExpressionSyntax expression)
Parameters
Returns
|
Improve this Doc
View Source
WithType(TypeSyntax)
Declaration
public TypeCastExpressionSyntax WithType(TypeSyntax type)
Parameters
Returns
Implements
IFormattable
Extension Methods