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

  • stack : Array HirFrame

    Our call stack, but on the heap.

  • flags : Flags

    The current flag settings.

Instances For
    Equations
    Instances For
      Equations
      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
            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
                      @[implicit_reducible]
                      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