sdl4r 0.9.6 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. data/CHANGELOG +49 -2
  2. data/Rakefile +35 -5
  3. data/TODO +29 -3
  4. data/doc/classes/SDL4R.html +386 -674
  5. data/doc/classes/SDL4R/Parser.html +183 -307
  6. data/doc/classes/SDL4R/ParserTest.html +357 -0
  7. data/doc/classes/SDL4R/SDL4RTest.html +532 -0
  8. data/doc/classes/SDL4R/SDLTest.html +77 -0
  9. data/doc/classes/SDL4R/SdlBinary.html +180 -295
  10. data/doc/classes/SDL4R/SdlParseError.html +105 -180
  11. data/doc/classes/SDL4R/SdlTimeSpan.html +628 -939
  12. data/doc/classes/SDL4R/Tag.html +1236 -2036
  13. data/doc/classes/SDL4R/TagTest.html +292 -0
  14. data/doc/created.rid +1 -1
  15. data/doc/files/CHANGELOG.html +183 -184
  16. data/doc/files/LICENSE.html +496 -755
  17. data/doc/files/README.html +399 -623
  18. data/doc/files/lib/sdl4r/parser/reader_rb.html +53 -106
  19. data/doc/files/lib/sdl4r/parser/time_span_with_zone_rb.html +53 -106
  20. data/doc/files/lib/sdl4r/parser/token_rb.html +53 -106
  21. data/doc/files/lib/sdl4r/parser/tokenizer_rb.html +53 -106
  22. data/doc/files/lib/sdl4r/parser_rb.html +60 -112
  23. data/doc/files/lib/sdl4r/sdl4r_rb.html +62 -114
  24. data/doc/files/lib/sdl4r/sdl_binary_rb.html +53 -106
  25. data/doc/files/lib/sdl4r/sdl_parse_error_rb.html +53 -106
  26. data/doc/files/lib/sdl4r/sdl_time_span_rb.html +53 -106
  27. data/doc/files/lib/sdl4r/tag_rb.html +62 -114
  28. data/doc/files/lib/sdl4r_rb.html +53 -106
  29. data/doc/files/test/sdl4r/parser_test_rb.html +63 -0
  30. data/doc/files/test/sdl4r/sdl4r_test_rb.html +66 -0
  31. data/doc/files/test/sdl4r/sdl_test_rb.html +63 -0
  32. data/doc/files/test/sdl4r/tag_test_rb.html +63 -0
  33. data/doc/fr_class_index.html +19 -32
  34. data/doc/fr_file_index.html +37 -40
  35. data/doc/fr_method_index.html +4707 -114
  36. data/doc/index.html +14 -23
  37. data/doc/rdoc-style.css +323 -203
  38. data/lib/sdl4r/parser/reader.rb +26 -19
  39. data/lib/sdl4r/parser/token.rb +3 -3
  40. data/lib/sdl4r/parser/tokenizer.rb +93 -98
  41. data/lib/sdl4r/sdl_parse_error.rb +2 -2
  42. data/lib/sdl4r/tag.rb +127 -73
  43. data/test/sdl4r/parser_test.rb +109 -11
  44. data/test/sdl4r/tag_test.rb +73 -4
  45. metadata +15 -12
@@ -1,24 +1,15 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
5
-
6
- <!--
7
-
8
- RDoc: Simple Declarative Language for Ruby
9
-
10
- -->
11
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
12
- <head>
13
- <title>RDoc: Simple Declarative Language for Ruby</title>
14
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
15
- </head>
16
- <frameset rows="20%, 80%">
17
- <frameset cols="25%,35%,45%">
18
- <frame src="fr_file_index.html" title="Files" name="Files" />
19
- <frame src="fr_class_index.html" name="Classes" />
20
- <frame src="fr_method_index.html" name="Methods" />
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2
+ <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
3
+ <head>
4
+ <title>RDoc: Simple Declarative Language for Ruby</title>
5
+ <meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
6
+ </head>
7
+ <frameset border='1' bordercolor='gray' cols='20%, *' frameborder='1'>
8
+ <frameset rows='15%, 35%, 50%'>
9
+ <frame name='Files' src='fr_file_index.html' title='Files'></frame>
10
+ <frame name='Classes' src='fr_class_index.html'></frame>
11
+ <frame name='Methods' src='fr_method_index.html'></frame>
21
12
  </frameset>
22
- <frame src="files/README.html" name="docwin" />
23
- </frameset>
24
- </html>
13
+ <frame name='docwin' src='files/README.html'></frame>
14
+ </frameset>
15
+ </html>
@@ -1,208 +1,328 @@
1
+ html, body {
2
+ height: 100%; }
1
3
 
