Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
gems /
3.0.0 /
gems /
rbs-1.0.4 /
lib /
rbs /
Delete
Unzip
Name
Size
Permission
Date
Action
ast
[ DIR ]
drwxr-xr-x
2026-07-06 06:50
definition_builder
[ DIR ]
drwxr-xr-x
2026-07-06 06:50
prototype
[ DIR ]
drwxr-xr-x
2026-07-06 06:50
test
[ DIR ]
drwxr-xr-x
2026-07-06 06:50
buffer.rb
890
B
-rw-r--r--
2021-07-07 19:08
builtin_names.rb
1.56
KB
-rw-r--r--
2021-07-07 19:08
cli.rb
21.91
KB
-rw-r--r--
2021-07-07 19:08
constant.rb
461
B
-rw-r--r--
2021-07-07 19:08
constant_table.rb
4.89
KB
-rw-r--r--
2021-07-07 19:08
definition.rb
9.17
KB
-rw-r--r--
2021-07-07 19:08
definition_builder.rb
29.39
KB
-rw-r--r--
2021-07-07 19:08
environment.rb
13.72
KB
-rw-r--r--
2021-07-07 19:08
environment_loader.rb
3.06
KB
-rw-r--r--
2021-07-07 19:08
environment_walker.rb
4.11
KB
-rw-r--r--
2021-07-07 19:08
errors.rb
8.66
KB
-rw-r--r--
2021-07-07 19:08
factory.rb
301
B
-rw-r--r--
2021-07-07 19:08
location.rb
2.31
KB
-rw-r--r--
2021-07-07 19:08
method_type.rb
2.15
KB
-rw-r--r--
2021-07-07 19:08
namespace.rb
2.12
KB
-rw-r--r--
2021-07-07 19:08
parser.rb
95.03
KB
-rw-r--r--
2021-07-07 19:08
parser.y
45.51
KB
-rw-r--r--
2021-07-07 19:08
repository.rb
2.64
KB
-rw-r--r--
2021-07-07 19:08
substitution.rb
1.23
KB
-rw-r--r--
2021-07-07 19:08
test.rb
2.57
KB
-rw-r--r--
2021-07-07 19:08
type_name.rb
1.61
KB
-rw-r--r--
2021-07-07 19:08
type_name_resolver.rb
1.56
KB
-rw-r--r--
2021-07-07 19:08
types.rb
25.19
KB
-rw-r--r--
2021-07-07 19:08
validator.rb
1.76
KB
-rw-r--r--
2021-07-07 19:08
variance_calculator.rb
3.89
KB
-rw-r--r--
2021-07-07 19:08
vendorer.rb
2.03
KB
-rw-r--r--
2021-07-07 19:08
version.rb
35
B
-rw-r--r--
2021-07-07 19:08
writer.rb
8.12
KB
-rw-r--r--
2021-07-07 19:08
Save
Rename
module RBS class Location attr_reader :buffer attr_reader :start_pos attr_reader :end_pos def initialize(buffer:, start_pos:, end_pos:) @buffer = buffer @start_pos = start_pos @end_pos = end_pos end def inspect "#<#{self.class}:#{self.__id__} @buffer=#{buffer.name}, @pos=#{start_pos}...#{end_pos}, source='#{source.lines.first}', start_line=#{start_line}, start_column=#{start_column}>" end def name buffer.name end def start_line start_loc[0] end def start_column start_loc[1] end def end_line end_loc[0] end def end_column end_loc[1] end def start_loc @start_loc ||= buffer.pos_to_loc(start_pos) end def end_loc @end_loc ||= buffer.pos_to_loc(end_pos) end def source @source ||= buffer.content[start_pos...end_pos] or raise end def to_s "#{name || "-"}:#{start_line}:#{start_column}...#{end_line}:#{end_column}" end def self.to_string(location, default: "*:*:*...*:*") location&.to_s || default end def ==(other) other.is_a?(Location) && other.buffer == buffer && other.start_pos == start_pos && other.end_pos == end_pos end def +(other) if other raise "Invalid concat: buffer=#{buffer.name}, other.buffer=#{other.buffer.name}" unless other.buffer == buffer self.class.new(buffer: buffer, start_pos: start_pos, end_pos: other.end_pos) else self end end def concat(*others) others.each { |other| self << other } self end def <<(other) if other raise "Invalid concat: buffer=#{buffer.name}, other.buffer=#{other.buffer.name}" unless other.buffer == buffer @end_pos = other.end_pos @source = nil @end_loc = nil end self end def pred?(loc) loc.is_a?(Location) && loc.name == name && loc.start_pos == end_pos end def to_json(*args) { start: { line: start_line, column: start_column }, end: { line: end_line, column: end_column }, buffer: { name: name&.to_s } }.to_json(*args) end end end