PrintContext is produced by the LHS parser and printer, and

consumed by the RHS parser and printer
The way I prefer to make the intent clear in these kinds of cases is with a comment like this:

    getString(/*PrintNames=*/true)

This sort of comment is common in LLVM as well.