예제 #1
0
파일: StringExt.cs 프로젝트: taukita/Sfs
 public static SfsSyntaxUnit SfsParse(this string s)
 {
     return(SfsParser.ParseAll(s));
 }
예제 #2
0
파일: StringExt.cs 프로젝트: taukita/Sfs
        public static string SfsFormat(this string s, object context)
        {
            var unit = SfsParser.ParseAll(s);

            return(unit.Reduce(context));
        }