Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.25 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.25 KB

Sync Engine's Parser Library

Packages / Features

Also see Pocket's Android Repo for sync engine code generation.

Syntax Updates

Adding new figment syntax features is a fairly common task, here are some general tips for doing so:

  • Add the new property to Data.kt
  • Add the new property to Definition.kt
  • Handle the property in Syntax.kt
  • Add to the FigmentPrinter.kt
  • Add to SyntaxTests and ReprintTest cases as needed

Debugging

Create a runtime config in IntelliJ that you can run in debug mode.

There is a prebuilt template included in this project in .idea/runConfigurations that should have already loaded into your IDE automatically. In the configs dropdown, look for "Debuggable - validate". Make a copy of that template and modify the command line args as needed for what you want to debug. Then run it in debug mode.