/// <summary> /// Parses condition from human-readable text. /// </summary> /// <param name="text">Text to parse</param> /// <exception cref="InvalidSemanticItemException">On unsupported value</exception> /// <exception cref="NotEnoughDataException">When there is not enought data to build the argument</exception> /// <exception cref="ParserException">On parsing error</exception> /// <returns>Parsed rate order</returns> public Order Parse(string text) { return(new Order() { UserInput = text, ValueStack = ArgumentsBuilder.BuildArgs(text, model) }); }