Skip to content

yeikel/apex-ast-serializer

 
 

Repository files navigation

Apex AST Serializer Test and Release

This program serializes the Abstract Syntax Tree of an Apex Class/Trigger, using the jorje Apex parser distributed by Salesforce.

It is mainly used by the prettier-plugin-apex project.

The result is printed out to stdout as either a JSON or XML object.

Building

./gradlew distZip

A zip file will be created in distributions directory. You can unzip that file to get to the executables under apex-ast-serializer/bin.

Running

To get a list of supported options:

./apex-ast-serializer --help

License

MIT

About

Serialize Apex Abstract Syntax Tree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 96.3%
  • Shell 3.5%
  • Apex 0.2%