Exemple #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)));
        }
Exemple #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)));
        }
Exemple #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)));
        }
Exemple #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)));
        }