contextElementFor

Obtain a parser key for a target language. PolyglotContext implementations will search for a key generated by this function during PolyglotContext.parse in order to load custom parsers.

See also


Obtain a parser key for a target languageId. PolyglotContext implementations will search for a key generated by this function during PolyglotContext.parse in order to load custom parsers.

See also