Sha256: adf89749962ea01c7a230ec0ffd257c3107ef96137620866c9cb44903df3b913

Contents?: true

Size: 427 Bytes

Versions: 5

Compression:

Stored size: 427 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module Tapioca
  module Compilers
    class SymbolTableCompiler
      extend(T::Sig)

      sig do
        params(
          gem: Gemfile::GemSpec,
          indent: Integer
        ).returns(String)
      end
      def compile(
        gem,
        indent = 0
      )
        Tapioca::Compilers::SymbolTable::SymbolGenerator.new(gem, indent).generate
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tapioca-0.4.27 lib/tapioca/compilers/symbol_table_compiler.rb
tapioca-0.5.2 lib/tapioca/compilers/symbol_table_compiler.rb
tapioca-0.5.1 lib/tapioca/compilers/symbol_table_compiler.rb
tapioca-0.5.0 lib/tapioca/compilers/symbol_table_compiler.rb
tapioca-0.4.26 lib/tapioca/compilers/symbol_table_compiler.rb