/// <summary>基元字面量</summary> public static Expr CreatePrimitiveLiteral(PrimitiveLiteralExpr Value) { return(new Expr { _Tag = ExprTag.PrimitiveLiteral, PrimitiveLiteral = Value }); }
/// <summary>基元字面量</summary> public static MatchPattern CreatePrimitiveLiteral(PrimitiveLiteralExpr Value) { return(new MatchPattern { _Tag = MatchPatternTag.PrimitiveLiteral, PrimitiveLiteral = Value }); }