Esempio n. 1
0
        public StatementFlowInitializer(DencProgram program, ClassHeir classHeir)
        {
            Program = program;

            Level   = 0;
            Address = 0;

            Radix     = Program.Architecture.DefaultRadix;
            LastLabel = null;
        }
Esempio n. 2
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();
        }
Esempio n. 3
0
 public void Setup(DencProgram program, ClassHeir classHeir, IStatement parent, ref StatementFlowInitializer flow)
 {
 }