react-native/Libraries/Settings
Nick Lockwood 88ac40666c Replaced RegExp method parser with recursive descent
Summary:
public

This diff replaces the RegEx module method parser with a handwritten recursive descent parser that's faster and easier to maintain.

The new parser is ~8 times faster when tested on the UIManager.managerChildren() method, and uses ~1/10 as much RAM.

The new parser also supports lightweight generics, and is more tolerant of white space.

(This means that you now can – and should – use types like `NSArray<NSString *> *` for your exported properties and method arguments, instead of `NSStringArray`).

Reviewed By: jspahrsummers

Differential Revision: D2736636

fb-gh-sync-id: f6a11431935fa8acc8ac36f3471032ec9a1c8490
2015-12-10 10:12:29 -08:00
..
RCTSettings.xcodeproj Text highlighting on iOS 2015-07-24 08:41:58 -08:00
RCTSettingsManager.h Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTSettingsManager.m Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
Settings.android.js [React Native] Added RCTSettings 2015-05-05 05:46:52 -08:00
Settings.ios.js Check for RCTSettingsManager in Settings.ios 2015-07-06 04:47:04 -08:00