Sha256: c9d5bfe4d5af94c5dd10850465e86937e929ef557e3d1814a6a41458488ef866

Contents?: true

Size: 591 Bytes

Versions: 35

Compression:

Stored size: 591 Bytes

Contents

module Expressir
  module Model
    module Statements
      class Alias < ModelElement
        include Identifier

        attr_accessor :expression
        attr_accessor :statements

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

          @expression = options[:expression]
          @statements = options.fetch(:statements, [])

          super
        end

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

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
expressir-0.2.14-arm64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.13 lib/expressir/model/statements/alias.rb
expressir-0.2.13-x86_64-linux lib/expressir/model/statements/alias.rb
expressir-0.2.13-x86_64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.13-x86-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.13-x86-linux lib/expressir/model/statements/alias.rb
expressir-0.2.13-x64-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.13-arm64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.12 lib/expressir/model/statements/alias.rb
expressir-0.2.12-x86_64-linux lib/expressir/model/statements/alias.rb
expressir-0.2.12-x86_64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.12-x86-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.12-x86-linux lib/expressir/model/statements/alias.rb
expressir-0.2.12-x64-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.12-arm64-darwin lib/expressir/model/statements/alias.rb