com.ssv.test.airbase.contest.operators
Class ExpressionOperator

java.lang.Object
  extended by com.ssv.test.airbase.contest.operators.ExpressionOperator
All Implemented Interfaces:
Operator

public class ExpressionOperator
extends java.lang.Object
implements Operator

Оператор присваивания.

var1=1;

Author:
Sergey Siryk

Constructor Summary
ExpressionOperator(Expression expression)
           
 
Method Summary
 void generate(Execution execution)
          Вставляет код оператора в схему исполнения.
 void run()
          Данный метод представляет собственно вызов оператора.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionOperator

public ExpressionOperator(Expression expression)
Method Detail

run

public void run()
         throws ParserException
Description copied from interface: Operator
Данный метод представляет собственно вызов оператора.

Specified by:
run in interface Operator
Throws:
ParserException

generate

public void generate(Execution execution)
Description copied from interface: Operator
Вставляет код оператора в схему исполнения.

Specified by:
generate in interface Operator