| 1 |
################################################# |
| 2 |
parser: Lexing and parsing OpenType feature files |
| 3 |
################################################# |
| 4 |
|
| 5 |
.. currentmodule:: fontTools.feaLib |
| 6 |
|
| 7 |
.. contents:: On this page: |
| 8 |
:local: |
| 9 |
|
| 10 |
|
| 11 |
.. rubric:: Overview |
| 12 |
:heading-level: 2 |
| 13 |
|
| 14 |
|
| 15 |
The primary interface for processing ``.fea`` files is |
| 16 |
:class:`fontTools.feaLib.parser.Parser`. At a lower level, the |
| 17 |
:mod:`fontTools.feaLib.lexer` module implements feaLib's lexical |
| 18 |
analysis of the ``.fea`` language syntax, augmented by several smaller |
| 19 |
utility modules. |
| 20 |
|
| 21 |
|
| 22 |
Parsing |
| 23 |
------- |
| 24 |
|
| 25 |
.. currentmodule:: fontTools.feaLib.parser |
| 26 |
|
| 27 |
.. automodule:: fontTools.feaLib.parser |
| 28 |
:members: |
| 29 |
:undoc-members: |
| 30 |
|
| 31 |
|
| 32 |
Lexing |
| 33 |
------ |
| 34 |
|
| 35 |
.. currentmodule:: fontTools.feaLib.lexer |
| 36 |
|
| 37 |
.. automodule:: fontTools.feaLib.lexer |
| 38 |
:members: |
| 39 |
:undoc-members: |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
fontTools.feaLib.variableScalar |
| 44 |
------------------------------- |
| 45 |
|
| 46 |
.. currentmodule:: fontTools.feaLib.variableScalar |
| 47 |
|
| 48 |
.. automodule:: fontTools.feaLib.variableScalar |
| 49 |
:members: |
| 50 |
:undoc-members: |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
fontTools.feaLib.location |
| 55 |
------------------------- |
| 56 |
|
| 57 |
.. currentmodule:: fontTools.feaLib.location |
| 58 |
|
| 59 |
.. automodule:: fontTools.feaLib.location |
| 60 |
:members: |
| 61 |
:undoc-members: |
| 62 |
|