Exemple #1
0
        public virtual Schema SubClass(string name)
        {
            Schema subSchema;

            if (!SubSchemas.TryGetValue(name, out subSchema))
            {
                var newIndexMap = new IndexMap(IndexMap);
                newIndexMap.Add(name, newIndexMap.Count);
                SubSchemas[name] = subSchema = new Schema(Env, newIndexMap);
            }

            return subSchema;
        }
Exemple #2
0
 public ValueObject(Environment env, Schema map, ScriptObject prototype)
     : base(env, map, prototype)
 {
 }