Refactor the AsmParser to follow the pattern established in the parser:
there is now an explicit state class - which only has one instance per top
level FooThing::print call.  The FunctionPrinter's now subclass ModulePrinter
so they can just call print on their types and other global stuff.  This also
makes the contract strict that the global FooThing::print calls are the public
entrypoints and that the printer implementation is otherwise self contained.

No Functionality Change.

PiperOrigin-RevId: 205409317
4 files changed
tree: f4cbd952add68fbe8ce05672412a6886e1ac58eb
  1. include/
  2. lib/
  3. test/
  4. tools/
  5. LICENSE.TXT