[Parser] Added splitStruct, fixing typeInfo