__init__.py |
Create an ast.Resource from a Fluent Syntax source.
|
808 |
ast.py |
Compare two nodes which are not lists. |
11689 |
errors.py |
|
2636 |
parser.py |
This class is used to parse Fluent source content.
``with_spans`` enables source information in the form of
:class:`.ast.Span` objects for each :class:`.ast.SyntaxNode`.
|
22521 |
py.typed |
|
0 |
serializer.py |
FluentSerializer converts :class:`.ast.SyntaxNode` objects to unicode strings.
`with_junk` controls if parse errors are written back or not.
|
8207 |
stream.py |
|
8638 |
visitor.py |
Read-only visitor pattern.
Subclass this to gather information from an AST.
To generally define which nodes not to descend in to, overload
`generic_visit`.
To handle specific node types, add methods like `visit_Pattern`.
If you want to still descend into the children of the node, call
`generic_visit` of the superclass.
|
2164 |