Module Expr Str Assign NameStore ListLoad ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str SubscriptLoad NameLoad Index Num BinOpAdd Str SubscriptLoad NameLoad Index Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num BinOpAdd Str SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return Call AttributeLoad NameLoad attr Str Str decorator_list If CompareEq NameLoad Str body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareEq NameLoad NameLoad CompareEq NameLoad NameLoad body Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad orelse Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print decorator_list Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str
N/A N/A This file is the XEP-0106 commands.

Implemented commands as follows:

4.2 Encode : Encoding Transformation
4.3 Decode : Decoding Transformation


 N/A xep0106mapping N/A N/A 20 N/A " 22 N/A & 26 N/A ' 27 N/A / 2f N/A : 3a N/A < 3c N/A > 3e N/A @ 40 JIDEncode N/A N/A str N/A N/A N/A str N/A N/A str replace \5c \5c5c N/A each xep0106mapping N/A N/A str N/A N/A str replace N/A \ N/A each N/A 1 N/A \5c N/A each N/A 1 N/A each xep0106mapping N/A N/A str N/A N/A str replace N/A each N/A 0 N/A \ N/A each N/A 1 N/A str N/A JIDDecode N/A N/A str N/A N/A N/A each xep0106mapping N/A N/A str N/A N/A str replace N/A \ N/A each N/A 1 N/A each N/A 0 N/A N/A N/A str replace \5c \ N/A N/A N/A __name__ __main__ N/A test N/A N/A before valid N/A N/A N/A during N/A JIDEncode before N/A after N/A JIDDecode during N/A N/A N/A during valid N/A after before N/A N/A N/A PASS Before:  before N/A N/A PASS During:  during N/A N/A N/A FAIL Before:  before N/A N/A FAIL During:  during N/A N/A FAIL After :  after N/A N/A N/A N/A test jid escaping jid\20escaping N/A N/A test \3and\2is\5@example.com \5c3and\2is\5\40example.com N/A N/A test \3catsand\2catsis\5cats@example.com \5c3catsand\2catsis\5c5cats\40example.com N/A N/A test \2plus\2is\4 \2plus\2is\4 N/A N/A test foo\bar foo\bar N/A N/A test foob\41r foob\41r N/A N/A test here's_a wild_&_/cr%zy/_address@example.com here\27s_a\20wild_\26_\2fcr%zy\2f_address\40example.com