Example #1
0
        public static HoconRoot Parse(string text, Func <string, HoconRoot>?includeCallback)
        {
            var reader = new HoconTokenizer(text);

            return(new Parser(reader, includeCallback).Parse());
        }
Example #2
0
 public Parser(HoconTokenizer reader, Func <string, HoconRoot>?includeCallback)
 {
     this._reader          = reader;
     this._includeCallback = includeCallback;
 }