21 lines
988 B
C#
21 lines
988 B
C#
namespace AspClassic.Parser;
|
|
|
|
/// <summary>
|
|
/// A parse tree for a DirectCast expression.
|
|
/// </summary>
|
|
public sealed class DirectCastExpression : CastTypeExpression
|
|
{
|
|
/// <summary>
|
|
/// Constructs a new parse tree for a DirectCast expression.
|
|
/// </summary>
|
|
/// <param name="leftParenthesisLocation">The location of the '('.</param>
|
|
/// <param name="operand">The expression to be converted.</param>
|
|
/// <param name="commaLocation">The location of the ','.</param>
|
|
/// <param name="target">The target type of the conversion.</param>
|
|
/// <param name="rightParenthesisLocation">The location of the ')'.</param>
|
|
/// <param name="span">The location of the parse tree.</param>
|
|
public DirectCastExpression(Location leftParenthesisLocation, Expression operand, Location commaLocation, TypeName target, Location rightParenthesisLocation, Span span)
|
|
: base(TreeType.DirectCastExpression, leftParenthesisLocation, operand, commaLocation, target, rightParenthesisLocation, span)
|
|
{
|
|
}
|
|
}
|