Reports parser warnings/errors/failures as lints
Reports parser warnings/errors/failures as lints

Summary:
This diff translates parsing warnings/errors/failures that the parser library gives into their corresponding lint output. This allows syntax errors to show up in the linter.

Potential TODO: Add CLI arguments to allow more control over what to output.

Reviewed By: spalamarchuk

Differential Revision: D8848141

fbshipit-source-id: f2c270ddcbfec7d3a8b6715e0ebc53f21842c807

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift