示例#1
0
        public StatementFlowInitializer(DencProgram program, ClassHeir classHeir)
        {
            Program = program;

            Level   = 0;
            Address = 0;

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