CodeContext: Add options parser
Currently compiler/valacompiler.vala
has the possibility to parse input options, but a Language Server will never run valac
but setup a Context
and run parsing/Resolver/SemanticAnalyzer/FlowAnalyzer to get a report of all incidents found in a given build enviroment.
Move all options parsing to CodeContext
will provide that features for free to just pass an array of options to the context. For now GVls is going to copy/paste in order to help setup a CodeContext
for the given options from the LSP Client.