Sha256: 128550fb95ff21c522483b7ee625cad0ac1fd784954299ead1d771bfd662906c

Contents?: true

Size: 893 Bytes

Versions: 171

Compression:

Stored size: 893 Bytes

Contents

module Expressir
  module Model
    module Expressions
      # Specified in ISO 10303-11:2004
      # - section 12.6.7 Query expression
      class QueryExpression < Expression
        include Identifier

        model_attr_accessor :aggregate_source, 'Reference'
        model_attr_accessor :expression, 'Expression'

        # @param [Hash] options
        # @option (see Identifier#initialize_identifier)
        # @option options [Reference] :aggregace_source
        # @option options [Expression] :expression
        def initialize(options = {})
          initialize_identifier(options)

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

          super
        end

        # @return [Array<Declaration>]
        def children
          [
            self,
            *remark_items
          ]
        end
      end
    end
  end
end

Version data entries

171 entries across 171 versions & 1 rubygems

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