Example #1
0
        public TyonValue DehydrateValue(Type type, object value)
        {
            TyonValue tyon_value = CreateTyonValue(type, value);

            Finish();
            return(tyon_value);
        }
Example #2
0
        public object HydrateValue(Type type, TyonValue tyon_value)
        {
            VariableInstance variable = new Variable_Static_Value("value", type, null)
                                        .CreateInstance();

            tyon_value.PushToVariable(variable, this);
            Finish();

            return(variable.GetContents());
        }
Example #3
0
 public object HydrateValue(Type type, string text)
 {
     return(HydrateValue(type, TyonValue.DOMify(text)));
 }