Exemplo n.º 1
0
        public ProgramState execute(ProgramState programState)
        {
            IMyStack<IMyStatement> stack = new WrapperStack<IMyStatement>();
            stack.push(statement);

            IMyDictionary<String, int> copyDictionary = new WrapperDictionary<String, int>();

            copyDictionary.addAll(programState.getMyDictionary().getMap());
            return new ProgramState(stack, copyDictionary, programState.getOutput(), programState.getHeap(), statement);
        }
Exemplo n.º 2
0
 static Focusable()
 {
     Hovered = new WrapperDictionary<IControlParent, int>();
     Focused = new WrapperDictionary<IControlParent, int>();
 }