2
4
  body {
3
- font-family: Verdana,Arial,Helvetica,sans-serif;
4
- font-size: 90%;
5
- margin: 0;
6
- margin-left: 40px;
7
- padding: 0;
8
- background: white;
9
- }
10
-
11
- h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
12
- h1 { font-size: 150%; }
13
- h2,h3,h4 { margin-top: 1em; }
14
-
15
- a { background: #eef; color: #039; text-decoration: none; }
16
- a:hover { background: #039; color: #eef; }
17
-
18
- /* Override the base stylesheet's Anchor inside a table cell */
19
- td > a {
20
- background: transparent;
21
- color: #039;
22
- text-decoration: none;
23
- }
24
-
25
- /* and inside a section title */
26
- .section-title > a {
27
- background: transparent;
28
- color: #eee;
29
- text-decoration: none;
30
- }
31
-
32
- /* === Structural elements =================================== */
33
-
34
- div#index {
35
- margin: 0;
36
- margin-left: -40px;
37
- padding: 0;
38
- font-size: 90%;
39
- }
40
-
41
-
42
- div#index a {
43
- margin-left: 0.7em;
44
- }
45
-
46
- div#index .section-bar {
47
- margin-left: 0px;
48
- padding-left: 0.7em;
49
- background: #ccc;
50
- font-size: small;
51
- }
52
-
53
-
54
- div#classHeader, div#fileHeader {
55
- width: auto;
56
- color: white;
57
- padding: 0.5em 1.5em 0.5em 1.5em;
58
- margin: 0;
59
- margin-left: -40px;
60
- border-bottom: 3px solid #006;
61
- }
62
-
63
- div#classHeader a, div#fileHeader a {
64
- background: inherit;
65
- color: white;
66
- }
67
-
68
- div#classHeader td, div#fileHeader td {
69
- background: inherit;
70
- color: white;
71
- }
72
-
73
-
74
- div#fileHeader {
75
- background: #057;
76
- }
77
-
78
- div#classHeader {
79
- background: #048;
80
- }
81
-
82
-
83
- .class-name-in-header {
84
- font-size: 180%;
85
- font-weight: bold;
86
- }
87
-
88
-
89
- div#bodyContent {
90
- padding: 0 1.5em 0 1.5em;
91
- }
92
-
93
- div#description {
94
- padding: 0.5em 1.5em;
95
- background: #efefef;
96
- border: 1px dotted #999;
97
- }
98
-
99
- div#description h1,h2,h3,h4,h5,h6 {
100
- color: #125;;
101
- background: transparent;
102
- }
103
-
104
- div#validator-badges {
105
- text-align: center;
106
- }
107
- div#validator-badges img { border: 0; }
108
-
109
- div#copyright {
5
+ font-family: Lucida Grande, Verdana, Arial, Helvetica, sans-serif;
6
+ font-size: 90%;
7
+ margin: 0;
8
+ padding: 0;
9
+ background: white;
10
+ color: black; }
11
+
12
+ #wrapper {
13
+ min-height: 100%;
14
+ height: auto !important;
15
+ height: 100%;
16
+ margin: 0 auto -43px; }
17
+
18
+ #footer-push {
19
+ height: 43px; }
20
+
21
+ div.header, #footer {
22
+ background: #eee; }
23
+
24
+ #footer {
25
+ border-top: 1px solid silver;
26
+ margin-top: 12px;
27
+ padding: 0 2em;
28
+ line-height: 30px;
29
+ text-align: center;
30
+ font-variant: small-caps;
31
+ font-size: 95%; }
32
+
33
+ .clearing:after {
34
+ content: ".";
35
+ visibility: hidden;
36
+ height: 0;
37
+ display: block;
38
+ clear: both; }
39
+ * html .clearing {
40
+ height: 1px; }
41
+ .clearing *:first-child + html {
42
+ overflow: hidden; }
43
+
44
+ h1, h2, h3, h4, h5, h6 {
45
+ margin: 0;
46
+ font-weight: normal; }
47
+
48
+ a {
49
+ color: #0b3e71; }
50
+ a:hover {
51
+ background: #336699;
52
+ text-decoration: none;
53
+ color: #eef; }
54
+
55
+ #diagram img {
56
+ border: 0; }
57
+
58
+ #description a, .method .description a, .header a {
59
+ color: #336699; }
60
+ #description a:hover, .method .description a:hover, .header a:hover {
61
+ color: #eee; }
62
+ #description h1 a, #description h2 a, #description h3 a, #description h4 a, #description h5 a, #description h6 a, .method .description h1 a, .method .description h2 a, .method .description h3 a, .method .description h4 a, .method .description h5 a, .method .description h6 a, .header h1 a, .header h2 a, .header h3 a, .header h4 a, .header h5 a, .header h6 a {
63
+ color: #0b3e71; }
64
+
65
+ ol {
66
+ margin: 0;
67
+ padding: 0;
68
+ list-style: none; }
69
+ ol li {
70
+ margin-left: 0;
71
+ white-space: nowrap; }
72
+ ol li.other {
73
+ display: none; }
74
+
75
+ ol.expanded li.other {
76
+ display: list-item; }
77
+
78
+ table {
79
+ margin-bottom: 1em;
80
+ font-size: 1em;
81
+ border-collapse: collapse; }
82
+ table td, table th {
83
+ padding: .4em .8em; }
84
+ table thead {
85
+ background-color: #e8e8e8; }
86
+ table thead th {
87
+ font-variant: small-caps;
88
+ color: #666666; }
89
+ table tr {
90
+ border-bottom: 1px solid silver; }
91
+
92
+ #index a.show, div.header a.show {
93
+ text-decoration: underline;
94
+ font-style: italic;
95
+ color: #666666; }
96
+ #index a.show:after, div.header a.show:after {
97
+ content: " ..."; }
98
+ #index a.show:hover, div.header a.show:hover {
99
+ color: black;
100
+ background: #ffe; }
101
+
102
+ #index {
103
+ font: 85%/1.2 Arial, Helvetica, sans-serif; }
104
+ #index a {
105
+ text-decoration: none; }
106
+ #index h1 {
107
+ padding: .2em .5em .1em;
108
+ background: #ccc;
109
+ font: small-caps 1.2em Georgia, serif;
110
110
  color: #333;
