Skip to content

Commit 88751ba

Browse files
committed
Document the new parser utility functions
1 parent 53a3dec commit 88751ba

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

docs/source/rule_engine/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
builtins.rst
1010
engine.rst
1111
errors.rst
12-
parser.rst
12+
parser/index.rst
1313
suggestions.rst
1414
types.rst

docs/source/rule_engine/parser.rst renamed to docs/source/rule_engine/parser/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
This module contains the parsing logic for taking rule text in the specified grammar and converting it to an abstract
88
syntax tree that can later be evaluated.
99

10+
.. toctree::
11+
:maxdepth: 2
12+
:titlesonly:
13+
14+
utilities.rst
15+
1016
Classes
1117
-------
1218

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
:mod:`utilities`
2+
=======================
3+
4+
.. module:: rule_engine.parser.utilities
5+
:synopsis:
6+
7+
This module contains utility functions for parsing various strings.
8+
9+
Functions
10+
---------
11+
12+
.. autofunction:: parse_datetime
13+
14+
.. autofunction:: parse_float
15+
16+
.. autofunction:: parse_timedelta

0 commit comments

Comments
 (0)