예제 #1
0
 public Smells()
 {
     _selectStatementProcessor  = new SelectStatementProcessor(this);
     _insertProcessor           = new InsertProcessor(this);
     _executableEntityProcessor = new ExecutableEntityProcessor(this);
     _fromProcessor             = new FromProcessor(this);
     _whereProcessor            = new WhereProcessor(this);
     _orderByProcessor          = new OrderByProcessor(this);
     _whileProcessor            = new WhileProcessor(this);
     _predicateSetProcessor     = new PredicateSetProcessor(this);
     _setProcessor           = new SetProcessor(this);
     _functionProcessor      = new FunctionProcessor(this);
     _topProcessor           = new TopProcessor(this);
     _createTableProcessor   = new CreateTableProcessor(this);
     _selectSetProcessor     = new SelectSetProcessor(this);
     _sqlDataTypeProcessor   = new SqlDataTypeProcessor(this);
     _viewStatementProcessor = new ViewStatementProcessor(this);
     _setTransactionIsolationLevelProcessor = new SetTransactionIsolationLevelProcessor(this);
     _cursorProcessor                   = new CursorProcessor(this);
     _beginEndBlockProcessor            = new BeginEndBlockProcessor(this);
     _scalarFunctionReturnTypeProcessor = new ScalarFunctionReturnTypeProcessor();
     _selectFunctionReturnTypeProcessor = new SelectFunctionReturnTypeProcessor(this);
     _functionStatementBodyProcessor    = new FunctionStatementBodyProcessor(this);
     _procedureStatementBodyProcessor   = new ProcedureStatementBodyProcessor(this);
     _ifStatementProcessor              = new IfStatementProcessor(this);
     _declareVariableProcessor          = new DeclareVariableProcessor(this);
     _tableVariableProcessor            = new TableVariableProcessor(this);
     _returnStatementProcessor          = new ReturnStatementProcessor(this);
     _columnDefinitionProcessor         = new ColumnDefinitionProcessor(this);
 }
예제 #2
0
 public Smells()
 {
     _selectStatementProcessor = new SelectStatementProcessor(this);
     _insertProcessor = new InsertProcessor(this);
     _executableEntityProcessor = new ExecutableEntityProcessor(this);
     _fromProcessor = new FromProcessor(this);
     _whereProcessor = new WhereProcessor(this);
     _orderByProcessor = new OrderByProcessor(this);
     _whileProcessor = new WhileProcessor(this);
     _predicateSetProcessor = new PredicateSetProcessor(this);
     _setProcessor = new SetProcessor(this);
     _functionProcessor = new FunctionProcessor(this);
     _topProcessor = new TopProcessor(this);
     _createTableProcessor = new CreateTableProcessor(this);
     _selectSetProcessor = new SelectSetProcessor(this);
     _sqlDataTypeProcessor = new SqlDataTypeProcessor(this);
     _viewStatementProcessor = new ViewStatementProcessor(this);
     _setTransactionIsolationLevelProcessor = new SetTransactionIsolationLevelProcessor(this);
     _cursorProcessor = new CursorProcessor(this);
     _beginEndBlockProcessor = new BeginEndBlockProcessor(this);
     _scalarFunctionReturnTypeProcessor = new ScalarFunctionReturnTypeProcessor();
     _selectFunctionReturnTypeProcessor = new SelectFunctionReturnTypeProcessor(this);
     _functionStatementBodyProcessor = new FunctionStatementBodyProcessor(this);
     _procedureStatementBodyProcessor = new ProcedureStatementBodyProcessor(this);
     _ifStatementProcessor = new IfStatementProcessor(this);
     _declareVariableProcessor = new DeclareVariableProcessor(this);
     _tableVariableProcessor = new TableVariableProcessor(this);
     _returnStatementProcessor = new ReturnStatementProcessor(this);
     _columnDefinitionProcessor = new ColumnDefinitionProcessor(this);
 }