The third parameter is an options mapping.
This can contain arbitrary keyword parameters that will be passed to the extractor method. It depends entirely on the extractor method what keyword parameters it'll accept.
The extractor is passed these options as the last parameter when called, usually called options
in the method signature. The Mako Babel plugin supports encoding
and input_encoding
for example. The former seems to be a legacy spelling of the latter parameter, it's only used if input_encoding
is not specified.
As such, each and every Babel plugin needs to document the supported options separately, the Babel project does not set limitations nor will it know the specifics that each plugin supports.
The specifics for the Mako extractor are documented in the Common Framework Integrations section:
The Mako extractor supports an optional
input_encoding
parameter specifying the encoding of the templates (identical toTemplate
/TemplateLookup
‘sinput_encoding
parameter).