[][src]Module genco::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().unwrap());

Structs

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.