Documentation

Regex.Syntax.Translate

Translate #

Translate (Syntax.translate) an abstract syntax tree Syntax.Ast.Ast into a high level intermediate representation Syntax.Hir.

Translator state

Instances For
    Equations
    • f.is_case_insensitive = f.case_insensitive.getD false
    Instances For
      Equations
      • f.is_dot_matches_new_line = f.dot_matches_new_line.getD false
      Instances For
        Equations
        • f.is_multi_line = f.multi_line.getD false
        Instances For
          Equations
          Instances For
            Equations
            • f.is_swap_greed = f.swap_greed.getD false
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                @[irreducible]
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem Syntax.sizeOf_pop_alt_expr {stack' : Array Syntax.HirFrame} {hir : Syntax.Hir} {stack : Array Syntax.HirFrame} (h : Syntax.pop_alt_expr stack = Except.ok (stack', some hir)) :
                    sizeOf stack' < sizeOf stack
                    @[irreducible]
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For

                      This method is called on an Ast before descending into child Ast nodes.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        This method is called on an Ast after descending all of its child Ast nodes.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For

                          This method is called on every [ClassSetItem] before descending into child nodes.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            This method is called on every [ClassSetItem] after descending into child nodes.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For

                              This method is called on every [ClassSetBinaryOp] before descending into child nodes.

                              Equations
                              Instances For

                                This method is called between the left hand and right hand child nodes.

                                Equations
                                Instances For

                                  This method is called on every [ClassSetBinaryOp] after descending into child nodes.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    Equations
                                    • One or more equations did not get rendered due to their size.

                                    Translate the given abstract syntax tree into a high level intermediate representation.

                                    Equations
                                    Instances For