class Prism::Relocation::Entry
An entry in a repository that will lazily reify its values when they are first accessed.
An entry in a repository that will lazily reify its values when they are first accessed.
Public Class Methods
(Repository repository) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 57 def initialize(repository) @repository = repository @values = nil end
Initialize a new entry with the given repository.
Initialize a new entry with the given repository.
: (Repository repository) -> void
Public Instance Methods
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 151 def end_character_column fetch_value(:end_character_column) end
Fetch the end character column of the value.
Fetch the end character column of the value.
: () -> Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 107 def end_character_offset fetch_value(:end_character_offset) end
Fetch the end character offset of the value.
Fetch the end character offset of the value.
: () -> Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 167 def end_code_units_column fetch_value(:end_code_units_column) end
Fetch the end code units column of the value, for the encoding that was configured on the repository.
Fetch the end code units column of the value, for the encoding that was configured on the repository.
: () -> Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 123 def end_code_units_offset fetch_value(:end_code_units_offset) end
Fetch the end code units offset of the value, for the encoding that was configured on the repository.
Fetch the end code units offset of the value, for the encoding that was configured on the repository.
: () -> Integer
() → Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 137 def end_column fetch_value(:end_column) end
() → Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 79 def end_line fetch_value(:end_line) end
() → Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 93 def end_offset fetch_value(:end_offset) end
() → String
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 65 def filepath fetch_value(:filepath) end
(entry_values values) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/sig/generated/prism/relocation.rbs, line 154
def reify!: (entry_values values) -> void
Reify the values on this entry with the given values. This is an internal-only API that is called from the repository when it is time to reify the values.
: (entry_values values) -> void
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 144 def start_character_column fetch_value(:start_character_column) end
Fetch the start character column of the value.
Fetch the start character column of the value.
: () -> Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 100 def start_character_offset fetch_value(:start_character_offset) end
Fetch the start character offset of the value.
Fetch the start character offset of the value.
: () -> Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 159 def start_code_units_column fetch_value(:start_code_units_column) end
Fetch the start code units column of the value, for the encoding that was configured on the repository.
Fetch the start code units column of the value, for the encoding that was configured on the repository.
: () -> Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 115 def start_code_units_offset fetch_value(:start_code_units_offset) end
Fetch the start code units offset of the value, for the encoding that was configured on the repository.
Fetch the start code units offset of the value, for the encoding that was configured on the repository.
: () -> Integer
() → Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 130 def start_column fetch_value(:start_column) end
() → Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 72 def start_line fetch_value(:start_line) end
() → Integer
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/relocation.rb, line 86 def start_offset fetch_value(:start_offset) end