icerpc / slicec

The Slice compiler library
Apache License 2.0
13 stars 5 forks source link

Add CompilationStatePatcher and CompilationStateValidator #561

Closed externl closed 1 year ago

externl commented 1 year ago

This PR adds a compilation state patcher and validator to the slice options. It also moves the slice options into a different module that's more in line with what the options represent. Not just he command line options, but the options for compilation.

The state patcher is ran as the last patcher and before validation. The state validator is ran after all other validation.