progress
This commit is contained in:
parent
16e76d6b31
commit
484dbfc9d9
529 changed files with 113694 additions and 0 deletions
21
AspClassic.Parser/TryCastExpression.cs
Normal file
21
AspClassic.Parser/TryCastExpression.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
namespace AspClassic.Parser;
|
||||
|
||||
/// <summary>
|
||||
/// A parse tree for a CType expression.
|
||||
/// </summary>
|
||||
public sealed class TryCastExpression : CastTypeExpression
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs a new parse tree for a TryCast 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 TryCastExpression(Location leftParenthesisLocation, Expression operand, Location commaLocation, TypeName target, Location rightParenthesisLocation, Span span)
|
||||
: base(TreeType.TryCastExpression, leftParenthesisLocation, operand, commaLocation, target, rightParenthesisLocation, span)
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue