sdl4r 0.9.4 → 0.9.5
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.
- data/CHANGELOG +28 -0
- data/README +9 -0
- data/Rakefile +3 -2
- data/TODO +78 -0
- data/doc/classes/SDL4R.html +207 -53
- data/doc/classes/SDL4R/Parser.html +111 -49
- data/doc/classes/SDL4R/SdlBinary.html +125 -65
- data/doc/classes/SDL4R/SdlParseError.html +52 -30
- data/doc/classes/SDL4R/SdlTimeSpan.html +497 -279
- data/doc/classes/SDL4R/Tag.html +866 -514
- data/doc/created.rid +1 -1
- data/doc/files/CHANGELOG.html +52 -25
- data/doc/files/LICENSE.html +43 -52
- data/doc/files/README.html +52 -43
- data/doc/files/lib/sdl4r/parser/reader_rb.html +16 -27
- data/doc/files/lib/sdl4r/parser/time_span_with_zone_rb.html +17 -21
- data/doc/files/lib/sdl4r/parser/token_rb.html +17 -21
- data/doc/files/lib/sdl4r/parser/tokenizer_rb.html +17 -21
- data/doc/files/lib/sdl4r/parser_rb.html +21 -22
- data/doc/files/lib/sdl4r/sdl4r_rb.html +25 -25
- data/doc/files/lib/sdl4r/sdl_binary_rb.html +17 -21
- data/doc/files/lib/sdl4r/sdl_parse_error_rb.html +17 -21
- data/doc/files/lib/sdl4r/sdl_time_span_rb.html +17 -21
- data/doc/files/lib/sdl4r/tag_rb.html +25 -24
- data/doc/files/lib/sdl4r_rb.html +17 -21
- data/doc/fr_class_index.html +15 -12
- data/doc/fr_file_index.html +23 -12
- data/doc/fr_method_index.html +176 -91
- data/doc/index.html +7 -10
- data/doc/rdoc-style.css +210 -119
- data/lib/sdl4r.rb +3 -0
- data/lib/sdl4r/parser.rb +3 -5
- data/lib/sdl4r/parser/reader.rb +3 -3
- data/lib/sdl4r/parser/time_span_with_zone.rb +3 -0
- data/lib/sdl4r/parser/token.rb +3 -0
- data/lib/sdl4r/parser/tokenizer.rb +3 -0
- data/lib/sdl4r/sdl4r.rb +20 -8
- data/lib/sdl4r/sdl_binary.rb +3 -0
- data/lib/sdl4r/sdl_parse_error.rb +3 -0
- data/lib/sdl4r/sdl_time_span.rb +3 -0
- data/lib/sdl4r/tag.rb +18 -4
- data/test/sdl4r/parser_test.rb +7 -2
- data/test/sdl4r/sdl4r_test.rb +6 -2
- data/test/sdl4r/sdl_test.rb +3 -0
- data/test/sdl4r/tag_test.rb +3 -0
- metadata +72 -74
- data/TODO.txt +0 -177
data/doc/index.html
CHANGED
@@ -1,17 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
5
|
-
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
4
|
<!--
|
7
5
|
|
8
|
-
Simple Declarative Language for Ruby
|
6
|
+
RDoc: Simple Declarative Language for Ruby
|
9
7
|
|
10
8
|
-->
|
11
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
12
9
|
<head>
|
13
|
-
<title>Simple Declarative Language for Ruby</title>
|
14
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
10
|
+
<title>RDoc: Simple Declarative Language for Ruby</title>
|
11
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
15
12
|
</head>
|
16
13
|
<frameset rows="20%, 80%">
|
17
14
|
<frameset cols="25%,35%,45%">
|
@@ -21,4 +18,4 @@
|
|
21
18
|
</frameset>
|
22
19
|
<frame src="files/README.html" name="docwin" />
|
23
20
|
</frameset>
|
24
|
-
</html>
|
21
|
+
</html>
|
data/doc/rdoc-style.css
CHANGED
@@ -1,29 +1,46 @@
|
|
1
|
-
|
2
1
|
body {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
font-family: Verdana,Arial,Helvetica,sans-serif;
|
3
|
+
font-size: 90%;
|
4
|
+
margin: 0;
|
5
|
+
margin-left: 40px;
|
6
|
+
padding: 0;
|
7
|
+
background: white;
|
8
|
+
color: black;
|
9
|
+
}
|
10
|
+
|
11
|
+
h1, h2, h3, h4 {
|
12
|
+
margin: 0;
|
13
|
+
background: transparent;
|
9
14
|
}
|
10
15
|
|
11
|
-
h1
|
12
|
-
|
13
|
-
|
16
|
+
h1 {
|
17
|
+
font-size: 150%;
|
18
|
+
}
|
19
|
+
|
20
|
+
h2,h3,h4 {
|
21
|
+
margin-top: 1em;
|
22
|
+
}
|
23
|
+
|
24
|
+
:link, :visited {
|
25
|
+
background: #eef;
|
26
|
+
color: #039;
|
27
|
+
text-decoration: none;
|
28
|
+
}
|
14
29
|
|
15
|
-
|
16
|
-
|
30
|
+
:link:hover, :visited:hover {
|
31
|
+
background: #039;
|
32
|
+
color: #eef;
|
33
|
+
}
|
17
34
|
|
18
35
|
/* Override the base stylesheet's Anchor inside a table cell */
|
19
|
-
td >
|
36
|
+
td > :link, td > :visited {
|
20
37
|
background: transparent;
|
21
38
|
color: #039;
|
22
39
|
text-decoration: none;
|
23
40
|
}
|
24
41
|
|
25
42
|
/* and inside a section title */
|
26
|
-
.section-title >
|
43
|
+
.section-title > :link, .section-title > :visited {
|
27
44
|
background: transparent;
|
28
45
|
color: #eee;
|
29
46
|
text-decoration: none;
|
@@ -31,178 +48,252 @@ td > a {
|
|
31
48
|
|
32
49
|
/* === Structural elements =================================== */
|
33
50
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
51
|
+
.index {
|
52
|
+
margin: 0;
|
53
|
+
margin-left: -40px;
|
54
|
+
padding: 0;
|
55
|
+
font-size: 90%;
|
39
56
|
}
|
40
57
|
|
41
|
-
|
42
|
-
|
43
|
-
margin-left: 0.7em;
|
58
|
+
.index :link, .index :visited {
|
59
|
+
margin-left: 0.7em;
|
44
60
|
}
|
45
61
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
62
|
+
.index .section-bar {
|
63
|
+
margin-left: 0px;
|
64
|
+
padding-left: 0.7em;
|
65
|
+
background: #ccc;
|
66
|
+
font-size: small;
|
51
67
|
}
|
52
68
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
border-bottom: 3px solid #006;
|
69
|
+
#classHeader, #fileHeader {
|
70
|
+
width: auto;
|
71
|
+
color: white;
|
72
|
+
padding: 0.5em 1.5em 0.5em 1.5em;
|
73
|
+
margin: 0;
|
74
|
+
margin-left: -40px;
|
75
|
+
border-bottom: 3px solid #006;
|
61
76
|
}
|
62
77
|
|
63
|
-
|
64
|
-
|
65
|
-
|
78
|
+
#classHeader :link, #fileHeader :link,
|
79
|
+
#classHeader :visited, #fileHeader :visited {
|
80
|
+
background: inherit;
|
81
|
+
color: white;
|
66
82
|
}
|
67
83
|
|
68
|
-
|
69
|
-
|
70
|
-
|
84
|
+
#classHeader td, #fileHeader td {
|
85
|
+
background: inherit;
|
86
|
+
color: white;
|
71
87
|
}
|
72
88
|
|
73
|
-
|
74
|
-
|
75
|
-
background: #057;
|
89
|
+
#fileHeader {
|
90
|
+
background: #057;
|
76
91
|
}
|
77
92
|
|
78
|
-
|
79
|
-
|
93
|
+
#classHeader {
|
94
|
+
background: #048;
|
80
95
|
}
|
81
96
|
|
82
|
-
|
83
97
|
.class-name-in-header {
|
84
98
|
font-size: 180%;
|
85
99
|
font-weight: bold;
|
86
100
|
}
|
87
101
|
|
88
|
-
|
89
|
-
|
90
|
-
padding: 0 1.5em 0 1.5em;
|
102
|
+
#bodyContent {
|
103
|
+
padding: 0 1.5em 0 1.5em;
|
91
104
|
}
|
92
105
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
106
|
+
#description {
|
107
|
+
padding: 0.5em 1.5em;
|
108
|
+
background: #efefef;
|
109
|
+
border: 1px dotted #999;
|
97
110
|
}
|
98
111
|
|
99
|
-
|
100
|
-
|
101
|
-
|
112
|
+
#description h1, #description h2, #description h3,
|
113
|
+
#description h4, #description h5, #description h6 {
|
114
|
+
color: #125;
|
115
|
+
background: transparent;
|
102
116
|
}
|
103
117
|
|
104
|
-
|
105
|
-
|
118
|
+
#validator-badges {
|
119
|
+
text-align: center;
|
106
120
|
}
|
107
|
-
div#validator-badges img { border: 0; }
|
108
121
|
|
109
|
-
|
110
|
-
|
111
|
-
background: #efefef;
|
112
|
-
font: 0.75em sans-serif;
|
113
|
-
margin-top: 5em;
|
114
|
-
margin-bottom: 0;
|
115
|
-
padding: 0.5em 2em;
|
122
|
+
#validator-badges img {
|
123
|
+
border: 0;
|
116
124
|
}
|
117
125
|
|
126
|
+
#copyright {
|
127
|
+
color: #333;
|
128
|
+
background: #efefef;
|
129
|
+
font: 0.75em sans-serif;
|
130
|
+
margin-top: 5em;
|
131
|
+
margin-bottom: 0;
|
132
|
+
padding: 0.5em 2em;
|
133
|
+
}
|
118
134
|
|
119
135
|
/* === Classes =================================== */
|
120
136
|
|
121
137
|
table.header-table {
|
122
|
-
|
123
|
-
|
138
|
+
color: white;
|
139
|
+
font-size: small;
|
124
140
|
}
|
125
141
|
|
126
142
|
.type-note {
|
127
|
-
|
128
|
-
|
143
|
+
font-size: small;
|
144
|
+
color: #dedede;
|
129
145
|
}
|
130
146
|
|
131
|
-
.
|
132
|
-
|
133
|
-
|
134
|
-
|
147
|
+
.section-bar {
|
148
|
+
color: #333;
|
149
|
+
border-bottom: 1px solid #999;
|
150
|
+
margin-left: -20px;
|
135
151
|
}
|
136
152
|
|
137
|
-
.section-
|
138
|
-
|
139
|
-
|
140
|
-
|
153
|
+
.section-title {
|
154
|
+
background: #79a;
|
155
|
+
color: #eee;
|
156
|
+
padding: 3px;
|
157
|
+
margin-top: 2em;
|
158
|
+
margin-left: -30px;
|
159
|
+
border: 1px solid #999;
|
141
160
|
}
|
142
161
|
|
162
|
+
.top-aligned-row {
|
163
|
+
vertical-align: top
|
164
|
+
}
|
143
165
|
|
144
|
-
.
|
145
|
-
|
146
|
-
color: #eee;
|
147
|
-
padding: 3px;
|
148
|
-
margin-top: 2em;
|
149
|
-
margin-left: -30px;
|
150
|
-
border: 1px solid #999;
|
166
|
+
.bottom-aligned-row {
|
167
|
+
vertical-align: bottom
|
151
168
|
}
|
152
169
|
|
153
|
-
|
154
|
-
|
170
|
+
#diagram img {
|
171
|
+
border: 0;
|
172
|
+
}
|
155
173
|
|
156
174
|
/* --- Context section classes ----------------------- */
|
157
175
|
|
158
176
|
.context-row { }
|
159
|
-
|
160
|
-
.context-item-
|
161
|
-
|
177
|
+
|
178
|
+
.context-item-name {
|
179
|
+
font-family: monospace;
|
180
|
+
font-weight: bold;
|
181
|
+
color: black;
|
182
|
+
}
|
183
|
+
|
184
|
+
.context-item-value {
|
185
|
+
font-size: small;
|
186
|
+
color: #448;
|
187
|
+
}
|
188
|
+
|
189
|
+
.context-item-desc {
|
190
|
+
color: #333;
|
191
|
+
padding-left: 2em;
|
192
|
+
}
|
162
193
|
|
163
194
|
/* --- Method classes -------------------------- */
|
195
|
+
|
164
196
|
.method-detail {
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
197
|
+
background: #efefef;
|
198
|
+
padding: 0;
|
199
|
+
margin-top: 0.5em;
|
200
|
+
margin-bottom: 1em;
|
201
|
+
border: 1px dotted #ccc;
|
170
202
|
}
|
203
|
+
|
171
204
|
.method-heading {
|
172
205
|
color: black;
|
173
206
|
background: #ccc;
|
174
207
|
border-bottom: 1px solid #666;
|
175
208
|
padding: 0.2em 0.5em 0 0.5em;
|
176
209
|
}
|
177
|
-
|
178
|
-
.method-
|
179
|
-
|
180
|
-
|
210
|
+
|
211
|
+
.method-signature {
|
212
|
+
color: black;
|
213
|
+
background: inherit;
|
214
|
+
}
|
215
|
+
|
216
|
+
.method-name {
|
217
|
+
font-weight: bold;
|
218
|
+
}
|
219
|
+
|
220
|
+
.method-args {
|
221
|
+
font-style: italic;
|
222
|
+
}
|
223
|
+
|
224
|
+
.method-description {
|
225
|
+
padding: 0 0.5em 0 0.5em;
|
226
|
+
}
|
181
227
|
|
182
228
|
/* --- Source code sections -------------------- */
|
183
229
|
|
184
|
-
|
230
|
+
:link.source-toggle, :visited.source-toggle {
|
231
|
+
font-size: 90%;
|
232
|
+
}
|
233
|
+
|
185
234
|
div.method-source-code {
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
235
|
+
background: #262626;
|
236
|
+
color: #ffdead;
|
237
|
+
margin: 1em;
|
238
|
+
padding: 0.5em;
|
239
|
+
border: 1px dashed #999;
|
240
|
+
overflow: auto;
|
192
241
|
}
|
193
242
|
|
194
|
-
div.method-source-code pre {
|
243
|
+
div.method-source-code pre {
|
244
|
+
color: #ffdead;
|
245
|
+
}
|
195
246
|
|
196
247
|
/* --- Ruby keyword styles --------------------- */
|
197
248
|
|
198
|
-
.standalone-code {
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
.ruby-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
249
|
+
.standalone-code {
|
250
|
+
background: #221111;
|
251
|
+
color: #ffdead;
|
252
|
+
overflow: auto;
|
253
|
+
}
|
254
|
+
|
255
|
+
.ruby-constant {
|
256
|
+
color: #7fffd4;
|
257
|
+
background: transparent;
|
258
|
+
}
|
259
|
+
|
260
|
+
.ruby-keyword {
|
261
|
+
color: #00ffff;
|
262
|
+
background: transparent;
|
263
|
+
}
|
264
|
+
|
265
|
+
.ruby-ivar {
|
266
|
+
color: #eedd82;
|
267
|
+
background: transparent;
|
268
|
+
}
|
269
|
+
|
270
|
+
.ruby-operator {
|
271
|
+
color: #00ffee;
|
272
|
+
background: transparent;
|
273
|
+
}
|
274
|
+
|
275
|
+
.ruby-identifier {
|
276
|
+
color: #ffdead;
|
277
|
+
background: transparent;
|
278
|
+
}
|
279
|
+
|
280
|
+
.ruby-node {
|
281
|
+
color: #ffa07a;
|
282
|
+
background: transparent;
|
283
|
+
}
|
284
|
+
|
285
|
+
.ruby-comment {
|
286
|
+
color: #b22222;
|
287
|
+
font-weight: bold;
|
288
|
+
background: transparent;
|
289
|
+
}
|
290
|
+
|
291
|
+
.ruby-regexp {
|
292
|
+
color: #ffa07a;
|
293
|
+
background: transparent;
|
294
|
+
}
|
295
|
+
|
296
|
+
.ruby-value {
|
297
|
+
color: #7fffd4;
|
298
|
+
background: transparent;
|
299
|
+
}
|