Prefixes a Python keyword, the way adk-python's rename_python_keywords does. Mirrors the reference exactly: the set is Python's, not TypeScript's.
rename_python_keywords
The candidate identifier.
The prefix to add when s is reserved.
s
prefix + s when s is reserved, otherwise s unchanged.
prefix + s
renameReservedKeywords('in'); // 'param_in'renameReservedKeywords('total'); // 'total' Copy
renameReservedKeywords('in'); // 'param_in'renameReservedKeywords('total'); // 'total'
Prefixes a Python keyword, the way adk-python's
rename_python_keywordsdoes. Mirrors the reference exactly: the set is Python's, not TypeScript's.