While it is possible to highlight specific language keywords (such as public in C++) by using lstinline command from listing package as in:
Highlighting a C++ keyword \lstinline|public| in a sentence.
Is it possible to provide a list of keywords or better still specify the language and let a macro or other option search-and-augment keywords with lstinline in the paragraph?
There appear to be a related question on StackOverflow but I am not sure how to source keywords.
