Sha256: 2bf5fb2dc07a9a32dcc1ce8956d6659e4fc1867cbd9438448dde1fb5018f8feb
Contents?: true
Size: 1.32 KB
Versions: 4
Compression:
Stored size: 1.32 KB
Contents
module Svelte module Errors class CompilerError # TODO: ActiveSupport::SyntaxErrorProxy is untyped, so this is an incomplete type definition attr_accessor location: { file: String, line: Integer, lineText: String, suggestion: String } attr_accessor suggestion: String attr_accessor template: ActionView::Template attr_accessor message: String def initialize: (String, ActionView::Template) -> self def backtrace: -> Array[String] def cause: -> nil def binding: -> Array[Binding] def backtrace_locations: -> Array[untyped] def annotated_source_code: -> Array[String] end class TemplateError SOURCE_CODE_RADIUS: Integer attr_reader template: ActionView::Template attr_reader cause: Svelte::Errors::CompilerError def initialize: (ActionView::Template, Errors::CompilerError) -> self def message: -> String def annotated_source_code: -> Array[String] # ActionView::Template::Error stuff here def file_name: -> String def line_number: -> String? def source_extract: (Integer?) -> Array[String] def backtrace: -> Array[String] private def formatted_code_for: (Array[String], Integer?, Integer) -> Array[String] def source_location: -> String end end end
Version data entries
4 entries across 4 versions & 1 rubygems