API Reference

The fluent.syntax module contains two helper methods.

The fluent.syntax.parser and fluent.syntax.serializer modules provide more fine-grained control and detail.

fluent.syntax.parse(source, **kwargs)[source]

Create an ast.Resource from a Fluent Syntax source.

fluent.syntax.serialize(resource, **kwargs)[source]

Serialize an ast.Resource to a unicode string.