111
- background: #efefef;
112
- font: 0.75em sans-serif;
113
- margin-top: 5em;
114
- margin-bottom: 0;
115
- padding: 0.5em 2em;
116
- }
117
-
118
-
119
- /* === Classes =================================== */
120
-
121
- table.header-table {
122
- color: white;
123
- font-size: small;
124
- }
125
-
126
- .type-note {
127
- font-size: small;
128
- color: #DEDEDE;
129
- }
130
-
131
- .xxsection-bar {
111
+ border-bottom: 1px solid gray; }
112
+ #index form {
113
+ margin: 0;
114
+ padding: 0; }
115
+ #index form input {
116
+ margin: .4em 3px 0 .4em;
117
+ width: 80%; }
118
+ #index form #search.untouched {
119
+ color: #777777; }
120
+ #index form .clear_button {
121
+ -moz-border-radius: 7px;
122
+ -webkit-border-radius: 7px;
123
+ background: #AAA;
124
+ color: white;
125
+ padding: 0 5px 1px 5px;
126
+ cursor: pointer; }
127
+ #index ol {
128
+ padding: .4em .5em; }
129
+ #index ol li {
130
+ white-space: nowrap; }
131
+ #index #index-entries li a {
132
+ padding: 1px 2px; }
133
+ #index #index-entries.classes {
134
+ font-size: 1.1em; }
135
+ #index #index-entries.classes ol {
136
+ padding: 0; }
137
+ #index #index-entries.classes span.nodoc {
138
+ display: none; }
139
+ #index #index-entries.classes span.nodoc, #index #index-entries.classes a {
140
+ font-weight: bold; }
141
+ #index #index-entries.classes .parent {
142
+ font-weight: normal; }
143
+ #index #index-entries.methods li, #index #search-results.methods li {
144
+ margin-bottom: 0.2em; }
145
+ #index #index-entries.methods li a .method_name, #index #search-results.methods li a .method_name {
146
+ margin-right: 0.25em; }
147
+ #index #index-entries.methods li a .module_name, #index #search-results.methods li a .module_name {
148
+ color: #666666; }
149
+ #index #index-entries.methods li a:hover .module_name, #index #search-results.methods li a:hover .module_name {
150
+ color: #ddd; }
151
+
152
+ #attribute-list .context-item-name {
153
+ font-weight: bold; }
154
+
155
+ div.header {
156
+ font-size: 80%;
157
+ padding: .5em 2%;
158
+ font-family: Arial, Helvetica, sans-serif;
159
+ border-bottom: 1px solid silver; }
160
+ div.header .name {
161
+ font-size: 1.6em;
162
+ font-family: Georgia, serif; }
163
+ div.header .name .type {
164
+ color: #666666;
165
+ font-size: 80%;
166
+ font-variant: small-caps; }
167
+ div.header h1.name {
168
+ font-size: 2.2em; }
169
+ div.header .paths, div.header .last-update, div.header .parent {
170
+ color: #666666; }
171
+ div.header .last-update .datetime {
172
+ color: #484848; }
173
+ div.header .parent {
174
+ margin-top: .3em; }
175
+ div.header .parent strong {
176
+ font-weight: normal;
177
+ color: #484848; }
178
+
179
+ #content {
180
+ padding: 12px 2%; }
181
+ div.class #content {
182
+ position: relative;
183
+ width: 72%; }
184
+ #content pre, #content .method .synopsis {
185
+ font: 14px Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace; }
186
+ #content pre {
187
+ color: black;
132
188
  background: #eee;
