Sha256: 8c3343a426d8ab58f00d13771189a0bc1e52e567c0a91086c18f7797e7b05b11

Contents?: true

Size: 685 Bytes

Versions: 21

Compression:

Stored size: 685 Bytes

Contents

module Expressir
  module Model
    module Expressions
      class QueryExpression < ModelElement
        include Identifier

        model_attr_accessor :aggregate_source
        model_attr_accessor :expression

        def initialize(options = {})
          @id = options[:id]
          @remarks = options.fetch(:remarks, [])
          @remark_items = options.fetch(:remark_items, [])
          @source = options[:source]

          @aggregate_source = options[:aggregate_source]
          @expression = options[:expression]

          super
        end

        def children
          [
            self,
            *remark_items
          ]
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
expressir-0.2.26 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.26-x86_64-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.26-x86_64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.26-x86-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.26-x86-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.26-x64-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.26-arm64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.25 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.25-x86_64-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.25-x86_64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.25-x86-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.25-x86-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.25-x64-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.25-arm64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.24 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.24-x86_64-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.24-x86_64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.24-x86-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.24-x86-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.24-x64-mingw32 lib/expressir/model/expressions/query_expression.rb