UAInspector v0.19.0 UAInspector.Downloader.ShortCodeMapConverter View Source
Utility module to extract short code maps from php sources into yaml files.
Link to this section Summary
Functions
Extracts the map defined with variable name var
from the file file
Writes yaml file for a list of short code mappings
Link to this section Functions
Link to this function
extract(var, type, file) View Source
Extracts the map defined with variable name var
from the file file
.
Returns the complete list of all mapping tuples.
Link to this function
write_yaml(map, atom, file) View Source
Writes yaml file for a list of short code mappings.