resolveMappingA2Shape.tex 547 B

123456789101112131415
  1. %\begin{mycode}
  2. \begin{tomcode3}[caption=Exemple d'ancrage algébrique généré pour un élément \emph{resolve}.,label=code:resolveMappingA2Shape]
  3. %typeterm ResolveATextCircle extends Circle {
  4. implement { ResolveWorkATextCircle }
  5. is_sort(t) { t instanceof ResolveATextCircle }
  6. }
  7. %op Circle ResolveATextCircle(o:AText,name:String) {
  8. is_fsym(t) { t instanceof ResolveATextCircle }
  9. get_slot(name, t) { t.name }
  10. get_slot(o, t) { t.o }
  11. make(o,name) { new ResolveATextCircle(o,name) }
  12. }
  13. \end{tomcode3}
  14. %\end{mycode}