Package mini_c

Class Pif


  • class Pif
    extends Pstmt
    Une instruction "if(e) s1; else s2"
    L'instruction "s2" est l'instruction vide (Pskip) s'il n'y avait pas de "else".
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) Pexpr e  
      (package private) Pstmt s1  
      (package private) Pstmt s2  
      • Fields inherited from class mini_c.Pstmt

        loc
    • Constructor Summary

      Constructors 
      Constructor Description
      Pif​(Pexpr e, Pstmt s1, Pstmt s2, Loc loc)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void accept​(Pvisitor v)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait