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