예제 #1
0
        public static KeyedVariable Serialize(string Key, string rawVar, AzBaseInterpreter interpreter, string file, int line, bool debugEnabled)
        {
            AnonymousVariable anonvar = AnonymousVariable.Serialize(rawVar, interpreter, file, line, debugEnabled);

            return(new KeyedVariable(Key, anonvar.Value, anonvar.Type));
        }
예제 #2
0
 public KeyedVariable(string Key, AnonymousVariable anonvar) : base(anonvar.Value, anonvar.Type)
 {
     this.Key   = Key;
     this.Value = anonvar.Value;
     this.Type  = anonvar.Type;
 }