Sha256: c9ae4eb898532a596553e8686324334fd04b91bbbfbea654c82afb0c29b983fd

Contents?: true

Size: 568 Bytes

Versions: 28

Compression:

Stored size: 568 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
          [
            self
          ]
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
expressir-0.2.21 lib/expressir/model/statements/alias.rb
expressir-0.2.21-x86_64-linux lib/expressir/model/statements/alias.rb
expressir-0.2.21-x86_64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.21-x86-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.21-x86-linux lib/expressir/model/statements/alias.rb
expressir-0.2.21-x64-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.21-arm64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.19 lib/expressir/model/statements/alias.rb
expressir-0.2.19-x86_64-linux lib/expressir/model/statements/alias.rb
expressir-0.2.19-x86_64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.19-x86-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.19-x86-linux lib/expressir/model/statements/alias.rb
expressir-0.2.19-x64-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.19-arm64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.18 lib/expressir/model/statements/alias.rb
expressir-0.2.18-x86_64-linux lib/expressir/model/statements/alias.rb
expressir-0.2.18-x86_64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.18-x86-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.18-x86-linux lib/expressir/model/statements/alias.rb
expressir-0.2.18-x64-mingw32 lib/expressir/model/statements/alias.rb