Package mini_c

Class ERTLfun


  • class ERTLfun
    extends java.lang.Object
    une fonction ERTL
    • Field Summary

      Fields 
      Modifier and Type Field Description
      ERTLgraph body
      le graphe de flot de contrôle
      mini_c.Label entry
      point d'entrée dans le graphe
      int formals
      nombre total d'arguments
      java.util.Set<mini_c.Register> locals
      ensemble des variables locales
      java.lang.String name
      nom de la fonction
    • Constructor Summary

      Constructors 
      Constructor Description
      ERTLfun​(java.lang.String name, int formals)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void accept​(ERTLVisitor v)  
      (package private) void print()
      pour débugger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        public java.lang.String name
        nom de la fonction
      • formals

        public int formals
        nombre total d'arguments
      • locals

        public java.util.Set<mini_c.Register> locals
        ensemble des variables locales
      • entry

        public mini_c.Label entry
        point d'entrée dans le graphe
      • body

        public ERTLgraph body
        le graphe de flot de contrôle
    • Constructor Detail

      • ERTLfun

        ERTLfun​(java.lang.String name,
                int formals)
    • Method Detail

      • print

        void print()
        pour débugger