Sha256: 029e0966bfb542ff94f17cd3d855cf65c330c3211f9ed332d582380fd0503ca5

Contents?: true

Size: 596 Bytes

Versions: 14

Compression:

Stored size: 596 Bytes

Contents

module Expressir
  module Model
    module Statements
      class Alias < ModelElement
        include Scope
        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, [])
        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/statements/alias.rb
expressir-0.2.11-x86_64-linux lib/expressir/model/statements/alias.rb
expressir-0.2.11-x86_64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.11-x86-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.11-x86-linux lib/expressir/model/statements/alias.rb
expressir-0.2.11-x64-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.11-arm64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.10 lib/expressir/model/statements/alias.rb
expressir-0.2.10-x86_64-linux lib/expressir/model/statements/alias.rb
expressir-0.2.10-x86_64-darwin lib/expressir/model/statements/alias.rb
expressir-0.2.10-x86-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.10-x86-linux lib/expressir/model/statements/alias.rb
expressir-0.2.10-x64-mingw32 lib/expressir/model/statements/alias.rb
expressir-0.2.10-arm64-darwin lib/expressir/model/statements/alias.rb