133
- color: #333;
134
- padding: 3px;
135
- }
136
-
137
- .section-bar {
138
- color: #333;
139
- border-bottom: 1px solid #999;
140
- margin-left: -20px;
141
- }
142
-
143
-
144
- .section-title {
145
- background: #79a;
146
- color: #eee;
147
- padding: 3px;
148
- margin-top: 2em;
149
- margin-left: -30px;
150
- border: 1px solid #999;
151
- }
152
-
153
- .top-aligned-row { vertical-align: top }
154
- .bottom-aligned-row { vertical-align: bottom }
155
-
156
- /* --- Context section classes ----------------------- */
157
-
158
- .context-row { }
159
- .context-item-name { font-family: monospace; font-weight: bold; color: black; }
160
- .context-item-value { font-size: small; color: #448; }
161
- .context-item-desc { color: #333; padding-left: 2em; }
162
-
163
- /* --- Method classes -------------------------- */
164
- .method-detail {
165
- background: #efefef;
166
- padding: 0;
167
- margin-top: 0.5em;
168
- margin-bottom: 1em;
169
- border: 1px dotted #ccc;
170
- }
171
- .method-heading {
172
- color: black;
173
- background: #ccc;
174
- border-bottom: 1px solid #666;
175
- padding: 0.2em 0.5em 0 0.5em;
176
- }
177
- .method-signature { color: black; background: inherit; }
178
- .method-name { font-weight: bold; }
179
- .method-args { font-style: italic; }
180
- .method-description { padding: 0 0.5em 0 0.5em; }
181
-
182
- /* --- Source code sections -------------------- */
183
-
184
- a.source-toggle { font-size: 90%; }
185
- div.method-source-code {
186
- background: #262626;
189
+ border: 1px solid silver;
190
+ padding: .5em .8em;
191
+ overflow: auto; }
192
+ #content p code, #content p tt, #content li code, #content li tt, #content dl code, #content dl tt {
193
+ font: 14px Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
194
+ background: #ffffe3;
195
+ padding: 2px 3px;
196
+ line-height: 1.4; }
197
+ #content h1 code, #content h1 tt, #content h2 code, #content h2 tt, #content h3 code, #content h3 tt, #content h4 code, #content h4 tt, #content h5 code, #content h5 tt, #content h6 code, #content h6 tt {
198
+ font-size: 1.1em; }
199
+ #content #text {
200
+ position: relative; }
201
+ #content #description p {
202
+ margin-top: .5em; }
203
+ #content #description h1, #content #description h2, #content #description h3, #content #description h4, #content #description h5, #content #description h6 {
204
+ font-family: Georgia, serif; }
205
+ #content #description h1 {
206
+ font-size: 2.2em;
207
+ margin-bottom: .2em;
208
+ border-bottom: 3px double #d8d8d8;
209
+ padding-bottom: .1em; }
210
+ #content #description h2 {
211
+ font-size: 1.8em;
212
+ color: #0e3062;
213
+ margin: .8em 0 .3em 0; }
214
+ #content #description h3 {
215
+ font-size: 1.6em;
216
+ margin: .8em 0 .3em 0;
217
+ color: #666666; }
218
+ #content #description h4 {
219
+ font-size: 1.4em;
220
+ margin: .8em 0 .3em 0; }
221
+ #content #description h5 {
222
+ font-size: 1.2em;
223
+ margin: .8em 0 .3em 0;
224
+ color: #0e3062; }
225
+ #content #description h6 {
226
+ font-size: 1.0em;
227
+ margin: .8em 0 .3em 0;
228
+ color: #666666; }
229
+ #content #description ul, #content #description ol, #content .method .description ul, #content .method .description ol {
230
+ margin: .8em 0;
231
+ padding-left: 1.5em; }
232
+ #content #description ol, #content .method .description ol {
233
+ list-style: decimal; }
234
+ #content #description ol li, #content .method .description ol li {
235
+ white-space: normal; }
236
+
237
+ #method-list {
238
+ position: absolute;
239
+ top: 0px;
240
+ right: -33%;
241
+ width: 28%;
242
+ background: #eee;
243
+ border: 1px solid silver;
244
+ padding: .4em 1%;
245
+ overflow: hidden; }
246
+ #method-list h2 {
247
+ font-size: 1.3em; }
248
+ #method-list h3 {
249
+ font-variant: small-caps;
250
+ text-transform: capitalize;
251
+ font-family: Georgia, serif;
252
+ color: #666;
253
+ font-size: 1.1em; }
254
+ #method-list ol {
255
+ padding: 0 0 .5em .5em; }
256
+
257
+ #context {
258
+ border-top: 1px dashed silver;
259
+ margin-top: 1em;
260
+ margin-bottom: 1em; }
261
+
262
+ #context h2, #section h2 {
263
+ font: small-caps 1.2em Georgia, serif;
264
+ color: #444;
265
+ margin: 1em 0 .2em 0; }
266
+
267
+ #methods .method {
268
+ border: 1px solid silver;
269
+ margin-top: .5em;
270
+ background: #eee; }
271
+ #methods .method .synopsis {
272
+ color: black;
273
+ background: silver;
274
+ padding: .2em 1em; }
275
+ #methods .method .synopsis .name {
276
+ font-weight: bold; }
277
+ #methods .method .synopsis a {
278
+ text-decoration: none; }
279
+ #methods .method .description {
280
+ padding: 0 1em; }
281
+ #methods .method .description pre {
282
+ background: #f8f8f8; }
283
+ #methods .method .source {
284
+ margin: .5em 0; }
285
+ #methods .method .source-toggle {
286
+ font-size: 85%;
287
+ margin-left: 1em; }
288
+ #methods .public-class {
289
+ background: #ffffe4; }
290
+ #methods .public-instance .synopsis {
291
+ color: #eee;
292
+ background: #336699; }
293
+
294
+ #content .method .source pre {
295
+ background: #262626;
296
+ color: #ffdead;
297
+ margin: 1em;
298
+ padding: 0.5em;
299
+ border: 1px dashed #999;
300
+ overflow: auto; }
301
+ #content .method .source pre .ruby-constant {
302
+ color: #7fffd4;
303
+ background: transparent; }
304
+ #content .method .source pre .ruby-keyword {
305
+ color: #00ffff;
306
+ background: transparent; }
307
+ #content .method .source pre .ruby-ivar {
308
+ color: #eedd82;
309
+ background: transparent; }
310
+ #content .method .source pre .ruby-operator {
311
+ color: #00ffee;
312
+ background: transparent; }
313
+ #content .method .source pre .ruby-identifier {
187
314
  color: #ffdead;
