/// <summary>
        /// The parse.
        /// </summary>
        /// <param name="sourceCode">
        /// The JavaScript script.
        /// </param>
        /// <returns>
        /// Hierarchy with code structure.
        /// </returns>
        private JSParserResult ParseInternal(string sourceCode)
        {
            var parser = new JavascriptStructureParserV2(_settings);

            return(parser.Parse(sourceCode));
        }
Beispiel #2
0
 /// <summary>
 /// The parse.
 /// </summary>
 /// <param name="script">
 /// The js script.
 /// </param>
 /// <returns>
 /// Hierarhy with code structure.
 /// </returns>
 private JSParserResult ParseInternal(string sourceCode)
 {
     var parser = new JavascriptStructureParserV2(_settings);
     return parser.Parse(sourceCode);
 }