frontman-ssg 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +13 -2
- data/Rakefile +5 -2
- data/frontman-ssg.gemspec +1 -0
- data/lib/frontman.rb +0 -5
- data/lib/frontman/app.rb +1 -3
- data/lib/frontman/builder/file.rb +1 -3
- data/lib/frontman/commands/init.rb +2 -3
- data/lib/frontman/commands/serve.rb +29 -28
- data/lib/frontman/concerns/forward_calls_to_app.rb +1 -1
- data/lib/frontman/context.rb +68 -57
- data/lib/frontman/data_store.rb +1 -3
- data/lib/frontman/iterator.rb +1 -3
- data/lib/frontman/renderers/erb_renderer.rb +19 -1
- data/lib/frontman/renderers/haml_renderer.rb +29 -1
- data/lib/frontman/renderers/renderer_resolver.rb +18 -5
- data/lib/frontman/renderers/slim_renderer.rb +30 -0
- data/lib/frontman/resource.rb +9 -13
- data/lib/frontman/sitemap_tree.rb +1 -3
- data/lib/frontman/version.rb +1 -1
- data/project-templates/webpack/helpers/assets_helper.rb +1 -3
- data/sorbet/rbi/gems/ast.rbi +48 -0
- data/sorbet/rbi/gems/better_errors.rbi +180 -0
- data/sorbet/rbi/gems/binding_of_caller.rbi +23 -0
- data/sorbet/rbi/gems/coderay.rbi +24 -0
- data/sorbet/rbi/gems/debug_inspector.rbi +19 -0
- data/sorbet/rbi/gems/docile.rbi +32 -0
- data/sorbet/rbi/gems/dotenv.rbi +68 -0
- data/sorbet/rbi/gems/erubi.rbi +27 -0
- data/sorbet/rbi/gems/erubis.rbi +280 -0
- data/sorbet/rbi/gems/haml.rbi +521 -0
- data/sorbet/rbi/gems/htmlentities.rbi +46 -0
- data/sorbet/rbi/gems/jaro_winkler.rbi +15 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm.rbi +29 -0
- data/sorbet/rbi/gems/kramdown.rbi +338 -0
- data/sorbet/rbi/gems/listen.rbi +301 -0
- data/sorbet/rbi/gems/mustermann.rbi +481 -0
- data/sorbet/rbi/gems/nokogiri.rbi +1011 -0
- data/sorbet/rbi/gems/parallel.rbi +82 -0
- data/sorbet/rbi/gems/parser.rbi +1405 -0
- data/sorbet/rbi/gems/rack-protection.rbi +16 -0
- data/sorbet/rbi/gems/rack.rbi +507 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rake.rbi +641 -0
- data/sorbet/rbi/gems/rexml.rbi +93 -0
- data/sorbet/rbi/gems/rouge.rbi +1551 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1893 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1125 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-performance.rbi +274 -0
- data/sorbet/rbi/gems/rubocop.rbi +7403 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
- data/sorbet/rbi/gems/ruby2_keywords.rbi +17 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +405 -0
- data/sorbet/rbi/gems/sinatra.rbi +488 -0
- data/sorbet/rbi/gems/slim.rbi +144 -0
- data/sorbet/rbi/gems/temple.rbi +281 -0
- data/sorbet/rbi/gems/thor.rbi +522 -0
- data/sorbet/rbi/gems/tilt.rbi +82 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/gems/yaml-front-matter.rbi +16 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +2859 -24228
- data/sorbet/rbi/hidden-definitions/hidden.rbi +7111 -40830
- data/sorbet/rbi/sorbet-typed/lib/nokogiri/1.10.10/nokogiri.rbi +1615 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/todo.rbi +6 -0
- data/spec/frontman/bootstrapper_spec.rb +1 -1
- data/spec/frontman/context_spec.rb +45 -6
- data/spec/frontman/mocks/context.haml +18 -0
- data/spec/frontman/renderers/slim_renderer_spec.rb +12 -0
- metadata +66 -4
@@ -0,0 +1,93 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rexml/all/rexml.rbi
|
9
|
+
#
|
10
|
+
# rexml-3.2.4
|
11
|
+
|
12
|
+
module REXML
|
13
|
+
end
|
14
|
+
class REXML::ParseException < RuntimeError
|
15
|
+
def context; end
|
16
|
+
def continued_exception; end
|
17
|
+
def continued_exception=(arg0); end
|
18
|
+
def initialize(message, source = nil, parser = nil, exception = nil); end
|
19
|
+
def line; end
|
20
|
+
def parser; end
|
21
|
+
def parser=(arg0); end
|
22
|
+
def position; end
|
23
|
+
def source; end
|
24
|
+
def source=(arg0); end
|
25
|
+
def to_s; end
|
26
|
+
end
|
27
|
+
class REXML::UndefinedNamespaceException < REXML::ParseException
|
28
|
+
def initialize(prefix, source, parser); end
|
29
|
+
end
|
30
|
+
module REXML::Encoding
|
31
|
+
def decode(string); end
|
32
|
+
def encode(string); end
|
33
|
+
def encoding; end
|
34
|
+
def encoding=(encoding); end
|
35
|
+
def find_encoding(name); end
|
36
|
+
end
|
37
|
+
class REXML::SourceFactory
|
38
|
+
def self.create_from(arg); end
|
39
|
+
end
|
40
|
+
class REXML::Source
|
41
|
+
def buffer; end
|
42
|
+
def consume(pattern); end
|
43
|
+
def current_line; end
|
44
|
+
def detect_encoding; end
|
45
|
+
def empty?; end
|
46
|
+
def encoding; end
|
47
|
+
def encoding=(enc); end
|
48
|
+
def encoding_updated; end
|
49
|
+
def initialize(arg, encoding = nil); end
|
50
|
+
def line; end
|
51
|
+
def match(pattern, cons = nil); end
|
52
|
+
def match_to(char, pattern); end
|
53
|
+
def match_to_consume(char, pattern); end
|
54
|
+
def position; end
|
55
|
+
def read; end
|
56
|
+
def scan(pattern, cons = nil); end
|
57
|
+
include REXML::Encoding
|
58
|
+
end
|
59
|
+
class REXML::IOSource < REXML::Source
|
60
|
+
def consume(pattern); end
|
61
|
+
def current_line; end
|
62
|
+
def empty?; end
|
63
|
+
def encoding_updated; end
|
64
|
+
def initialize(arg, block_size = nil, encoding = nil); end
|
65
|
+
def match(pattern, cons = nil); end
|
66
|
+
def position; end
|
67
|
+
def read; end
|
68
|
+
def readline; end
|
69
|
+
def scan(pattern, cons = nil); end
|
70
|
+
end
|
71
|
+
module REXML::Parsers
|
72
|
+
end
|
73
|
+
class REXML::Parsers::BaseParser
|
74
|
+
def add_listener(listener); end
|
75
|
+
def empty?; end
|
76
|
+
def entity(reference, entities); end
|
77
|
+
def has_next?; end
|
78
|
+
def initialize(source); end
|
79
|
+
def need_source_encoding_update?(xml_declaration_encoding); end
|
80
|
+
def normalize(input, entities = nil, entity_filter = nil); end
|
81
|
+
def parse_attributes(prefixes, curr_ns); end
|
82
|
+
def peek(depth = nil); end
|
83
|
+
def position; end
|
84
|
+
def process_instruction; end
|
85
|
+
def pull; end
|
86
|
+
def pull_event; end
|
87
|
+
def source; end
|
88
|
+
def stream=(source); end
|
89
|
+
def unnormalize(string, entities = nil, filter = nil); end
|
90
|
+
def unshift(token); end
|
91
|
+
end
|
92
|
+
module REXML::XMLTokens
|
93
|
+
end
|
@@ -0,0 +1,1551 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rouge/all/rouge.rbi
|
9
|
+
#
|
10
|
+
# rouge-3.26.0
|
11
|
+
|
12
|
+
module Rouge
|
13
|
+
def self.highlight(text, lexer, formatter, &b); end
|
14
|
+
def self.load_file(path); end
|
15
|
+
def self.load_lexers; end
|
16
|
+
def self.reload!; end
|
17
|
+
def self.version; end
|
18
|
+
end
|
19
|
+
class Rouge::InheritableHash < Hash
|
20
|
+
def [](k); end
|
21
|
+
def each(&b); end
|
22
|
+
def include?(k); end
|
23
|
+
def initialize(parent = nil); end
|
24
|
+
def keys; end
|
25
|
+
def own_keys; end
|
26
|
+
def parent; end
|
27
|
+
end
|
28
|
+
class Rouge::InheritableList
|
29
|
+
def <<(o); end
|
30
|
+
def each(&b); end
|
31
|
+
def initialize(parent = nil); end
|
32
|
+
def own_entries; end
|
33
|
+
def parent; end
|
34
|
+
def push(o); end
|
35
|
+
include Enumerable
|
36
|
+
end
|
37
|
+
module Rouge::Indentation
|
38
|
+
def indentation(indent_str); end
|
39
|
+
def reset!; end
|
40
|
+
def starts_block(block_state); end
|
41
|
+
end
|
42
|
+
class Rouge::TextAnalyzer < String
|
43
|
+
def doctype; end
|
44
|
+
def doctype?(type = nil); end
|
45
|
+
def lexes_cleanly?(lexer); end
|
46
|
+
def shebang; end
|
47
|
+
def shebang?(match); end
|
48
|
+
end
|
49
|
+
class Rouge::Token
|
50
|
+
def self.[](qualname); end
|
51
|
+
def self.cache; end
|
52
|
+
def self.each_token(&b); end
|
53
|
+
def self.inspect; end
|
54
|
+
def self.make_token(name, shortname, &b); end
|
55
|
+
def self.matches?(other); end
|
56
|
+
def self.name; end
|
57
|
+
def self.parent; end
|
58
|
+
def self.qualname; end
|
59
|
+
def self.register!; end
|
60
|
+
def self.shortname; end
|
61
|
+
def self.sub_tokens; end
|
62
|
+
def self.token(name, shortname, &b); end
|
63
|
+
def self.token_chain; end
|
64
|
+
end
|
65
|
+
module Rouge::Token::Tokens
|
66
|
+
def self.token(name, shortname, &b); end
|
67
|
+
end
|
68
|
+
class Rouge::Token::Tokens::Text::Whitespace < Rouge::Token::Tokens::Text
|
69
|
+
end
|
70
|
+
class Rouge::Token::Tokens::Text < Rouge::Token
|
71
|
+
end
|
72
|
+
class Rouge::Token::Tokens::Escape < Rouge::Token
|
73
|
+
end
|
74
|
+
class Rouge::Token::Tokens::Error < Rouge::Token
|
75
|
+
end
|
76
|
+
class Rouge::Token::Tokens::Other < Rouge::Token
|
77
|
+
end
|
78
|
+
class Rouge::Token::Tokens::Keyword::Constant < Rouge::Token::Tokens::Keyword
|
79
|
+
end
|
80
|
+
class Rouge::Token::Tokens::Keyword::Declaration < Rouge::Token::Tokens::Keyword
|
81
|
+
end
|
82
|
+
class Rouge::Token::Tokens::Keyword::Namespace < Rouge::Token::Tokens::Keyword
|
83
|
+
end
|
84
|
+
class Rouge::Token::Tokens::Keyword::Pseudo < Rouge::Token::Tokens::Keyword
|
85
|
+
end
|
86
|
+
class Rouge::Token::Tokens::Keyword::Reserved < Rouge::Token::Tokens::Keyword
|
87
|
+
end
|
88
|
+
class Rouge::Token::Tokens::Keyword::Type < Rouge::Token::Tokens::Keyword
|
89
|
+
end
|
90
|
+
class Rouge::Token::Tokens::Keyword::Variable < Rouge::Token::Tokens::Keyword
|
91
|
+
end
|
92
|
+
class Rouge::Token::Tokens::Keyword < Rouge::Token
|
93
|
+
end
|
94
|
+
class Rouge::Token::Tokens::Name::Attribute < Rouge::Token::Tokens::Name
|
95
|
+
end
|
96
|
+
class Rouge::Token::Tokens::Name::Builtin::Pseudo < Rouge::Token::Tokens::Name::Builtin
|
97
|
+
end
|
98
|
+
class Rouge::Token::Tokens::Name::Builtin < Rouge::Token::Tokens::Name
|
99
|
+
end
|
100
|
+
class Rouge::Token::Tokens::Name::Class < Rouge::Token::Tokens::Name
|
101
|
+
end
|
102
|
+
class Rouge::Token::Tokens::Name::Constant < Rouge::Token::Tokens::Name
|
103
|
+
end
|
104
|
+
class Rouge::Token::Tokens::Name::Decorator < Rouge::Token::Tokens::Name
|
105
|
+
end
|
106
|
+
class Rouge::Token::Tokens::Name::Entity < Rouge::Token::Tokens::Name
|
107
|
+
end
|
108
|
+
class Rouge::Token::Tokens::Name::Exception < Rouge::Token::Tokens::Name
|
109
|
+
end
|
110
|
+
class Rouge::Token::Tokens::Name::Function::Magic < Rouge::Token::Tokens::Name::Function
|
111
|
+
end
|
112
|
+
class Rouge::Token::Tokens::Name::Function < Rouge::Token::Tokens::Name
|
113
|
+
end
|
114
|
+
class Rouge::Token::Tokens::Name::Property < Rouge::Token::Tokens::Name
|
115
|
+
end
|
116
|
+
class Rouge::Token::Tokens::Name::Label < Rouge::Token::Tokens::Name
|
117
|
+
end
|
118
|
+
class Rouge::Token::Tokens::Name::Namespace < Rouge::Token::Tokens::Name
|
119
|
+
end
|
120
|
+
class Rouge::Token::Tokens::Name::Other < Rouge::Token::Tokens::Name
|
121
|
+
end
|
122
|
+
class Rouge::Token::Tokens::Name::Tag < Rouge::Token::Tokens::Name
|
123
|
+
end
|
124
|
+
class Rouge::Token::Tokens::Name::Variable::Class < Rouge::Token::Tokens::Name::Variable
|
125
|
+
end
|
126
|
+
class Rouge::Token::Tokens::Name::Variable::Global < Rouge::Token::Tokens::Name::Variable
|
127
|
+
end
|
128
|
+
class Rouge::Token::Tokens::Name::Variable::Instance < Rouge::Token::Tokens::Name::Variable
|
129
|
+
end
|
130
|
+
class Rouge::Token::Tokens::Name::Variable::Magic < Rouge::Token::Tokens::Name::Variable
|
131
|
+
end
|
132
|
+
class Rouge::Token::Tokens::Name::Variable < Rouge::Token::Tokens::Name
|
133
|
+
end
|
134
|
+
class Rouge::Token::Tokens::Name < Rouge::Token
|
135
|
+
end
|
136
|
+
class Rouge::Token::Tokens::Literal::Date < Rouge::Token::Tokens::Literal
|
137
|
+
end
|
138
|
+
class Rouge::Token::Tokens::Str::Affix < Rouge::Token::Tokens::Str
|
139
|
+
end
|
140
|
+
class Rouge::Token::Tokens::Str::Backtick < Rouge::Token::Tokens::Str
|
141
|
+
end
|
142
|
+
class Rouge::Token::Tokens::Str::Char < Rouge::Token::Tokens::Str
|
143
|
+
end
|
144
|
+
class Rouge::Token::Tokens::Str::Delimiter < Rouge::Token::Tokens::Str
|
145
|
+
end
|
146
|
+
class Rouge::Token::Tokens::Str::Doc < Rouge::Token::Tokens::Str
|
147
|
+
end
|
148
|
+
class Rouge::Token::Tokens::Str::Double < Rouge::Token::Tokens::Str
|
149
|
+
end
|
150
|
+
class Rouge::Token::Tokens::Str::Escape < Rouge::Token::Tokens::Str
|
151
|
+
end
|
152
|
+
class Rouge::Token::Tokens::Str::Heredoc < Rouge::Token::Tokens::Str
|
153
|
+
end
|
154
|
+
class Rouge::Token::Tokens::Str::Interpol < Rouge::Token::Tokens::Str
|
155
|
+
end
|
156
|
+
class Rouge::Token::Tokens::Str::Other < Rouge::Token::Tokens::Str
|
157
|
+
end
|
158
|
+
class Rouge::Token::Tokens::Str::Regex < Rouge::Token::Tokens::Str
|
159
|
+
end
|
160
|
+
class Rouge::Token::Tokens::Str::Single < Rouge::Token::Tokens::Str
|
161
|
+
end
|
162
|
+
class Rouge::Token::Tokens::Str::Symbol < Rouge::Token::Tokens::Str
|
163
|
+
end
|
164
|
+
class Rouge::Token::Tokens::Str < Rouge::Token::Tokens::Literal
|
165
|
+
end
|
166
|
+
class Rouge::Token::Tokens::Num::Bin < Rouge::Token::Tokens::Num
|
167
|
+
end
|
168
|
+
class Rouge::Token::Tokens::Num::Float < Rouge::Token::Tokens::Num
|
169
|
+
end
|
170
|
+
class Rouge::Token::Tokens::Num::Hex < Rouge::Token::Tokens::Num
|
171
|
+
end
|
172
|
+
class Rouge::Token::Tokens::Num::Integer::Long < Rouge::Token::Tokens::Num::Integer
|
173
|
+
end
|
174
|
+
class Rouge::Token::Tokens::Num::Integer < Rouge::Token::Tokens::Num
|
175
|
+
end
|
176
|
+
class Rouge::Token::Tokens::Num::Oct < Rouge::Token::Tokens::Num
|
177
|
+
end
|
178
|
+
class Rouge::Token::Tokens::Num::Other < Rouge::Token::Tokens::Num
|
179
|
+
end
|
180
|
+
class Rouge::Token::Tokens::Num < Rouge::Token::Tokens::Literal
|
181
|
+
end
|
182
|
+
class Rouge::Token::Tokens::Literal < Rouge::Token
|
183
|
+
end
|
184
|
+
class Rouge::Token::Tokens::Operator::Word < Rouge::Token::Tokens::Operator
|
185
|
+
end
|
186
|
+
class Rouge::Token::Tokens::Operator < Rouge::Token
|
187
|
+
end
|
188
|
+
class Rouge::Token::Tokens::Punctuation::Indicator < Rouge::Token::Tokens::Punctuation
|
189
|
+
end
|
190
|
+
class Rouge::Token::Tokens::Punctuation < Rouge::Token
|
191
|
+
end
|
192
|
+
class Rouge::Token::Tokens::Comment::Hashbang < Rouge::Token::Tokens::Comment
|
193
|
+
end
|
194
|
+
class Rouge::Token::Tokens::Comment::Doc < Rouge::Token::Tokens::Comment
|
195
|
+
end
|
196
|
+
class Rouge::Token::Tokens::Comment::Multiline < Rouge::Token::Tokens::Comment
|
197
|
+
end
|
198
|
+
class Rouge::Token::Tokens::Comment::Preproc < Rouge::Token::Tokens::Comment
|
199
|
+
end
|
200
|
+
class Rouge::Token::Tokens::Comment::PreprocFile < Rouge::Token::Tokens::Comment
|
201
|
+
end
|
202
|
+
class Rouge::Token::Tokens::Comment::Single < Rouge::Token::Tokens::Comment
|
203
|
+
end
|
204
|
+
class Rouge::Token::Tokens::Comment::Special < Rouge::Token::Tokens::Comment
|
205
|
+
end
|
206
|
+
class Rouge::Token::Tokens::Comment < Rouge::Token
|
207
|
+
end
|
208
|
+
class Rouge::Token::Tokens::Generic::Deleted < Rouge::Token::Tokens::Generic
|
209
|
+
end
|
210
|
+
class Rouge::Token::Tokens::Generic::Emph < Rouge::Token::Tokens::Generic
|
211
|
+
end
|
212
|
+
class Rouge::Token::Tokens::Generic::Error < Rouge::Token::Tokens::Generic
|
213
|
+
end
|
214
|
+
class Rouge::Token::Tokens::Generic::Heading < Rouge::Token::Tokens::Generic
|
215
|
+
end
|
216
|
+
class Rouge::Token::Tokens::Generic::Inserted < Rouge::Token::Tokens::Generic
|
217
|
+
end
|
218
|
+
class Rouge::Token::Tokens::Generic::Output < Rouge::Token::Tokens::Generic
|
219
|
+
end
|
220
|
+
class Rouge::Token::Tokens::Generic::Prompt < Rouge::Token::Tokens::Generic
|
221
|
+
end
|
222
|
+
class Rouge::Token::Tokens::Generic::Strong < Rouge::Token::Tokens::Generic
|
223
|
+
end
|
224
|
+
class Rouge::Token::Tokens::Generic::Subheading < Rouge::Token::Tokens::Generic
|
225
|
+
end
|
226
|
+
class Rouge::Token::Tokens::Generic::Traceback < Rouge::Token::Tokens::Generic
|
227
|
+
end
|
228
|
+
class Rouge::Token::Tokens::Generic::Lineno < Rouge::Token::Tokens::Generic
|
229
|
+
end
|
230
|
+
class Rouge::Token::Tokens::Generic < Rouge::Token
|
231
|
+
end
|
232
|
+
class Rouge::Lexer
|
233
|
+
def as_bool(val); end
|
234
|
+
def as_lexer(val); end
|
235
|
+
def as_list(val); end
|
236
|
+
def as_string(val); end
|
237
|
+
def as_token(val); end
|
238
|
+
def bool_option(name, &default); end
|
239
|
+
def continue_lex(string, &b); end
|
240
|
+
def hash_option(name, defaults, &val_cast); end
|
241
|
+
def initialize(opts = nil); end
|
242
|
+
def lex(string, opts = nil, &b); end
|
243
|
+
def lexer_option(name, &default); end
|
244
|
+
def list_option(name, &default); end
|
245
|
+
def options; end
|
246
|
+
def reset!; end
|
247
|
+
def self.aliases(*args); end
|
248
|
+
def self.all; end
|
249
|
+
def self.assert_utf8!(str); end
|
250
|
+
def self.continue_lex(*a, &b); end
|
251
|
+
def self.debug_enabled?; end
|
252
|
+
def self.demo(arg = nil); end
|
253
|
+
def self.demo_file(arg = nil); end
|
254
|
+
def self.desc(arg = nil); end
|
255
|
+
def self.detect?(text); end
|
256
|
+
def self.detectable?; end
|
257
|
+
def self.disable_debug!; end
|
258
|
+
def self.enable_debug!; end
|
259
|
+
def self.filenames(*fnames); end
|
260
|
+
def self.find(name); end
|
261
|
+
def self.find_fancy(str, code = nil, default_options = nil); end
|
262
|
+
def self.guess(info = nil, &fallback); end
|
263
|
+
def self.guess_by_filename(fname); end
|
264
|
+
def self.guess_by_mimetype(mt); end
|
265
|
+
def self.guess_by_source(source); end
|
266
|
+
def self.guesses(info = nil); end
|
267
|
+
def self.lex(stream, opts = nil, &b); end
|
268
|
+
def self.lookup_fancy(str, code = nil, default_options = nil); end
|
269
|
+
def self.mimetypes(*mts); end
|
270
|
+
def self.option(name, desc); end
|
271
|
+
def self.option_docs; end
|
272
|
+
def self.register(name, lexer); end
|
273
|
+
def self.registry; end
|
274
|
+
def self.tag(t = nil); end
|
275
|
+
def self.title(t = nil); end
|
276
|
+
def stream_tokens(stream, &b); end
|
277
|
+
def string_option(name, &default); end
|
278
|
+
def tag; end
|
279
|
+
def token_option(name, &default); end
|
280
|
+
def with(opts = nil); end
|
281
|
+
include Rouge::Token::Tokens
|
282
|
+
end
|
283
|
+
module Rouge::Lexers
|
284
|
+
def self.load_lexer(relpath); end
|
285
|
+
end
|
286
|
+
class Rouge::RegexLexer < Rouge::Lexer
|
287
|
+
def delegate(lexer, text = nil); end
|
288
|
+
def get_state(state_name); end
|
289
|
+
def goto(state_name); end
|
290
|
+
def group(tok); end
|
291
|
+
def groups(*tokens); end
|
292
|
+
def in_state?(state_name); end
|
293
|
+
def pop!(times = nil); end
|
294
|
+
def push(state_name = nil, &b); end
|
295
|
+
def recurse(text = nil); end
|
296
|
+
def reset!; end
|
297
|
+
def reset_stack; end
|
298
|
+
def self.append(name, &b); end
|
299
|
+
def self.get_state(name); end
|
300
|
+
def self.prepend(name, &b); end
|
301
|
+
def self.replace_state(name, new_defn); end
|
302
|
+
def self.start(&b); end
|
303
|
+
def self.start_procs; end
|
304
|
+
def self.state(name, &b); end
|
305
|
+
def self.state_definitions; end
|
306
|
+
def self.states; end
|
307
|
+
def stack; end
|
308
|
+
def state; end
|
309
|
+
def state?(state_name); end
|
310
|
+
def step(state, stream); end
|
311
|
+
def stream_tokens(str, &b); end
|
312
|
+
def token(tok, val = nil); end
|
313
|
+
def yield_token(tok, val); end
|
314
|
+
end
|
315
|
+
class Rouge::RegexLexer::InvalidRegex < StandardError
|
316
|
+
def initialize(re); end
|
317
|
+
def to_s; end
|
318
|
+
end
|
319
|
+
class Rouge::RegexLexer::ClosedState < StandardError
|
320
|
+
def initialize(state); end
|
321
|
+
def rule; end
|
322
|
+
def state; end
|
323
|
+
def to_s; end
|
324
|
+
end
|
325
|
+
class Rouge::RegexLexer::Rule
|
326
|
+
def beginning_of_line; end
|
327
|
+
def callback; end
|
328
|
+
def initialize(re, callback); end
|
329
|
+
def inspect; end
|
330
|
+
def re; end
|
331
|
+
end
|
332
|
+
class Rouge::RegexLexer::State
|
333
|
+
def initialize(name, rules); end
|
334
|
+
def inspect; end
|
335
|
+
def name; end
|
336
|
+
def rules; end
|
337
|
+
end
|
338
|
+
class Rouge::RegexLexer::StateDSL
|
339
|
+
def appended(&defn); end
|
340
|
+
def close!; end
|
341
|
+
def context_sensitive?(re); end
|
342
|
+
def initialize(name, &defn); end
|
343
|
+
def load!; end
|
344
|
+
def mixin(state); end
|
345
|
+
def name; end
|
346
|
+
def prepended(&defn); end
|
347
|
+
def rule(re, tok = nil, next_state = nil, &callback); end
|
348
|
+
def rules; end
|
349
|
+
def to_state(lexer_class); end
|
350
|
+
end
|
351
|
+
class Rouge::TemplateLexer < Rouge::RegexLexer
|
352
|
+
def parent; end
|
353
|
+
end
|
354
|
+
class Rouge::Lexers::Scheme < Rouge::RegexLexer
|
355
|
+
def self.builtins; end
|
356
|
+
def self.keywords; end
|
357
|
+
end
|
358
|
+
class Rouge::Lexers::YANG < Rouge::RegexLexer
|
359
|
+
def self.body_stmts_keywords; end
|
360
|
+
def self.constants_keywords; end
|
361
|
+
def self.data_def_stmts_keywords; end
|
362
|
+
def self.linkage_stmts_keywords; end
|
363
|
+
def self.list_stmts_keywords; end
|
364
|
+
def self.meta_stmts_keywords; end
|
365
|
+
def self.module_header_stmts_keywords; end
|
366
|
+
def self.top_stmts_keywords; end
|
367
|
+
def self.type_stmts_keywords; end
|
368
|
+
def self.types; end
|
369
|
+
end
|
370
|
+
class Rouge::Lexers::Clojure < Rouge::RegexLexer
|
371
|
+
def name_token(name); end
|
372
|
+
def self.builtins; end
|
373
|
+
def self.keywords; end
|
374
|
+
end
|
375
|
+
class Rouge::Lexers::Janet < Rouge::RegexLexer
|
376
|
+
def name_token(name); end
|
377
|
+
def self.bundled; end
|
378
|
+
def self.specials; end
|
379
|
+
end
|
380
|
+
class Rouge::Lexers::Haxe < Rouge::RegexLexer
|
381
|
+
def self.builtins; end
|
382
|
+
def self.constants; end
|
383
|
+
def self.declarations; end
|
384
|
+
def self.detect?(text); end
|
385
|
+
def self.imports; end
|
386
|
+
def self.keywords; end
|
387
|
+
def self.reserved; end
|
388
|
+
end
|
389
|
+
class Rouge::Lexers::Cypher < Rouge::RegexLexer
|
390
|
+
def self.functions; end
|
391
|
+
def self.keywords; end
|
392
|
+
def self.predicates; end
|
393
|
+
end
|
394
|
+
class Rouge::Lexers::Brainfuck < Rouge::RegexLexer
|
395
|
+
end
|
396
|
+
class Rouge::Lexers::Zig < Rouge::RegexLexer
|
397
|
+
def self.builtins; end
|
398
|
+
def self.keywords; end
|
399
|
+
end
|
400
|
+
class Rouge::Lexers::Velocity < Rouge::TemplateLexer
|
401
|
+
end
|
402
|
+
class Rouge::Lexers::JSON < Rouge::RegexLexer
|
403
|
+
end
|
404
|
+
class Rouge::Lexers::Wollok < Rouge::RegexLexer
|
405
|
+
end
|
406
|
+
class Rouge::Lexers::TOML < Rouge::RegexLexer
|
407
|
+
end
|
408
|
+
class Rouge::Lexers::Scala < Rouge::RegexLexer
|
409
|
+
end
|
410
|
+
class Rouge::Lexers::Groovy < Rouge::RegexLexer
|
411
|
+
def self.constants; end
|
412
|
+
def self.declarations; end
|
413
|
+
def self.detect?(text); end
|
414
|
+
def self.keywords; end
|
415
|
+
def self.types; end
|
416
|
+
end
|
417
|
+
class Rouge::Lexers::Rust < Rouge::RegexLexer
|
418
|
+
def macro_closed?; end
|
419
|
+
def self.builtins; end
|
420
|
+
def self.detect?(text); end
|
421
|
+
def self.keywords; end
|
422
|
+
end
|
423
|
+
class Rouge::Lexers::HTML < Rouge::RegexLexer
|
424
|
+
def self.detect?(text); end
|
425
|
+
end
|
426
|
+
class Rouge::Lexers::Vue < Rouge::Lexers::HTML
|
427
|
+
def initialize(*arg0); end
|
428
|
+
def lookup_lang(lang); end
|
429
|
+
end
|
430
|
+
class Rouge::Lexers::IDLang < Rouge::RegexLexer
|
431
|
+
def self.conditionals; end
|
432
|
+
def self.decorators; end
|
433
|
+
def self.exec_unit; end
|
434
|
+
def self.keywords; end
|
435
|
+
def self.operators; end
|
436
|
+
def self.routines; end
|
437
|
+
def self.standalone_statements; end
|
438
|
+
end
|
439
|
+
class Rouge::Lexers::Batchfile < Rouge::RegexLexer
|
440
|
+
def self.attributes; end
|
441
|
+
def self.builtin_commands; end
|
442
|
+
def self.devices; end
|
443
|
+
def self.keywords; end
|
444
|
+
def self.operator_words; end
|
445
|
+
def self.other_commands; end
|
446
|
+
end
|
447
|
+
class Rouge::Lexers::GHCCore < Rouge::RegexLexer
|
448
|
+
end
|
449
|
+
class Rouge::Lexers::Xojo < Rouge::RegexLexer
|
450
|
+
end
|
451
|
+
class Rouge::Lexers::SSH < Rouge::RegexLexer
|
452
|
+
end
|
453
|
+
class Rouge::Lexers::M68k < Rouge::RegexLexer
|
454
|
+
def self.builtins; end
|
455
|
+
def self.keywords; end
|
456
|
+
def self.keywords_type; end
|
457
|
+
def self.reserved; end
|
458
|
+
end
|
459
|
+
class Rouge::Lexers::Dot < Rouge::RegexLexer
|
460
|
+
end
|
461
|
+
class Rouge::Lexers::Lustre < Rouge::RegexLexer
|
462
|
+
def self.keywords; end
|
463
|
+
def self.primitives; end
|
464
|
+
def self.word_operators; end
|
465
|
+
end
|
466
|
+
class Rouge::Lexers::Praat < Rouge::RegexLexer
|
467
|
+
def self.detect?(text); end
|
468
|
+
end
|
469
|
+
class Rouge::Lexers::Lutin < Rouge::Lexers::Lustre
|
470
|
+
def self.keywords; end
|
471
|
+
def self.primitives; end
|
472
|
+
def self.word_operators; end
|
473
|
+
end
|
474
|
+
class Rouge::Lexers::PHP < Rouge::TemplateLexer
|
475
|
+
def builtins; end
|
476
|
+
def initialize(*arg0); end
|
477
|
+
def self.builtins; end
|
478
|
+
def self.detect?(text); end
|
479
|
+
def self.keywords; end
|
480
|
+
end
|
481
|
+
class Rouge::Lexers::SQL < Rouge::RegexLexer
|
482
|
+
def self.keywords; end
|
483
|
+
def self.keywords_type; end
|
484
|
+
end
|
485
|
+
class Rouge::Lexers::INI < Rouge::RegexLexer
|
486
|
+
end
|
487
|
+
class Rouge::Lexers::JSL < Rouge::RegexLexer
|
488
|
+
end
|
489
|
+
class Rouge::Lexers::ABAP < Rouge::RegexLexer
|
490
|
+
def self.builtins; end
|
491
|
+
def self.keywords; end
|
492
|
+
def self.new_keywords; end
|
493
|
+
def self.types; end
|
494
|
+
end
|
495
|
+
class Rouge::Lexers::Fortran < Rouge::RegexLexer
|
496
|
+
def self.intrinsics; end
|
497
|
+
def self.keywords; end
|
498
|
+
def self.types; end
|
499
|
+
end
|
500
|
+
class Rouge::Lexers::Elm < Rouge::RegexLexer
|
501
|
+
end
|
502
|
+
class Rouge::Lexers::Racket < Rouge::RegexLexer
|
503
|
+
def self.builtins; end
|
504
|
+
def self.detect?(text); end
|
505
|
+
def self.keywords; end
|
506
|
+
end
|
507
|
+
class Rouge::Lexers::JSP < Rouge::TemplateLexer
|
508
|
+
def initialize(*arg0); end
|
509
|
+
end
|
510
|
+
class Rouge::Lexers::Varnish < Rouge::RegexLexer
|
511
|
+
def self.functions; end
|
512
|
+
def self.keywords; end
|
513
|
+
def self.variables; end
|
514
|
+
end
|
515
|
+
class Rouge::Lexers::Haskell < Rouge::RegexLexer
|
516
|
+
def self.detect?(text); end
|
517
|
+
end
|
518
|
+
class Rouge::Lexers::Julia < Rouge::RegexLexer
|
519
|
+
def self.detect?(text); end
|
520
|
+
end
|
521
|
+
class Rouge::Lexers::Javascript < Rouge::RegexLexer
|
522
|
+
def self.builtins; end
|
523
|
+
def self.constants; end
|
524
|
+
def self.declarations; end
|
525
|
+
def self.detect?(text); end
|
526
|
+
def self.id_regex; end
|
527
|
+
def self.keywords; end
|
528
|
+
def self.reserved; end
|
529
|
+
end
|
530
|
+
class Rouge::Lexers::Q < Rouge::RegexLexer
|
531
|
+
def self.builtins; end
|
532
|
+
def self.keywords; end
|
533
|
+
def self.word_operators; end
|
534
|
+
end
|
535
|
+
class Rouge::Lexers::PostScript < Rouge::RegexLexer
|
536
|
+
def self.detect?(text); end
|
537
|
+
end
|
538
|
+
class Rouge::Lexers::LiterateCoffeescript < Rouge::RegexLexer
|
539
|
+
def coffee; end
|
540
|
+
def markdown; end
|
541
|
+
end
|
542
|
+
class Rouge::Lexers::BibTeX < Rouge::RegexLexer
|
543
|
+
end
|
544
|
+
class Rouge::Lexers::Qml < Rouge::Lexers::Javascript
|
545
|
+
end
|
546
|
+
class Rouge::Lexers::Protobuf < Rouge::RegexLexer
|
547
|
+
end
|
548
|
+
class Rouge::Lexers::Lasso < Rouge::TemplateLexer
|
549
|
+
def initialize(*arg0); end
|
550
|
+
def self.detect?(text); end
|
551
|
+
def self.keywords; end
|
552
|
+
def start_inline?; end
|
553
|
+
end
|
554
|
+
class Rouge::Lexers::RobotFramework < Rouge::RegexLexer
|
555
|
+
def initialize(opts = nil); end
|
556
|
+
def self.settings_with_args; end
|
557
|
+
def self.settings_with_keywords; end
|
558
|
+
end
|
559
|
+
class Rouge::Lexers::GHCCmm < Rouge::RegexLexer
|
560
|
+
end
|
561
|
+
class Rouge::Lexers::HTTP < Rouge::RegexLexer
|
562
|
+
def content_lexer; end
|
563
|
+
def guess_content_lexer; end
|
564
|
+
def self.http_methods; end
|
565
|
+
end
|
566
|
+
class Rouge::Lexers::Actionscript < Rouge::RegexLexer
|
567
|
+
def self.builtins; end
|
568
|
+
def self.constants; end
|
569
|
+
def self.declarations; end
|
570
|
+
def self.keywords; end
|
571
|
+
def self.reserved; end
|
572
|
+
end
|
573
|
+
class Rouge::Lexers::Swift < Rouge::RegexLexer
|
574
|
+
end
|
575
|
+
class Rouge::Lexers::Rego < Rouge::RegexLexer
|
576
|
+
def self.constants; end
|
577
|
+
def self.operators; end
|
578
|
+
end
|
579
|
+
class Rouge::Lexers::Puppet < Rouge::RegexLexer
|
580
|
+
def self.constants; end
|
581
|
+
def self.detect?(text); end
|
582
|
+
def self.keywords; end
|
583
|
+
def self.metaparameters; end
|
584
|
+
end
|
585
|
+
class Rouge::Lexers::Markdown < Rouge::RegexLexer
|
586
|
+
def html; end
|
587
|
+
end
|
588
|
+
class Rouge::Lexers::Prometheus < Rouge::RegexLexer
|
589
|
+
def self.functions; end
|
590
|
+
end
|
591
|
+
class Rouge::Lexers::Mason < Rouge::TemplateLexer
|
592
|
+
def initialize(*arg0); end
|
593
|
+
end
|
594
|
+
class Rouge::Lexers::EEX < Rouge::TemplateLexer
|
595
|
+
def initialize(opts = nil); end
|
596
|
+
end
|
597
|
+
class Rouge::Lexers::SassCommon < Rouge::RegexLexer
|
598
|
+
end
|
599
|
+
class Rouge::Lexers::Scss < Rouge::Lexers::SassCommon
|
600
|
+
end
|
601
|
+
class Rouge::Lexers::Email < Rouge::RegexLexer
|
602
|
+
end
|
603
|
+
class Rouge::Lexers::C < Rouge::RegexLexer
|
604
|
+
def self.builtins; end
|
605
|
+
def self.keywords; end
|
606
|
+
def self.keywords_type; end
|
607
|
+
def self.reserved; end
|
608
|
+
end
|
609
|
+
class Rouge::Lexers::HLSL < Rouge::Lexers::C
|
610
|
+
def self.builtins; end
|
611
|
+
def self.keywords; end
|
612
|
+
def self.keywords_type; end
|
613
|
+
def self.reserved; end
|
614
|
+
end
|
615
|
+
class Rouge::Lexers::XPath < Rouge::RegexLexer
|
616
|
+
def self.axes; end
|
617
|
+
def self.commentStart; end
|
618
|
+
def self.constructorTypes; end
|
619
|
+
def self.decimalLiteral; end
|
620
|
+
def self.digits; end
|
621
|
+
def self.doubleLiteral; end
|
622
|
+
def self.eqName; end
|
623
|
+
def self.keywords; end
|
624
|
+
def self.kindTest; end
|
625
|
+
def self.kindTestForPI; end
|
626
|
+
def self.ncName; end
|
627
|
+
def self.openParen; end
|
628
|
+
def self.operators; end
|
629
|
+
def self.qName; end
|
630
|
+
def self.stringLiteral; end
|
631
|
+
def self.uriQName; end
|
632
|
+
def self.word_operators; end
|
633
|
+
end
|
634
|
+
class Rouge::Lexers::Kotlin < Rouge::RegexLexer
|
635
|
+
end
|
636
|
+
class Rouge::Lexers::Make < Rouge::RegexLexer
|
637
|
+
def initialize(opts = nil); end
|
638
|
+
def self.functions; end
|
639
|
+
end
|
640
|
+
class Rouge::Lexers::Diff < Rouge::RegexLexer
|
641
|
+
def self.detect?(text); end
|
642
|
+
end
|
643
|
+
class Rouge::Lexers::Factor < Rouge::RegexLexer
|
644
|
+
def self.builtins; end
|
645
|
+
def self.detect?(text); end
|
646
|
+
end
|
647
|
+
class Rouge::Lexers::Python < Rouge::RegexLexer
|
648
|
+
def current_string; end
|
649
|
+
def self.builtins; end
|
650
|
+
def self.builtins_pseudo; end
|
651
|
+
def self.detect?(text); end
|
652
|
+
def self.exceptions; end
|
653
|
+
def self.keywords; end
|
654
|
+
end
|
655
|
+
class Rouge::Lexers::Python::StringRegister < Array
|
656
|
+
def delim?(delim); end
|
657
|
+
def register(type: nil, delim: nil); end
|
658
|
+
def remove; end
|
659
|
+
def type?(type); end
|
660
|
+
end
|
661
|
+
class Rouge::Lexers::Go < Rouge::RegexLexer
|
662
|
+
end
|
663
|
+
class Rouge::Lexers::CSVS < Rouge::RegexLexer
|
664
|
+
end
|
665
|
+
class Rouge::Lexers::VimL < Rouge::RegexLexer
|
666
|
+
def self.keywords; end
|
667
|
+
end
|
668
|
+
class Rouge::Lexers::CSS < Rouge::RegexLexer
|
669
|
+
def self.attributes; end
|
670
|
+
def self.builtins; end
|
671
|
+
def self.constants; end
|
672
|
+
def self.vendor_prefixes; end
|
673
|
+
end
|
674
|
+
class Rouge::Lexers::Brightscript < Rouge::RegexLexer
|
675
|
+
def self.builtins; end
|
676
|
+
def self.keyword_reserved; end
|
677
|
+
def self.keyword_reserved_unsupported; end
|
678
|
+
def self.keyword_type; end
|
679
|
+
def self.name_builtin; end
|
680
|
+
def self.operator_word; end
|
681
|
+
end
|
682
|
+
class Rouge::Lexers::YAML < Rouge::RegexLexer
|
683
|
+
def continue_indent(match); end
|
684
|
+
def dedent?(level); end
|
685
|
+
def indent; end
|
686
|
+
def indent?(level); end
|
687
|
+
def reset_indent; end
|
688
|
+
def save_indent(match); end
|
689
|
+
def self.detect?(text); end
|
690
|
+
def set_indent(match, opts = nil); end
|
691
|
+
end
|
692
|
+
class Rouge::Lexers::Pascal < Rouge::RegexLexer
|
693
|
+
end
|
694
|
+
class Rouge::Lexers::CMHG < Rouge::RegexLexer
|
695
|
+
def self.preproc_keyword; end
|
696
|
+
end
|
697
|
+
class Rouge::Lexers::Turtle < Rouge::RegexLexer
|
698
|
+
end
|
699
|
+
class Rouge::Lexers::SQF < Rouge::RegexLexer
|
700
|
+
def self.commands; end
|
701
|
+
def self.constants; end
|
702
|
+
def self.controlflow; end
|
703
|
+
def self.diag_commands; end
|
704
|
+
def self.initializers; end
|
705
|
+
def self.namespaces; end
|
706
|
+
def self.wordoperators; end
|
707
|
+
end
|
708
|
+
class Rouge::Lexers::Vala < Rouge::RegexLexer
|
709
|
+
end
|
710
|
+
class Rouge::Lexers::Nasm < Rouge::RegexLexer
|
711
|
+
end
|
712
|
+
class Rouge::Lexers::ISBL < Rouge::RegexLexer
|
713
|
+
def self.builtins; end
|
714
|
+
def self.constants; end
|
715
|
+
def self.globals; end
|
716
|
+
def self.interfaces; end
|
717
|
+
def self.keywords; end
|
718
|
+
end
|
719
|
+
class Rouge::Lexers::LLVM < Rouge::RegexLexer
|
720
|
+
def self.instructions; end
|
721
|
+
def self.keywords; end
|
722
|
+
def self.types; end
|
723
|
+
end
|
724
|
+
class Rouge::Lexers::Gradle < Rouge::Lexers::Groovy
|
725
|
+
def self.keywords; end
|
726
|
+
def self.types; end
|
727
|
+
end
|
728
|
+
class Rouge::Lexers::OpenTypeFeatureFile < Rouge::RegexLexer
|
729
|
+
def self.keywords; end
|
730
|
+
end
|
731
|
+
class Rouge::Lexers::Coffeescript < Rouge::RegexLexer
|
732
|
+
def self.builtins; end
|
733
|
+
def self.constants; end
|
734
|
+
def self.detect?(text); end
|
735
|
+
def self.keywords; end
|
736
|
+
def self.reserved; end
|
737
|
+
end
|
738
|
+
class Rouge::Lexers::Coq < Rouge::RegexLexer
|
739
|
+
def self.classify(x); end
|
740
|
+
def self.coq; end
|
741
|
+
def self.end_sentence; end
|
742
|
+
def self.gallina; end
|
743
|
+
def self.keyopts; end
|
744
|
+
def self.ltac; end
|
745
|
+
def self.tacticals; end
|
746
|
+
def self.terminators; end
|
747
|
+
end
|
748
|
+
class Rouge::Lexers::CSharp < Rouge::RegexLexer
|
749
|
+
end
|
750
|
+
class Rouge::Lexers::TCL < Rouge::RegexLexer
|
751
|
+
def self.detect?(text); end
|
752
|
+
def self.gen_command_state(name = nil); end
|
753
|
+
def self.gen_delimiter_states(name, close, opts = nil); end
|
754
|
+
end
|
755
|
+
class Rouge::Lexers::Tap < Rouge::RegexLexer
|
756
|
+
end
|
757
|
+
class Rouge::Lexers::Eiffel < Rouge::RegexLexer
|
758
|
+
end
|
759
|
+
class Rouge::Lexers::Cpp < Rouge::Lexers::C
|
760
|
+
def self.keywords; end
|
761
|
+
def self.keywords_type; end
|
762
|
+
def self.reserved; end
|
763
|
+
end
|
764
|
+
class Rouge::Lexers::CUDA < Rouge::Lexers::Cpp
|
765
|
+
def self.keywords; end
|
766
|
+
def self.keywords_type; end
|
767
|
+
end
|
768
|
+
class Rouge::Lexers::AppleScript < Rouge::RegexLexer
|
769
|
+
def self.builtins; end
|
770
|
+
def self.classes; end
|
771
|
+
def self.commands; end
|
772
|
+
def self.controls; end
|
773
|
+
def self.declarations; end
|
774
|
+
def self.handler_params; end
|
775
|
+
def self.literals; end
|
776
|
+
def self.operators; end
|
777
|
+
def self.references; end
|
778
|
+
def self.reserved; end
|
779
|
+
def self.studio_classes; end
|
780
|
+
def self.studio_commands; end
|
781
|
+
def self.studio_events; end
|
782
|
+
def self.studio_properties; end
|
783
|
+
end
|
784
|
+
class Rouge::Lexers::MsgTrans < Rouge::RegexLexer
|
785
|
+
end
|
786
|
+
class Rouge::Lexers::Elixir < Rouge::RegexLexer
|
787
|
+
end
|
788
|
+
class Rouge::Lexers::APIBlueprint < Rouge::Lexers::Markdown
|
789
|
+
end
|
790
|
+
class Rouge::Lexers::Nginx < Rouge::RegexLexer
|
791
|
+
end
|
792
|
+
class Rouge::Lexers::Magik < Rouge::RegexLexer
|
793
|
+
def self.character; end
|
794
|
+
def self.decimal; end
|
795
|
+
def self.digits; end
|
796
|
+
def self.exponent; end
|
797
|
+
def self.global_ref; end
|
798
|
+
def self.identifier; end
|
799
|
+
def self.keywords; end
|
800
|
+
def self.label; end
|
801
|
+
def self.number; end
|
802
|
+
def self.package_identifier; end
|
803
|
+
def self.piped_identifier; end
|
804
|
+
def self.radix; end
|
805
|
+
def self.simple_identifier; end
|
806
|
+
def self.string_double; end
|
807
|
+
def self.string_single; end
|
808
|
+
def self.symbol; end
|
809
|
+
end
|
810
|
+
class Rouge::Lexers::Jinja < Rouge::TemplateLexer
|
811
|
+
def self.keywords; end
|
812
|
+
def self.pseudo_keywords; end
|
813
|
+
def self.tests; end
|
814
|
+
def self.word_operators; end
|
815
|
+
end
|
816
|
+
class Rouge::Lexers::Twig < Rouge::Lexers::Jinja
|
817
|
+
def self.keywords; end
|
818
|
+
def self.pseudo_keywords; end
|
819
|
+
def self.tests; end
|
820
|
+
def self.word_operators; end
|
821
|
+
end
|
822
|
+
class Rouge::Lexers::Nim < Rouge::RegexLexer
|
823
|
+
def self.underscorize(words); end
|
824
|
+
end
|
825
|
+
class Rouge::Lexers::Dart < Rouge::RegexLexer
|
826
|
+
end
|
827
|
+
class Rouge::Lexers::FreeFEM < Rouge::Lexers::Cpp
|
828
|
+
def self.attributes; end
|
829
|
+
def self.builtins; end
|
830
|
+
def self.keywords; end
|
831
|
+
def self.keywords_type; end
|
832
|
+
def self.reserved; end
|
833
|
+
end
|
834
|
+
class Rouge::Lexers::D < Rouge::RegexLexer
|
835
|
+
end
|
836
|
+
class Rouge::Lexers::Sass < Rouge::Lexers::SassCommon
|
837
|
+
include Rouge::Indentation
|
838
|
+
end
|
839
|
+
class Rouge::Lexers::Pony < Rouge::RegexLexer
|
840
|
+
end
|
841
|
+
class Rouge::Lexers::Matlab < Rouge::RegexLexer
|
842
|
+
def self.builtins; end
|
843
|
+
def self.keywords; end
|
844
|
+
end
|
845
|
+
class Rouge::Lexers::Ruby < Rouge::RegexLexer
|
846
|
+
def self.detect?(text); end
|
847
|
+
end
|
848
|
+
class Rouge::Lexers::ConsoleLexer < Rouge::Lexer
|
849
|
+
def allow_comments?; end
|
850
|
+
def comment_regex; end
|
851
|
+
def end_chars; end
|
852
|
+
def error_regex; end
|
853
|
+
def initialize(*arg0); end
|
854
|
+
def lang_lexer; end
|
855
|
+
def line_regex; end
|
856
|
+
def output_lexer; end
|
857
|
+
def process_line(input, &output); end
|
858
|
+
def prompt_prefix_regex; end
|
859
|
+
def prompt_regex; end
|
860
|
+
def stream_tokens(input, &output); end
|
861
|
+
end
|
862
|
+
class Rouge::Lexers::IRBLexer < Rouge::Lexers::ConsoleLexer
|
863
|
+
def allow_comments?; end
|
864
|
+
def lang_lexer; end
|
865
|
+
def output_lexer; end
|
866
|
+
def prompt_regex; end
|
867
|
+
end
|
868
|
+
class Rouge::Lexers::IRBOutputLexer < Rouge::Lexers::Ruby
|
869
|
+
end
|
870
|
+
class Rouge::Lexers::JSONDOC < Rouge::Lexers::JSON
|
871
|
+
end
|
872
|
+
class Rouge::Lexers::FSharp < Rouge::RegexLexer
|
873
|
+
def self.keyopts; end
|
874
|
+
def self.keywords; end
|
875
|
+
def self.primitives; end
|
876
|
+
def self.word_operators; end
|
877
|
+
end
|
878
|
+
class Rouge::Lexers::XML < Rouge::RegexLexer
|
879
|
+
def self.detect?(text); end
|
880
|
+
end
|
881
|
+
class Rouge::Lexers::Livescript < Rouge::RegexLexer
|
882
|
+
def self.builtins; end
|
883
|
+
def self.constants; end
|
884
|
+
def self.declarations; end
|
885
|
+
def self.detect?(text); end
|
886
|
+
def self.keywords; end
|
887
|
+
def self.loop_control_keywords; end
|
888
|
+
end
|
889
|
+
class Rouge::Lexers::Mathematica < Rouge::RegexLexer
|
890
|
+
def self.builtins; end
|
891
|
+
def self.keywords; end
|
892
|
+
end
|
893
|
+
class Rouge::Lexers::Docker < Rouge::RegexLexer
|
894
|
+
end
|
895
|
+
class Rouge::Lexers::Verilog < Rouge::RegexLexer
|
896
|
+
def self.keywords; end
|
897
|
+
def self.keywords_system_task; end
|
898
|
+
def self.keywords_type; end
|
899
|
+
end
|
900
|
+
class Rouge::Lexers::Smarty < Rouge::TemplateLexer
|
901
|
+
def self.builtins; end
|
902
|
+
end
|
903
|
+
class Rouge::Lexers::Digdag < Rouge::Lexers::YAML
|
904
|
+
end
|
905
|
+
class Rouge::Lexers::ERB < Rouge::TemplateLexer
|
906
|
+
def initialize(opts = nil); end
|
907
|
+
end
|
908
|
+
class Rouge::Lexers::Slim < Rouge::RegexLexer
|
909
|
+
def filters; end
|
910
|
+
def html; end
|
911
|
+
def ruby; end
|
912
|
+
include Rouge::Indentation
|
913
|
+
end
|
914
|
+
class Rouge::Lexers::Awk < Rouge::RegexLexer
|
915
|
+
def self.builtins; end
|
916
|
+
def self.constants; end
|
917
|
+
def self.declarations; end
|
918
|
+
def self.detect?(text); end
|
919
|
+
def self.keywords; end
|
920
|
+
def self.reserved; end
|
921
|
+
end
|
922
|
+
class Rouge::Lexers::OCL < Rouge::RegexLexer
|
923
|
+
def self.builtins; end
|
924
|
+
def self.functions; end
|
925
|
+
def self.keywords; end
|
926
|
+
def self.keywords_type; end
|
927
|
+
def self.operators; end
|
928
|
+
end
|
929
|
+
class Rouge::Lexers::VHDL < Rouge::RegexLexer
|
930
|
+
def self.keywords; end
|
931
|
+
def self.keywords_type; end
|
932
|
+
def self.operator_words; end
|
933
|
+
end
|
934
|
+
class Rouge::Lexers::SystemD < Rouge::RegexLexer
|
935
|
+
end
|
936
|
+
class Rouge::Lexers::Bsl < Rouge::RegexLexer
|
937
|
+
end
|
938
|
+
class Rouge::Lexers::Hack < Rouge::Lexers::PHP
|
939
|
+
def self.detect?(text); end
|
940
|
+
def self.keywords; end
|
941
|
+
end
|
942
|
+
class Rouge::Lexers::Apache < Rouge::RegexLexer
|
943
|
+
def name_for_token(token, tktype); end
|
944
|
+
def self.directives; end
|
945
|
+
def self.sections; end
|
946
|
+
def self.values; end
|
947
|
+
end
|
948
|
+
class Rouge::Lexers::JSX < Rouge::Lexers::Javascript
|
949
|
+
end
|
950
|
+
class Rouge::Lexers::Prolog < Rouge::RegexLexer
|
951
|
+
end
|
952
|
+
class Rouge::Lexers::Jsonnet < Rouge::RegexLexer
|
953
|
+
def self.builtins; end
|
954
|
+
def self.constants; end
|
955
|
+
def self.declarations; end
|
956
|
+
def self.keywords; end
|
957
|
+
end
|
958
|
+
class Rouge::Lexers::Ceylon < Rouge::RegexLexer
|
959
|
+
end
|
960
|
+
class Rouge::Lexers::Powershell < Rouge::RegexLexer
|
961
|
+
end
|
962
|
+
class Rouge::Lexers::Cfscript < Rouge::RegexLexer
|
963
|
+
def self.declarations; end
|
964
|
+
def self.keywords; end
|
965
|
+
def self.types; end
|
966
|
+
end
|
967
|
+
class Rouge::Lexers::Liquid < Rouge::RegexLexer
|
968
|
+
end
|
969
|
+
class Rouge::Lexers::Lua < Rouge::RegexLexer
|
970
|
+
def builtins; end
|
971
|
+
def initialize(opts = nil); end
|
972
|
+
def self.builtins; end
|
973
|
+
def self.detect?(text); end
|
974
|
+
end
|
975
|
+
class Rouge::Lexers::Moonscript < Rouge::RegexLexer
|
976
|
+
def builtins; end
|
977
|
+
def initialize(*arg0); end
|
978
|
+
def self.detect?(text); end
|
979
|
+
end
|
980
|
+
class Rouge::Lexers::Perl < Rouge::RegexLexer
|
981
|
+
def self.detect?(text); end
|
982
|
+
end
|
983
|
+
class Rouge::Lexers::Datastudio < Rouge::RegexLexer
|
984
|
+
def self.sql_keywords; end
|
985
|
+
end
|
986
|
+
module Rouge::Lexers::TypescriptCommon
|
987
|
+
def builtins; end
|
988
|
+
def declarations; end
|
989
|
+
def keywords; end
|
990
|
+
def reserved; end
|
991
|
+
def self.extended(base); end
|
992
|
+
end
|
993
|
+
class Rouge::Lexers::Typescript < Rouge::Lexers::Javascript
|
994
|
+
extend Rouge::Lexers::TypescriptCommon
|
995
|
+
end
|
996
|
+
class Rouge::Lexers::Sed < Rouge::RegexLexer
|
997
|
+
def regex; end
|
998
|
+
def replacement; end
|
999
|
+
def self.detect?(text); end
|
1000
|
+
end
|
1001
|
+
class Rouge::Lexers::Sed::Regex < Rouge::RegexLexer
|
1002
|
+
end
|
1003
|
+
class Rouge::Lexers::Sed::Replacement < Rouge::RegexLexer
|
1004
|
+
end
|
1005
|
+
class Rouge::Lexers::Mosel < Rouge::RegexLexer
|
1006
|
+
def self.detect?(text); end
|
1007
|
+
end
|
1008
|
+
class Rouge::Lexers::MiniZinc < Rouge::RegexLexer
|
1009
|
+
def self.builtins; end
|
1010
|
+
def self.keywords; end
|
1011
|
+
def self.keywords_type; end
|
1012
|
+
def self.operators; end
|
1013
|
+
end
|
1014
|
+
class Rouge::Lexers::CMake < Rouge::RegexLexer
|
1015
|
+
end
|
1016
|
+
class Rouge::Lexers::Smalltalk < Rouge::RegexLexer
|
1017
|
+
end
|
1018
|
+
class Rouge::Lexers::NesAsm < Rouge::RegexLexer
|
1019
|
+
def self.keywords; end
|
1020
|
+
def self.keywords_reserved; end
|
1021
|
+
def self.keywords_type; end
|
1022
|
+
end
|
1023
|
+
class Rouge::Lexers::IO < Rouge::RegexLexer
|
1024
|
+
def self.builtins; end
|
1025
|
+
def self.constants; end
|
1026
|
+
def self.detect?(text); end
|
1027
|
+
end
|
1028
|
+
class Rouge::Lexers::Shell < Rouge::RegexLexer
|
1029
|
+
def self.detect?(text); end
|
1030
|
+
end
|
1031
|
+
class Rouge::Lexers::GDScript < Rouge::RegexLexer
|
1032
|
+
def self.builtins; end
|
1033
|
+
def self.builtins_type; end
|
1034
|
+
def self.keywords; end
|
1035
|
+
def self.keywords_reserved; end
|
1036
|
+
end
|
1037
|
+
module Rouge::Lexers::ObjectiveCCommon
|
1038
|
+
def at_builtins; end
|
1039
|
+
def at_keywords; end
|
1040
|
+
def builtins; end
|
1041
|
+
def self.extended(base); end
|
1042
|
+
end
|
1043
|
+
class Rouge::Lexers::ObjectiveC < Rouge::Lexers::C
|
1044
|
+
extend Rouge::Lexers::ObjectiveCCommon
|
1045
|
+
end
|
1046
|
+
class Rouge::Lexers::Augeas < Rouge::RegexLexer
|
1047
|
+
def self.reserved; end
|
1048
|
+
end
|
1049
|
+
class Rouge::Lexers::Conf < Rouge::RegexLexer
|
1050
|
+
end
|
1051
|
+
class Rouge::Lexers::Sieve < Rouge::RegexLexer
|
1052
|
+
def self.actions; end
|
1053
|
+
def self.controls; end
|
1054
|
+
def self.tests; end
|
1055
|
+
end
|
1056
|
+
class Rouge::Lexers::OCamlCommon < Rouge::RegexLexer
|
1057
|
+
def self.keywords; end
|
1058
|
+
def self.primitives; end
|
1059
|
+
def self.word_operators; end
|
1060
|
+
end
|
1061
|
+
class Rouge::Lexers::ReScript < Rouge::Lexers::OCamlCommon
|
1062
|
+
def self.keywords; end
|
1063
|
+
def self.types; end
|
1064
|
+
def self.word_operators; end
|
1065
|
+
end
|
1066
|
+
class Rouge::Lexers::Haml < Rouge::RegexLexer
|
1067
|
+
def filters; end
|
1068
|
+
def html; end
|
1069
|
+
def initialize(opts = nil); end
|
1070
|
+
def ruby!(state); end
|
1071
|
+
def ruby; end
|
1072
|
+
include Rouge::Indentation
|
1073
|
+
end
|
1074
|
+
class Rouge::Lexers::EPP < Rouge::TemplateLexer
|
1075
|
+
def initialize(opts = nil); end
|
1076
|
+
end
|
1077
|
+
class Rouge::Lexers::ArmAsm < Rouge::RegexLexer
|
1078
|
+
def self.builtin; end
|
1079
|
+
def self.file_directive; end
|
1080
|
+
def self.general_directive; end
|
1081
|
+
def self.operator; end
|
1082
|
+
def self.preproc_keyword; end
|
1083
|
+
def self.shift_or_condition; end
|
1084
|
+
end
|
1085
|
+
class Rouge::Lexers::Clean < Rouge::RegexLexer
|
1086
|
+
def self.keywords; end
|
1087
|
+
end
|
1088
|
+
class Rouge::Lexers::Nix < Rouge::RegexLexer
|
1089
|
+
end
|
1090
|
+
class Rouge::Lexers::Handlebars < Rouge::TemplateLexer
|
1091
|
+
end
|
1092
|
+
class Rouge::Lexers::VisualBasic < Rouge::RegexLexer
|
1093
|
+
def self.builtins; end
|
1094
|
+
def self.keywords; end
|
1095
|
+
def self.keywords_type; end
|
1096
|
+
def self.operator_words; end
|
1097
|
+
end
|
1098
|
+
class Rouge::Lexers::Erlang < Rouge::RegexLexer
|
1099
|
+
end
|
1100
|
+
class Rouge::Lexers::Tulip < Rouge::RegexLexer
|
1101
|
+
def self.detect?(text); end
|
1102
|
+
end
|
1103
|
+
class Rouge::Lexers::OCaml < Rouge::Lexers::OCamlCommon
|
1104
|
+
def self.keywords; end
|
1105
|
+
end
|
1106
|
+
class Rouge::Lexers::Hcl < Rouge::RegexLexer
|
1107
|
+
def self.builtins; end
|
1108
|
+
def self.constants; end
|
1109
|
+
def self.declarations; end
|
1110
|
+
def self.keywords; end
|
1111
|
+
def self.reserved; end
|
1112
|
+
end
|
1113
|
+
class Rouge::Lexers::Terraform < Rouge::Lexers::Hcl
|
1114
|
+
def self.builtins; end
|
1115
|
+
def self.constants; end
|
1116
|
+
def self.declarations; end
|
1117
|
+
def self.keywords; end
|
1118
|
+
def self.reserved; end
|
1119
|
+
end
|
1120
|
+
class Rouge::Lexers::MXML < Rouge::RegexLexer
|
1121
|
+
end
|
1122
|
+
class Rouge::Lexers::IgorPro < Rouge::RegexLexer
|
1123
|
+
def self.igorConstants; end
|
1124
|
+
def self.igorDeclarations; end
|
1125
|
+
def self.igorFunction; end
|
1126
|
+
def self.igorOperation; end
|
1127
|
+
def self.keywords; end
|
1128
|
+
def self.object_name; end
|
1129
|
+
def self.preprocessor; end
|
1130
|
+
end
|
1131
|
+
class Rouge::Lexers::TTCN3 < Rouge::RegexLexer
|
1132
|
+
def self.keywords; end
|
1133
|
+
def self.reserved; end
|
1134
|
+
def self.types; end
|
1135
|
+
end
|
1136
|
+
class Rouge::Lexers::SuperCollider < Rouge::RegexLexer
|
1137
|
+
def self.constants; end
|
1138
|
+
def self.keywords; end
|
1139
|
+
def self.reserved; end
|
1140
|
+
end
|
1141
|
+
class Rouge::Lexers::LiterateHaskell < Rouge::RegexLexer
|
1142
|
+
def haskell; end
|
1143
|
+
end
|
1144
|
+
class Rouge::Lexers::HyLang < Rouge::RegexLexer
|
1145
|
+
def name_token(name); end
|
1146
|
+
def self.builtins; end
|
1147
|
+
def self.keywords; end
|
1148
|
+
end
|
1149
|
+
class Rouge::Lexers::XQuery < Rouge::Lexers::XPath
|
1150
|
+
def self.keywords; end
|
1151
|
+
end
|
1152
|
+
class Rouge::Lexers::Properties < Rouge::RegexLexer
|
1153
|
+
end
|
1154
|
+
class Rouge::Lexers::J < Rouge::RegexLexer
|
1155
|
+
def self.control_words; end
|
1156
|
+
def self.control_words_id; end
|
1157
|
+
def self.inflection_list; end
|
1158
|
+
def self.primitive(char, inflection); end
|
1159
|
+
def self.primitive_table; end
|
1160
|
+
def self.token_map; end
|
1161
|
+
end
|
1162
|
+
class Rouge::Lexers::Solidity < Rouge::RegexLexer
|
1163
|
+
def self.builtins; end
|
1164
|
+
def self.constants; end
|
1165
|
+
def self.detect?(text); end
|
1166
|
+
def self.keywords; end
|
1167
|
+
def self.keywords_type; end
|
1168
|
+
def self.reserved; end
|
1169
|
+
end
|
1170
|
+
class Rouge::Lexers::ReasonML < Rouge::Lexers::OCamlCommon
|
1171
|
+
def self.keywords; end
|
1172
|
+
end
|
1173
|
+
class Rouge::Lexers::TSX < Rouge::Lexers::JSX
|
1174
|
+
extend Rouge::Lexers::TypescriptCommon
|
1175
|
+
end
|
1176
|
+
class Rouge::Lexers::TeX < Rouge::RegexLexer
|
1177
|
+
def self.detect?(text); end
|
1178
|
+
end
|
1179
|
+
class Rouge::Lexers::R < Rouge::RegexLexer
|
1180
|
+
def self.detect?(text); end
|
1181
|
+
end
|
1182
|
+
class Rouge::Lexers::OpenEdge < Rouge::RegexLexer
|
1183
|
+
def self.keywords; end
|
1184
|
+
def self.keywords_type; end
|
1185
|
+
end
|
1186
|
+
class Rouge::Lexers::Slice < Rouge::Lexers::C
|
1187
|
+
def self.keywords; end
|
1188
|
+
def self.keywords_type; end
|
1189
|
+
end
|
1190
|
+
class Rouge::Lexers::ECL < Rouge::RegexLexer
|
1191
|
+
def self.class_first; end
|
1192
|
+
def self.class_second; end
|
1193
|
+
def self.functions; end
|
1194
|
+
def self.keywords; end
|
1195
|
+
def self.template; end
|
1196
|
+
def self.type; end
|
1197
|
+
def self.typed; end
|
1198
|
+
end
|
1199
|
+
class Rouge::Lexers::SPARQL < Rouge::RegexLexer
|
1200
|
+
def self.builtins; end
|
1201
|
+
def self.keywords; end
|
1202
|
+
end
|
1203
|
+
class Rouge::Lexers::Java < Rouge::RegexLexer
|
1204
|
+
end
|
1205
|
+
class Rouge::Lexers::Glsl < Rouge::Lexers::C
|
1206
|
+
def self.builtins; end
|
1207
|
+
def self.keywords; end
|
1208
|
+
def self.keywords_type; end
|
1209
|
+
def self.reserved; end
|
1210
|
+
end
|
1211
|
+
class Rouge::Lexers::Ada < Rouge::RegexLexer
|
1212
|
+
def self.idents; end
|
1213
|
+
end
|
1214
|
+
class Rouge::Lexers::CommonLisp < Rouge::RegexLexer
|
1215
|
+
end
|
1216
|
+
class Rouge::Lexers::BIML < Rouge::Lexers::XML
|
1217
|
+
def self.detect?(text); end
|
1218
|
+
end
|
1219
|
+
class Rouge::Lexers::Cython < Rouge::Lexers::Python
|
1220
|
+
def initialize(opts = nil); end
|
1221
|
+
def self.c_keywords; end
|
1222
|
+
def self.keywords; end
|
1223
|
+
end
|
1224
|
+
class Rouge::Lexers::GraphQL < Rouge::RegexLexer
|
1225
|
+
end
|
1226
|
+
class Rouge::Lexers::HOCON < Rouge::Lexers::JSON
|
1227
|
+
end
|
1228
|
+
class Rouge::Lexers::SML < Rouge::RegexLexer
|
1229
|
+
def self.keywords; end
|
1230
|
+
def self.symbolic_reserved; end
|
1231
|
+
def token_for_final_id(id); end
|
1232
|
+
def token_for_id(id); end
|
1233
|
+
def token_for_id_with_dot(id); end
|
1234
|
+
end
|
1235
|
+
class Rouge::Lexers::ObjectiveCpp < Rouge::Lexers::Cpp
|
1236
|
+
extend Rouge::Lexers::ObjectiveCCommon
|
1237
|
+
end
|
1238
|
+
class Rouge::Lexers::BPF < Rouge::RegexLexer
|
1239
|
+
end
|
1240
|
+
class Rouge::Lexers::Plist < Rouge::RegexLexer
|
1241
|
+
end
|
1242
|
+
class Rouge::Lexers::Escape < Rouge::Lexer
|
1243
|
+
def end; end
|
1244
|
+
def initialize(*arg0); end
|
1245
|
+
def lang; end
|
1246
|
+
def start; end
|
1247
|
+
def stream_tokens(str, &b); end
|
1248
|
+
def to_end_regex; end
|
1249
|
+
def to_start_regex; end
|
1250
|
+
end
|
1251
|
+
class Rouge::Lexers::Crystal < Rouge::RegexLexer
|
1252
|
+
def self.detect?(text); end
|
1253
|
+
end
|
1254
|
+
class Rouge::Lexers::Apex < Rouge::RegexLexer
|
1255
|
+
def self.constants; end
|
1256
|
+
def self.declarations; end
|
1257
|
+
def self.keywords; end
|
1258
|
+
def self.soql; end
|
1259
|
+
def self.types; end
|
1260
|
+
end
|
1261
|
+
class Rouge::Lexers::BBCBASIC < Rouge::RegexLexer
|
1262
|
+
def self.constant; end
|
1263
|
+
def self.function; end
|
1264
|
+
def self.operator; end
|
1265
|
+
def self.punctuation; end
|
1266
|
+
def self.statement; end
|
1267
|
+
end
|
1268
|
+
class Rouge::Lexers::PlainText < Rouge::Lexer
|
1269
|
+
def initialize(*arg0); end
|
1270
|
+
def stream_tokens(string, &b); end
|
1271
|
+
def token; end
|
1272
|
+
end
|
1273
|
+
class Rouge::Lexers::SAS < Rouge::RegexLexer
|
1274
|
+
def self.data_step_statements; end
|
1275
|
+
def self.proc_keywords; end
|
1276
|
+
def self.sas_auto_macro_vars; end
|
1277
|
+
def self.sas_functions; end
|
1278
|
+
def self.sas_macro_functions; end
|
1279
|
+
def self.sas_macro_statements; end
|
1280
|
+
def self.sas_proc_names; end
|
1281
|
+
end
|
1282
|
+
class Rouge::Lexers::Gherkin < Rouge::RegexLexer
|
1283
|
+
def self.detect?(text); end
|
1284
|
+
def self.keywords; end
|
1285
|
+
def self.step_regex; end
|
1286
|
+
end
|
1287
|
+
class Rouge::Lexers::HQL < Rouge::Lexers::SQL
|
1288
|
+
def self.keywords; end
|
1289
|
+
def self.keywords_type; end
|
1290
|
+
end
|
1291
|
+
class Rouge::Guesser
|
1292
|
+
def collect_best(lexers, opts = nil, &scorer); end
|
1293
|
+
def filter(lexers); end
|
1294
|
+
def self.guess(guessers, lexers); end
|
1295
|
+
end
|
1296
|
+
class Rouge::Guesser::Ambiguous < StandardError
|
1297
|
+
def alternatives; end
|
1298
|
+
def initialize(alternatives); end
|
1299
|
+
def message; end
|
1300
|
+
end
|
1301
|
+
module Rouge::Guessers
|
1302
|
+
end
|
1303
|
+
module Rouge::Guessers::Util
|
1304
|
+
def get_source(source); end
|
1305
|
+
def test_glob(pattern, path); end
|
1306
|
+
end
|
1307
|
+
module Rouge::Guessers::Util::SourceNormalizer
|
1308
|
+
def self.normalize(source); end
|
1309
|
+
end
|
1310
|
+
class Rouge::Guessers::GlobMapping < Rouge::Guesser
|
1311
|
+
def filename; end
|
1312
|
+
def filter(lexers); end
|
1313
|
+
def glob_map; end
|
1314
|
+
def initialize(glob_map, filename); end
|
1315
|
+
def self.by_pairs(mapping, filename); end
|
1316
|
+
include Rouge::Guessers::Util
|
1317
|
+
end
|
1318
|
+
class Rouge::Guessers::Modeline < Rouge::Guesser
|
1319
|
+
def filter(lexers); end
|
1320
|
+
def initialize(source, opts = nil); end
|
1321
|
+
include Rouge::Guessers::Util
|
1322
|
+
end
|
1323
|
+
class Rouge::Guessers::Filename < Rouge::Guesser
|
1324
|
+
def filter(lexers); end
|
1325
|
+
def fname; end
|
1326
|
+
def initialize(filename); end
|
1327
|
+
end
|
1328
|
+
class Rouge::Guessers::Mimetype < Rouge::Guesser
|
1329
|
+
def filter(lexers); end
|
1330
|
+
def initialize(mimetype); end
|
1331
|
+
def mimetype; end
|
1332
|
+
end
|
1333
|
+
class Rouge::Guessers::Source < Rouge::Guesser
|
1334
|
+
def filter(lexers); end
|
1335
|
+
def initialize(source); end
|
1336
|
+
def source; end
|
1337
|
+
include Rouge::Guessers::Util
|
1338
|
+
end
|
1339
|
+
class Rouge::Guessers::Disambiguation < Rouge::Guesser
|
1340
|
+
def contains?(text); end
|
1341
|
+
def filter(lexers); end
|
1342
|
+
def initialize(filename, source); end
|
1343
|
+
def matches?(re); end
|
1344
|
+
def self.disambiguate(*patterns, &decider); end
|
1345
|
+
def self.disambiguators; end
|
1346
|
+
include Rouge::Guessers::Util
|
1347
|
+
include Rouge::Lexers
|
1348
|
+
end
|
1349
|
+
class Rouge::Guessers::Disambiguation::Disambiguator
|
1350
|
+
def decide!(guesser); end
|
1351
|
+
def initialize(patterns, &decider); end
|
1352
|
+
def match?(filename); end
|
1353
|
+
include Rouge::Guessers::Util
|
1354
|
+
end
|
1355
|
+
class Rouge::Formatter
|
1356
|
+
def escape?(tok); end
|
1357
|
+
def filter_escapes(tokens); end
|
1358
|
+
def format(tokens, &b); end
|
1359
|
+
def initialize(opts = nil); end
|
1360
|
+
def render(tokens); end
|
1361
|
+
def self.disable_escape!; end
|
1362
|
+
def self.enable_escape!; end
|
1363
|
+
def self.escape_enabled?; end
|
1364
|
+
def self.find(tag); end
|
1365
|
+
def self.format(tokens, *a, &b); end
|
1366
|
+
def self.tag(tag = nil); end
|
1367
|
+
def self.with_escape; end
|
1368
|
+
def stream(tokens, &b); end
|
1369
|
+
def token_lines(tokens, &b); end
|
1370
|
+
end
|
1371
|
+
module Rouge::Formatters
|
1372
|
+
end
|
1373
|
+
class Rouge::Formatters::HTML < Rouge::Formatter
|
1374
|
+
def escape_special_html_chars(value); end
|
1375
|
+
def safe_span(tok, safe_val); end
|
1376
|
+
def span(tok, val); end
|
1377
|
+
def stream(tokens, &b); end
|
1378
|
+
end
|
1379
|
+
class Rouge::Formatters::HTMLTable < Rouge::Formatter
|
1380
|
+
def initialize(inner, opts = nil); end
|
1381
|
+
def stream(tokens, &b); end
|
1382
|
+
def style(scope); end
|
1383
|
+
end
|
1384
|
+
class Rouge::Formatters::HTMLPygments < Rouge::Formatter
|
1385
|
+
def initialize(inner, css_class = nil); end
|
1386
|
+
def stream(tokens, &b); end
|
1387
|
+
end
|
1388
|
+
class Rouge::Formatters::HTMLLegacy < Rouge::Formatter
|
1389
|
+
def initialize(opts = nil); end
|
1390
|
+
def stream(tokens, &b); end
|
1391
|
+
end
|
1392
|
+
class Rouge::Formatters::HTMLLinewise < Rouge::Formatter
|
1393
|
+
def initialize(formatter, opts = nil); end
|
1394
|
+
def stream(tokens, &b); end
|
1395
|
+
end
|
1396
|
+
class Rouge::Formatters::HTMLLineHighlighter < Rouge::Formatter
|
1397
|
+
def initialize(delegate, opts = nil); end
|
1398
|
+
def stream(tokens); end
|
1399
|
+
end
|
1400
|
+
class Rouge::Formatters::HTMLLineTable < Rouge::Formatter
|
1401
|
+
def initialize(formatter, opts = nil); end
|
1402
|
+
def stream(tokens, &b); end
|
1403
|
+
end
|
1404
|
+
class Rouge::Formatters::HTMLInline < Rouge::Formatters::HTML
|
1405
|
+
def initialize(theme); end
|
1406
|
+
def safe_span(tok, safe_val); end
|
1407
|
+
end
|
1408
|
+
class Rouge::Formatters::Terminal256 < Rouge::Formatter
|
1409
|
+
def escape_sequence(token); end
|
1410
|
+
def get_style(token); end
|
1411
|
+
def initialize(theme = nil); end
|
1412
|
+
def make_escape_sequence(style); end
|
1413
|
+
def stream(tokens, &b); end
|
1414
|
+
def text_style; end
|
1415
|
+
def theme; end
|
1416
|
+
end
|
1417
|
+
class Rouge::Formatters::Terminal256::EscapeSequence
|
1418
|
+
def bg; end
|
1419
|
+
def escape(attrs); end
|
1420
|
+
def fg; end
|
1421
|
+
def initialize(style); end
|
1422
|
+
def reset_string; end
|
1423
|
+
def self.closest_color(r, g, b); end
|
1424
|
+
def self.color_index(color); end
|
1425
|
+
def self.get_rgb(color); end
|
1426
|
+
def self.xterm_colors; end
|
1427
|
+
def stream_value(val, &b); end
|
1428
|
+
def style; end
|
1429
|
+
def style_string; end
|
1430
|
+
end
|
1431
|
+
class Rouge::Formatters::Terminal256::Unescape < Rouge::Formatters::Terminal256::EscapeSequence
|
1432
|
+
def initialize(*arg0); end
|
1433
|
+
def reset_string(*arg0); end
|
1434
|
+
def stream_value(val); end
|
1435
|
+
def style_string(*arg0); end
|
1436
|
+
end
|
1437
|
+
class Rouge::Formatters::TerminalTruecolor < Rouge::Formatters::Terminal256
|
1438
|
+
def make_escape_sequence(style); end
|
1439
|
+
end
|
1440
|
+
class Rouge::Formatters::TerminalTruecolor::TruecolorEscapeSequence < Rouge::Formatters::Terminal256::EscapeSequence
|
1441
|
+
def get_rgb(color); end
|
1442
|
+
def style_string; end
|
1443
|
+
end
|
1444
|
+
class Rouge::Formatters::Tex < Rouge::Formatter
|
1445
|
+
def escape_tex(str); end
|
1446
|
+
def hphantom_tag(tok, val); end
|
1447
|
+
def initialize(opts = nil); end
|
1448
|
+
def render_line(line, &b); end
|
1449
|
+
def stream(tokens, &b); end
|
1450
|
+
def tag(tok, val); end
|
1451
|
+
end
|
1452
|
+
class Rouge::Formatters::Null < Rouge::Formatter
|
1453
|
+
def initialize(*arg0); end
|
1454
|
+
def stream(tokens, &b); end
|
1455
|
+
end
|
1456
|
+
class Rouge::Theme
|
1457
|
+
def get_own_style(token); end
|
1458
|
+
def get_style(token); end
|
1459
|
+
def name; end
|
1460
|
+
def palette(*a); end
|
1461
|
+
def self.base_style; end
|
1462
|
+
def self.find(n); end
|
1463
|
+
def self.get_own_style(token); end
|
1464
|
+
def self.get_style(token); end
|
1465
|
+
def self.name(n = nil); end
|
1466
|
+
def self.palette(arg = nil); end
|
1467
|
+
def self.register(name); end
|
1468
|
+
def self.registry; end
|
1469
|
+
def self.render(opts = nil, &b); end
|
1470
|
+
def self.style(*tokens); end
|
1471
|
+
def self.styles; end
|
1472
|
+
def styles; end
|
1473
|
+
include Rouge::Token::Tokens
|
1474
|
+
end
|
1475
|
+
class Rouge::Theme::Style < Hash
|
1476
|
+
def bg; end
|
1477
|
+
def fg; end
|
1478
|
+
def initialize(theme, hsh = nil); end
|
1479
|
+
def render(selector, &b); end
|
1480
|
+
def rendered_rules(&b); end
|
1481
|
+
end
|
1482
|
+
module Rouge::HasModes
|
1483
|
+
def get_mode(mode); end
|
1484
|
+
def mode!(arg); end
|
1485
|
+
def mode(arg = nil); end
|
1486
|
+
def set_mode!(mode); end
|
1487
|
+
end
|
1488
|
+
class Rouge::CSSTheme < Rouge::Theme
|
1489
|
+
def css_selector(token); end
|
1490
|
+
def inflate_token(tok, &b); end
|
1491
|
+
def initialize(opts = nil); end
|
1492
|
+
def render(&b); end
|
1493
|
+
def render_base(selector, &b); end
|
1494
|
+
def single_css_selector(token); end
|
1495
|
+
def style_for(tok); end
|
1496
|
+
end
|
1497
|
+
class Rouge::TexThemeRenderer
|
1498
|
+
def camelize(name); end
|
1499
|
+
def gen_inline(name, &b); end
|
1500
|
+
def initialize(theme, opts = nil); end
|
1501
|
+
def inline_name(color); end
|
1502
|
+
def palette_name(name); end
|
1503
|
+
def render(&b); end
|
1504
|
+
def render_blank(tok, &b); end
|
1505
|
+
def render_inline_pallete(style, &b); end
|
1506
|
+
def render_palette(palette, &b); end
|
1507
|
+
def render_style(tok, style, &b); end
|
1508
|
+
def token_name(tok); end
|
1509
|
+
end
|
1510
|
+
module Rouge::Themes
|
1511
|
+
end
|
1512
|
+
class Rouge::Themes::ThankfulEyes < Rouge::CSSTheme
|
1513
|
+
end
|
1514
|
+
class Rouge::Themes::Colorful < Rouge::CSSTheme
|
1515
|
+
end
|
1516
|
+
class Rouge::Themes::Base16 < Rouge::CSSTheme
|
1517
|
+
def self.dark!; end
|
1518
|
+
def self.light!; end
|
1519
|
+
def self.make_dark!; end
|
1520
|
+
def self.make_light!; end
|
1521
|
+
extend Rouge::HasModes
|
1522
|
+
end
|
1523
|
+
class Rouge::Themes::Base16::Solarized < Rouge::Themes::Base16
|
1524
|
+
end
|
1525
|
+
class Rouge::Themes::Base16::Monokai < Rouge::Themes::Base16
|
1526
|
+
end
|
1527
|
+
class Rouge::Themes::Github < Rouge::CSSTheme
|
1528
|
+
end
|
1529
|
+
class Rouge::Themes::IgorPro < Rouge::CSSTheme
|
1530
|
+
end
|
1531
|
+
class Rouge::Themes::Monokai < Rouge::CSSTheme
|
1532
|
+
end
|
1533
|
+
class Rouge::Themes::Molokai < Rouge::CSSTheme
|
1534
|
+
end
|
1535
|
+
class Rouge::Themes::MonokaiSublime < Rouge::CSSTheme
|
1536
|
+
end
|
1537
|
+
class Rouge::Themes::Gruvbox < Rouge::CSSTheme
|
1538
|
+
def self.dark!; end
|
1539
|
+
def self.light!; end
|
1540
|
+
def self.make_dark!; end
|
1541
|
+
def self.make_light!; end
|
1542
|
+
extend Rouge::HasModes
|
1543
|
+
end
|
1544
|
+
class Rouge::Themes::Tulip < Rouge::CSSTheme
|
1545
|
+
end
|
1546
|
+
class Rouge::Themes::Pastie < Rouge::CSSTheme
|
1547
|
+
end
|
1548
|
+
class Rouge::Themes::BlackWhiteTheme < Rouge::CSSTheme
|
1549
|
+
end
|
1550
|
+
class Rouge::Themes::Magritte < Rouge::CSSTheme
|
1551
|
+
end
|