Files
yoga/tests
David Aurelio dee93017f7 YGStyle: wrap all fields into accessors
Summary:
@public

In order to encapsulate property access on `YGStyle`, as a first measure we wrap all fields with accessors.

This will e.g. enable dynamic property storage and instrumentation in the future.

All accessors have a `const` version that allows direct access via `const&`. For mutation, bit fields are wrapped with a custom reference object.

This style allows for the least amount of changes in client code. Property access simply needs appended parens, eg `style.direction` becomes `style.direction`.

Reviewed By: shergin

Differential Revision: D14999096

fbshipit-source-id: fbf29f7ddab520513d4618f5e70094c4f6330b30
2019-04-23 08:17:18 -07:00
..
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00
2019-03-25 05:41:30 -07:00