188
- margin: 1em;
189
- padding: 0.5em;
190
- border: 1px dashed #999;
191
- overflow: hidden;
192
- }
193
-
194
- div.method-source-code pre { color: #ffdead; overflow: hidden; }
195
-
196
- /* --- Ruby keyword styles --------------------- */
197
-
198
- .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
199
-
200
- .ruby-constant { color: #7fffd4; background: transparent; }
201
- .ruby-keyword { color: #00ffff; background: transparent; }
202
- .ruby-ivar { color: #eedd82; background: transparent; }
203
- .ruby-operator { color: #00ffee; background: transparent; }
204
- .ruby-identifier { color: #ffdead; background: transparent; }
205
- .ruby-node { color: #ffa07a; background: transparent; }
206
- .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
207
- .ruby-regexp { color: #ffa07a; background: transparent; }
208
- .ruby-value { color: #7fffd4; background: transparent; }
315
+ background: transparent; }
316
+ #content .method .source pre .ruby-node {
317
+ color: #ffa07a;
318
+ background: transparent; }
319
+ #content .method .source pre .ruby-comment {
320
+ color: #b22222;
321
+ font-weight: bold;
322
+ background: transparent; }
323
+ #content .method .source pre .ruby-regexp {
324
+ color: #ffa07a;
325
+ background: transparent; }
326
+ #content .method .source pre .ruby-value {
327
+ color: #7fffd4;
328
+ background: transparent; }