Exemplo n.º 1
0
 public override void Execute(LogicExecutionState state)
 {
     if (this.Condition.Truthful(state))
     {
         this.Statement.Execute(state);
     }
 }
Exemplo n.º 2
0
 public override void Execute(LogicExecutionState state)
 {
     if (this.Condition.Truthful(state))
     {
         this.Statement.Execute(state);
     }
 }
Exemplo n.º 3
0
        public override void Execute(LogicExecutionState state)
        {
            while (this.Condition.Truthful(state))
            {
                this.Statement.Execute(state);

                if (state.Finished)
                {
                    return;
                }
            }
        }
Exemplo n.º 4
0
        public override void Execute(LogicExecutionState state)
        {
            while (this.Condition.Truthful(state))
            {
                this.Statement.Execute(state);

                if (state.Finished)
                {
                    return;
                }
            }
        }
Exemplo n.º 5
0
 public abstract void Assign(LogicExecutionState state, object value);
Exemplo n.º 6
0
 public override void Assign(LogicExecutionState state, object value)
 {
     state.Variables[this.Identifier] = value;
 }
Exemplo n.º 7
0
 public override void Execute(LogicExecutionState state)
 {
     state.Return(this.Expression.Result(state));
 }
Exemplo n.º 8
0
 public abstract void Execute(LogicExecutionState state);
Exemplo n.º 9
0
 public abstract void Execute(LogicExecutionState state);
 public override object Result(LogicExecutionState state)
 {
     return state.Variables[this.Identifier];
 }
 public override void Assign(LogicExecutionState state, object value)
 {
     state.Variables[this.Identifier] = value;
 }
Exemplo n.º 12
0
 public abstract void Assign(LogicExecutionState state, object value);
Exemplo n.º 13
0
 public override void Execute(LogicExecutionState state)
 {
     state.Return(this.Expression.Result(state));
 }
Exemplo n.º 14
0
 public override object Result(LogicExecutionState state)
 {
     return(state.Variables[this.Identifier]);
 }