Sha256: 2409f169468e8b166bfa6f7cea2a97e1a2e351a97911bd7e722d8e6b4280f987

Contents?: true

Size: 615 Bytes

Versions: 14

Compression:

Stored size: 615 Bytes

Contents

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

        attr_accessor :aggregate_source
        attr_accessor :expression

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

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

        def children
          items = []
          items.push(self)
          items
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
expressir-0.2.11 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.11-x86_64-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.11-x86_64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.11-x86-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.11-x86-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.11-x64-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.11-arm64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.10 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.10-x86_64-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.10-x86_64-darwin lib/expressir/model/expressions/query_expression.rb
expressir-0.2.10-x86-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.10-x86-linux lib/expressir/model/expressions/query_expression.rb
expressir-0.2.10-x64-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.10-arm64-darwin lib/expressir/model/expressions/query_expression.rb