Skip to content

thrift finder api that helps find thrift classes using regex

Notifications You must be signed in to change notification settings

Maxatma/ThriftFinder

Repository files navigation

ThriftFinder

ThriftFinder - finds needed Realm classes from thrift text file used by [ThriftConvertor].

Usage:

    // instantiate finder
    let finder = Finder()
    
    // find class names in thrift file
    let thriftClassesNames = finder.findAllClassNamesIn(text: thriftText)
    
    // find all enums
    let thriftEnumsNames = finder.findAllEnumsNamesIn(text: thriftText)
    
    // create [ThriftClass] array 
    // ThriftConvertor create Realm classes and mappers from it.
    let classes = finder.createTrfitClassesFrom(text: thriftText)

Contacts

Oleksandr Zaporozhchenko [github] [gmail] [fb] [in]

About

thrift finder api that helps find thrift classes using regex

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages