text: 'use strict';
  
  const { QueryBuilderContextBase } = require('./QueryBuilderContextBase');
  
  class QueryBuilderContext extends QueryBuilderContextBase {
    constructor(builder) {
      super(builder);
  
      this.runBefore = [];
      this.runAfter = [];
      this.onBuild = [];
    }
  
    clone() {
      const ctx = super.clone();
  
      ctx.runBefore = this.runBefore.slice();
      ctx.runAfter = this.runAfter.slice();
      ctx.onBuild = this.onBuild.slice();
  
      return ctx;
    }
  }
  
  module.exports = {
    QueryBuilderContext
  };
  