Mercurial > hg > Members > menikon > CbC_xv6
view src/plautogen/impl/SingleLinkedStack.h @ 110:8c7c1ea49f21
impl auto gen context tools
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 27 Nov 2019 21:21:42 +0900 |
parents | |
children |
line wrap: on
line source
typedef struct SingleLinkedStack<Type, Isa> impl Stack { struct Element* top; } SingleLinkedStack; /* // Stack Interface struct Stack { union Data* stack; union Data* data; union Data* data1; enum Code whenEmpty; enum Code clear; enum Code push; enum Code pop; enum Code pop2; enum Code isEmpty; enum Code get; enum Code get2; enum Code next; } Stack; // Stack implementations struct SingleLinkedStack { struct Element* top; } SingleLinkedStack; */