[−][src]Module genco::prelude::python
Specialization for Python code generation.
Examples
String quoting in Python:
use genco::prelude::*; let toks: python::Tokens = quote!(#("hello \n world".quoted())); assert_eq!("\"hello \\n world\"", toks.to_string()?);
Structs
Config | Configuration for python. |
Format | Formatting state for python. |
Python | Language specialization for Python. |
Type | Python token specialization. |
Functions
imported | Setup an imported element. |
local | Setup a local element. |
Type Definitions
Tokens | Tokens container specialization for Python. |