public BasicLoopWord(string definingWordName, Environment env)
            : base(definingWordName, env)
        {
            CycleWord = new ControlFlowWord("cycle", env);

            PrimitiveExecuteAction = executeLoop;
        }
Example #2
0
        public CaseWord(Environment env)
            : base("case", env)
        {
            CaseBodyWord = new ControlFlowWord("case-body", env);

            PrimitiveExecuteAction = executeCase;
        }
Example #3
0
        public BasicLoopWord(string definingWordName, Environment env)
            : base(definingWordName, env)
        {
            CycleWord = new ControlFlowWord("cycle", env);

            PrimitiveExecuteAction = executeLoop;
        }
Example #4
0
        public CaseWord(Environment env)
            : base("case", env)
        {
            CaseBodyWord = new ControlFlowWord("case-body", env);

            PrimitiveExecuteAction = executeCase;
        }