:py:mod:`pyab_experiment.language.grammar`
==========================================

.. py:module:: pyab_experiment.language.grammar

.. autoapi-nested-parse::

   Grammar definition for our AP experiment language



Module Contents
---------------

Classes
~~~~~~~

.. autoapisummary::

   pyab_experiment.language.grammar.ExperimentParser




.. py:class:: ExperimentParser


   Bases: :py:obj:`pyab_experiment.sly.Parser`

   Defines the grammar for an AB testing configuration language.

   This class defines a set of rules (grammar) for parsing and validating AB testing
   configuration files. The grammar defines the structure and syntax of the
   configuration language, which is used to specify AB tests and their
   associated settings.

   .. py:attribute:: precedence
      :value: (('left',), ('left',), ('left',))

      

   .. py:attribute:: tokens

      

   .. py:method:: conditional(p)


   .. py:method:: conditional(p)


   .. py:method:: empty(p)


   .. py:method:: fields(p)


   .. py:method:: fields(p)


   .. py:method:: header(p)


   .. py:method:: header_id(p)


   .. py:method:: literal(p)


   .. py:method:: literal(p)


   .. py:method:: literal(p)


   .. py:method:: literal(p)


   .. py:method:: literal(p)


   .. py:method:: logical_op(p)


   .. py:method:: logical_op(p)


   .. py:method:: logical_op(p)


   .. py:method:: logical_op(p)


   .. py:method:: logical_op(p)


   .. py:method:: logical_op(p)


   .. py:method:: logical_op(p)


   .. py:method:: logical_op(p)


   .. py:method:: op_term(p)


   .. py:method:: op_term(p)


   .. py:method:: opt_header_salt(p)


   .. py:method:: opt_header_salt(p)


   .. py:method:: opt_splitter(p)


   .. py:method:: opt_splitter(p)


   .. py:method:: predicate(p)


   .. py:method:: predicate(p)


   .. py:method:: predicate(p)


   .. py:method:: predicate(p)


   .. py:method:: predicate(p)


   .. py:method:: return_expr(p)


   .. py:method:: return_statement(p)


   .. py:method:: return_statement(p)


   .. py:method:: subconditional(p)


   .. py:method:: subconditional(p)


   .. py:method:: subconditional(p)


   .. py:method:: term(p)


   .. py:method:: term(p)


   .. py:method:: term(p)


   .. py:method:: tuple(p)


   .. py:method:: weight(p)


   .. py:method:: weight(p)



