Example #1
0
        public void Setup(DencProgram program, ClassHeir classHeir, IStatement parent, ref StatementFlowInitializer flow)
        {
            Program = program;

            if (classHeir == null)
            {
                flow = new StatementFlowInitializer(program, this);
            }

            flow.Push();

            foreach (var s in StatementList)
            {
                if (s != null)
                {
                    s.Setup(program, this, this, ref flow);
                }
            }

            flow.Pop();
        }
Example #2
0
 public void Setup(DencProgram program, ClassHeir classHeir, IStatement parent, ref StatementFlowInitializer flow)
 {
 }