public void Append(IWritableMValue writable) { // Only valid when we have a open Name without a value if (Names.Count > Values.Count) { Values.Add(writable.ToMValue()); } }
//TODO: function support public bool ToMValue(out MValueConst mValue) { if (root != null) { root.ToMValue(out mValue); return(true); } else { mValue = MValueConst.Nil; } return(false); }
public void Append(IWritableMValue writable) { Values.Add(writable.ToMValue()); }
//TODO: function support public MValue ToMValue() => root?.ToMValue() ?? MValue.Nil;