Skip to content

Commit

Permalink
Document the new parser utility functions
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroSteiner committed Apr 6, 2024
1 parent 53a3dec commit 88751ba
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/rule_engine/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
builtins.rst
engine.rst
errors.rst
parser.rst
parser/index.rst
suggestions.rst
types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
This module contains the parsing logic for taking rule text in the specified grammar and converting it to an abstract
syntax tree that can later be evaluated.

.. toctree::
:maxdepth: 2
:titlesonly:

utilities.rst

Classes
-------

Expand Down
16 changes: 16 additions & 0 deletions docs/source/rule_engine/parser/utilities.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
:mod:`utilities`
=======================

.. module:: rule_engine.parser.utilities
:synopsis:

This module contains utility functions for parsing various strings.

Functions
---------

.. autofunction:: parse_datetime

.. autofunction:: parse_float

.. autofunction:: parse_timedelta

0 comments on commit 88751ba

Please sign in to comment.