Beispiel #1
0
        /// <summary>
        /// Parses the text directly.
        /// </summary>
        /// <param name="text">The text.</param>
        /// <returns></returns>
        public IEnumerable <XlmodTerm> ParseText(string text)
        {
            var oboParser = new OboParser();

            return(oboParser.ParseText(text).Select(term => this.ConvertToModification(term)));
        }
Beispiel #2
0
        /// <summary>
        /// Parses the specified path.
        /// </summary>
        /// <param name="path">The path.</param>
        /// <returns></returns>
        public IEnumerable <UnimodModification> Parse(string path)
        {
            var oboParser = new OboParser();

            return(this.ConvertToModifications(oboParser.Parse(path)));
        }
Beispiel #3
0
        /// <summary>
        /// Parses the text.
        /// </summary>
        /// <param name="text">The text.</param>
        /// <returns></returns>
        public IEnumerable <UnimodModification> ParseText(string text)
        {
            var oboParser = new OboParser();

            return(this.ConvertToModifications(oboParser.ParseText(text)));
        }
Beispiel #4
0
        /// <summary>
        /// Parses the file at the specified path.
        /// </summary>
        /// <param name="path">The path.</param>
        /// <returns></returns>
        public IEnumerable <PsiModTerm> Parse(string path)
        {
            var oboParser = new OboParser();

            return(oboParser.Parse(path).Select(term => this.ConvertToModification(term)));
        }