private void CompositeEndHandler(EndToken token) { Type type = typeIds[(int)token.TypeId]; Midwife midwife = parentStack.Pop(); if (midwife.Obj == null) { CreateInstance(midwife); } midwife.Populate(); SetValue(token.Name, midwife.Obj); }