public static AstMessage ExpressionNoType(this AstErrorSite errorSite, AstExpression expression)
 {
     return(errorSite.AddError(expression, expression.Context !,
                               $"Could not determine the Type for Expression '{expression.AsString()}'"));
 }
Beispiel #2
0
 public AstExpressionOperand(AstExpression expr)
     : base(AstNodeKind.Operand)
 {
     TrySetExpression(expr);
 }