Exemple #1
0
        void STRUCTDEF(out AST eo, AST idval)
        {
            List <AST> e2 = new List <AST>(); AST e; StructDef ed;

            STRUCTFIELD(out e);
            e2.Add(e);
            while (StartOf(1))
            {
                STRUCTFIELD(out e);
                e2.Add(e);
            }
            Expect(13);
            ed = new StructDef(e2); ed.structType = idval; eo = ed;
        }
Exemple #2
0
 public abstract void Visit(StructDef n);