Sha256: 93b3166edd1a9da34221de12333c3d750a75855ba141166ded735a6d47ede145

Contents?: true

Size: 1.19 KB

Versions: 20

Compression:

Stored size: 1.19 KB

Contents

module RBS
  class CLI
    class Validate
      class Errors
        @limit: Integer?
        @exit_error: boolish
        @has_syntax_error: bool
        @errors: Array[BaseError]

        def initialize: (limit: Integer?, exit_error: boolish) -> void

        def add: (BaseError) -> void

        def finish: () -> void

        private

        def build_message: (BaseError) -> String
      end

      @env: Environment
      @builder: RBS::DefinitionBuilder
      @validator: RBS::Validator
      @errors: Errors

      def initialize: (args: Array[String], options: LibraryOptions) -> void

      def run: () -> void

      private

      def validate_class_module_definition: () -> void
      def validate_class_module_alias_definition: () -> void
      def validate_interface: () -> void
      def validate_constant: () -> void
      def validate_global: () -> void
      def validate_type_alias: () -> void
      def no_self_type_validator: (::RBS::Types::t | ::RBS::MethodType type) -> void
      def no_classish_type_validator: (::RBS::Types::t | ::RBS::MethodType type) -> void
      def void_type_context_validator: (::RBS::Types::t | ::RBS::MethodType type, ?bool allowed_here) -> void
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rbs-3.7.0.dev.1 sig/cli/validate.rbs
rbs-3.6.1 sig/cli/validate.rbs
rbs-3.6.0 sig/cli/validate.rbs
rbs-3.6.0.pre.3 sig/cli/validate.rbs
rbs-3.6.0.pre.2 sig/cli/validate.rbs
rbs-3.6.0.pre.1 sig/cli/validate.rbs
rbs-3.6.0.dev.1 sig/cli/validate.rbs
rbs-3.5.3 sig/cli/validate.rbs
rbs-3.5.2 sig/cli/validate.rbs
rbs-3.5.1 sig/cli/validate.rbs
rbs-3.5.1.pre.1 sig/cli/validate.rbs
rbs-3.5.0 sig/cli/validate.rbs
rbs-3.5.0.pre.2 sig/cli/validate.rbs
rbs-3.5.0.pre.1 sig/cli/validate.rbs
rbs-3.4.4 sig/cli/validate.rbs
rbs-3.4.3 sig/cli/validate.rbs
rbs-3.4.2 sig/cli/validate.rbs
rbs-3.4.1 sig/cli/validate.rbs
rbs-3.4.0 sig/cli/validate.rbs
rbs-3.4.0.pre.1 sig/cli/validate.rbs