Ejemplo n.º 1
0
        public static CbVal DoDeVal(string code)
        {
            var ast = Parse(code);

            if (ast.Count == 0)
            {
                throw new DeserializeError("Nothing to deserialize");
            }
            return(DeCbVal.ValDe(ast[0]));
        }
Ejemplo n.º 2
0
 public static CbVal DoDeAstVal(CbAst ast) => DeCbVal.ValDe(ast);
Ejemplo n.º 3
0
 public static CbVal DoDeAstValArr(List <CbAst> ast) => DeCbVal.ArrDe(ast);
Ejemplo n.º 4
0
 public static CbVal DoDeValArr(string code) => DeCbVal.ArrDe(Parse(code));