Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
2.3.0 /
rdoc /
Delete
Unzip
Name
Size
Permission
Date
Action
context
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
generator
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
i18n
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
markdown
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
markup
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
parser
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
rd
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
ri
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
stats
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
alias.rb
2.12
KB
-rw-r--r--
2016-11-21 08:58
anon_class.rb
173
B
-rw-r--r--
2016-11-21 08:58
any_method.rb
7.07
KB
-rw-r--r--
2016-11-21 08:58
attr.rb
3.76
KB
-rw-r--r--
2016-11-21 08:58
class_module.rb
19.76
KB
-rw-r--r--
2016-11-21 08:58
code_object.rb
9.41
KB
-rw-r--r--
2016-11-21 08:58
code_objects.rb
152
B
-rw-r--r--
2016-11-21 08:58
comment.rb
5.32
KB
-rw-r--r--
2016-11-21 08:58
constant.rb
3.58
KB
-rw-r--r--
2016-11-21 08:58
context.rb
28.79
KB
-rw-r--r--
2016-11-21 08:58
cross_reference.rb
5.85
KB
-rw-r--r--
2016-11-21 08:58
encoding.rb
2.86
KB
-rw-r--r--
2016-11-21 08:58
erb_partial.rb
401
B
-rw-r--r--
2016-11-21 08:58
erbio.rb
825
B
-rw-r--r--
2016-11-21 08:58
extend.rb
171
B
-rw-r--r--
2016-11-21 08:58
generator.rb
1.8
KB
-rw-r--r--
2016-11-21 08:58
ghost_method.rb
145
B
-rw-r--r--
2016-11-21 08:58
i18n.rb
182
B
-rw-r--r--
2016-11-21 08:58
include.rb
173
B
-rw-r--r--
2016-11-21 08:58
known_classes.rb
2.62
KB
-rw-r--r--
2016-11-21 08:58
markdown.rb
373.78
KB
-rw-r--r--
2016-11-21 08:58
markup.rb
28.27
KB
-rw-r--r--
2016-11-21 08:58
meta_method.rb
130
B
-rw-r--r--
2016-11-21 08:58
method_attr.rb
9.04
KB
-rw-r--r--
2016-11-21 08:58
mixin.rb
2.75
KB
-rw-r--r--
2016-11-21 08:58
normal_class.rb
2.13
KB
-rw-r--r--
2016-11-21 08:58
normal_module.rb
1.43
KB
-rw-r--r--
2016-11-21 08:58
options.rb
30.92
KB
-rw-r--r--
2016-11-21 08:58
parser.rb
8.09
KB
-rw-r--r--
2016-11-21 08:58
rd.rb
3.57
KB
-rw-r--r--
2016-11-21 08:58
rdoc.rb
13.64
KB
-rw-r--r--
2021-12-06 00:55
require.rb
966
B
-rw-r--r--
2016-11-21 08:58
ri.rb
346
B
-rw-r--r--
2016-11-21 08:58
ruby_lex.rb
27.75
KB
-rw-r--r--
2016-11-21 08:58
ruby_token.rb
11.35
KB
-rw-r--r--
2016-11-21 08:58
rubygems_hook.rb
5.29
KB
-rw-r--r--
2016-11-21 08:58
servlet.rb
11.88
KB
-rw-r--r--
2016-11-21 08:58
single_class.rb
409
B
-rw-r--r--
2016-11-21 08:58
stats.rb
10.48
KB
-rw-r--r--
2016-11-21 08:58
store.rb
22.4
KB
-rw-r--r--
2016-11-21 08:58
task.rb
7.69
KB
-rw-r--r--
2016-11-21 08:58
test_case.rb
4.19
KB
-rw-r--r--
2016-11-21 08:58
text.rb
7.89
KB
-rw-r--r--
2016-11-21 08:58
token_stream.rb
2.5
KB
-rw-r--r--
2016-11-21 08:58
tom_doc.rb
6.29
KB
-rw-r--r--
2016-11-21 08:58
top_level.rb
5.44
KB
-rw-r--r--
2016-11-21 08:58
Save
Rename
# frozen_string_literal: false ## # A TokenStream is a list of tokens, gathered during the parse of some entity # (say a method). Entities populate these streams by being registered with the # lexer. Any class can collect tokens by including TokenStream. From the # outside, you use such an object by calling the start_collecting_tokens # method, followed by calls to add_token and pop_token. module RDoc::TokenStream ## # Converts +token_stream+ to HTML wrapping various tokens with # <tt><span></tt> elements. The following tokens types are wrapped in spans # with the given class names: # # TkCONSTANT :: 'ruby-constant' # TkKW :: 'ruby-keyword' # TkIVAR :: 'ruby-ivar' # TkOp :: 'ruby-operator' # TkId :: 'ruby-identifier' # TkNode :: 'ruby-node' # TkCOMMENT :: 'ruby-comment' # TkREGEXP :: 'ruby-regexp' # TkSTRING :: 'ruby-string' # TkVal :: 'ruby-value' # # Other token types are not wrapped in spans. def self.to_html token_stream token_stream.map do |t| next unless t style = case t when RDoc::RubyToken::TkCONSTANT then 'ruby-constant' when RDoc::RubyToken::TkKW then 'ruby-keyword' when RDoc::RubyToken::TkIVAR then 'ruby-ivar' when RDoc::RubyToken::TkOp then 'ruby-operator' when RDoc::RubyToken::TkId then 'ruby-identifier' when RDoc::RubyToken::TkNode then 'ruby-node' when RDoc::RubyToken::TkCOMMENT then 'ruby-comment' when RDoc::RubyToken::TkREGEXP then 'ruby-regexp' when RDoc::RubyToken::TkSTRING then 'ruby-string' when RDoc::RubyToken::TkVal then 'ruby-value' end text = CGI.escapeHTML t.text if style then "<span class=\"#{style}\">#{text}</span>" else text end end.join end ## # Adds +tokens+ to the collected tokens def add_tokens(*tokens) tokens.flatten.each { |token| @token_stream << token } end alias add_token add_tokens ## # Starts collecting tokens def collect_tokens @token_stream = [] end alias start_collecting_tokens collect_tokens ## # Remove the last token from the collected tokens def pop_token @token_stream.pop end ## # Current token stream def token_stream @token_stream end ## # Returns a string representation of the token stream def tokens_to_s token_stream.compact.map { |token| token.text }.join '' end end