public static new IsBooleanExpression?Parse(string str) { List <IRacketObject>?arguments = RacketParsingHelper.ParseAny(str); if (arguments?.Count == 1) { return(new IsBooleanExpression(arguments)); } return(null); }
public static new IfExpression?Parse(string str) { List <IRacketObject>?arguments = RacketParsingHelper.ParseAny(str); if (arguments?.Count == 3) { RacketParsingHelper.ValidateReturnType(typeof(RacketBoolean), arguments[0]); return(new IfExpression(arguments)); } return(null); }