<Toplevel Module>
TmStd
—
#7
DocBook
—
#9
Node
—
#11
Book
—
#13
Content
—
#15
inherits from |
| ||||
has properties |
|
Contents
—
#23
inherits from |
| ||||
has properties |
|
BookInfo
—
#31
Content
—
#33
inherits from |
| ||||
has properties |
|
Contents
—
#38
inherits from |
| ||||
has properties |
|
Chapter
—
#46
Content
—
#48
inherits from |
| ||||
has properties |
|
Contents
—
#55
inherits from |
| ||||
has properties |
|
ChapterInfo
—
#63
Content
—
#65
inherits from |
| ||||
has properties |
|
Contents
—
#70
inherits from |
| ||||
has properties |
|
Section
—
#78
Content
—
#80
inherits from |
| ||||
has properties |
|
Contents
—
#93
inherits from |
| ||||
has properties |
|
SectionInfo
—
#101
Content
—
#103
inherits from |
| ||||
has properties |
|
Contents
—
#109
inherits from |
| ||||
has properties |
|
IndexTerm
—
#117
Content
—
#119
inherits from |
| ||||
has properties |
|
Contents
—
#126
inherits from |
| ||||
has properties |
|
Para
—
#134
Content
—
#136
inherits from |
| ||||
has properties |
|
Contents
—
#145
inherits from |
| ||||
has properties |
|
ProgramListing
—
#153
Content
—
#155
inherits from |
| ||||
has properties |
|
Contents
—
#162
inherits from |
| ||||
has properties |
|
ItemizedList
—
#170
Content
—
#172
inherits from |
| ||||
has properties |
|
Contents
—
#177
inherits from |
| ||||
has properties |
|
ListItem
—
#185
Content
—
#187
inherits from |
| ||||
has properties |
|
Contents
—
#196
inherits from |
| ||||
has properties |
|
SimpleList
—
#204
Content
—
#206
inherits from |
| ||||
has properties |
|
Contents
—
#211
inherits from |
| ||||
has properties |
|
Member
—
#219
Content
—
#221
inherits from |
| ||||
has properties |
|
Contents
—
#230
inherits from |
| ||||
has properties |
|
VariableList
—
#238
Content
—
#240
inherits from |
| ||||
has properties |
|
Contents
—
#245
inherits from |
| ||||
has properties |
|
VarListEntry
—
#253
Content
—
#255
inherits from |
| ||||
has properties |
|
Contents
—
#260
inherits from |
| ||||
has properties |
|
Term
—
#268
Content
—
#270
inherits from |
| ||||
has properties |
|
Contents
—
#279
inherits from |
| ||||
has properties |
|
InformalTable
—
#287
Content
—
#289
inherits from |
| ||||
has properties |
|
Contents
—
#294
inherits from |
| ||||
has properties |
|
TGroup
—
#302
Content
—
#304
inherits from |
| ||||
has properties |
|
Contents
—
#309
inherits from |
| ||||
has properties |
|
TBody
—
#317
Content
—
#319
inherits from |
| ||||
has properties |
|
Contents
—
#324
inherits from |
| ||||
has properties |
|
Row
—
#332
Content
—
#334
inherits from |
| ||||
has properties |
|
Contents
—
#339
inherits from |
| ||||
has properties |
|
Entry
—
#347
Content
—
#349
inherits from |
| ||||
has properties |
|
Contents
—
#358
inherits from |
| ||||
has properties |
|
EntryTbl
—
#366
Content
—
#368
inherits from |
| ||||
has properties |
|
Contents
—
#373
inherits from |
| ||||
has properties |
|
Link
—
#381
Content
—
#383
inherits from |
| ||||
has properties |
|
Contents
—
#388
inherits from |
| ||||
has properties |
|
Object
(
Builtin-Module
)
Abstract
(
TmStd::Lsm
)
Abstract
(
TmStd::Lsm::Sum
)
KindOf
(
TmStd::Lsm::Sum
)
Content
(
TmStd::DocBook::Abstraction
)
Abstract
(
TmStd::Lsm::Collection
)
Abstract
(
TmStd::Lsm::Collection::Sequence
)
SeqOfContent
(
TmStd::DocBook::Abstraction
)
1 # $Id: content.rb,v 1.3 2012/01/20 07:42:31 machan Exp $ 2 3 require 'tmdoc/tmstd' 4 require 'tmdoc/tmstd/docbook/node/element' 5 6 7 module TmStd 8 9 module DocBook 10 11 module Node 12 13 module Book 14 15 class Content < Abstraction::Content 16 LSM_MEMBER_CLASSES = [ Node::BookInfo::Element, 17 Node::Chapter::Element, 18 Leaf::Include::Element, 19 Leaf::Index::Element ] 20 end 21 22 23 class Contents < Abstraction::SeqOfContent 24 LSM_ELEMENT_CLASS = Content 25 end 26 27 end 28 29 30 31 module BookInfo 32 33 class Content < Abstraction::Content 34 LSM_MEMBER_CLASSES = [ Leaf::Title::Element, Leaf::PubDate::Element ] 35 end 36 37 38 class Contents < Abstraction::SeqOfContent 39 LSM_ELEMENT_CLASS = Content 40 end 41 42 end 43 44 45 46 module Chapter 47 48 class Content < Abstraction::Content 49 LSM_MEMBER_CLASSES = [ Node::ChapterInfo::Element, 50 Node::Section::Element, 51 Leaf::Include::Element ] 52 end 53 54 55 class Contents < Abstraction::SeqOfContent 56 LSM_ELEMENT_CLASS = Content 57 end 58 59 end 60 61 62 63 module ChapterInfo 64 65 class Content < Abstraction::Content 66 LSM_MEMBER_CLASSES = [ Leaf::Title::Element ] 67 end 68 69 70 class Contents < Abstraction::SeqOfContent 71 LSM_ELEMENT_CLASS = Content 72 end 73 74 end 75 76 77 78 module Section 79 80 class Content < Abstraction::Content 81 LSM_MEMBER_CLASSES = [ Node::SectionInfo::Element, 82 Node::Section::Element, 83 Node::Para::Element, 84 Node::ProgramListing::Element, 85 Abstraction::List, 86 Node::InformalTable::Element, 87 Node::Link::Element, 88 Abstraction::Name, 89 Leaf::Text::Element ] 90 end 91 92 93 class Contents < Abstraction::SeqOfContent 94 LSM_ELEMENT_CLASS = Content 95 end 96 97 end 98 99 100 101 module SectionInfo 102 103 class Content < Abstraction::Content 104 LSM_MEMBER_CLASSES = [ Leaf::Title::Element, Node::IndexTerm::Element ] 105 end 106 107 108 109 class Contents < Abstraction::SeqOfContent 110 LSM_ELEMENT_CLASS = Content 111 end 112 113 end 114 115 116 117 module IndexTerm 118 119 class Content < Abstraction::Content 120 LSM_MEMBER_CLASSES = [ Leaf::Primary::Element, 121 Leaf::Secondary::Element, 122 Leaf::Tertiary::Element ] 123 end 124 125 126 class Contents < Abstraction::SeqOfContent 127 LSM_ELEMENT_CLASS = Content 128 end 129 130 end 131 132 133 134 module Para 135 136 class Content < Abstraction::Content 137 LSM_MEMBER_CLASSES = [ Abstraction::List, 138 Node::InformalTable::Element, 139 Node::Link::Element, 140 Abstraction::Name, 141 Leaf::Text::Element ] 142 end 143 144 145 class Contents < Abstraction::SeqOfContent 146 LSM_ELEMENT_CLASS = Content 147 end 148 149 end 150 151 152 153 module ProgramListing 154 155 class Content < Abstraction::Content 156 LSM_MEMBER_CLASSES = [ Node::Link::Element, 157 Leaf::Anchor::Element, 158 Leaf::Text::Element ] 159 end 160 161 162 class Contents < Abstraction::SeqOfContent 163 LSM_ELEMENT_CLASS = Content 164 end 165 166 end 167 168 169 170 module ItemizedList 171 172 class Content < Abstraction::Content 173 LSM_MEMBER_CLASSES = [ Node::ListItem::Element ] 174 end 175 176 177 class Contents < Abstraction::SeqOfContent 178 LSM_ELEMENT_CLASS = Content 179 end 180 181 end 182 183 184 185 module ListItem 186 187 class Content < Abstraction::Content 188 LSM_MEMBER_CLASSES = [ Abstraction::List, 189 Node::InformalTable::Element, 190 Node::Link::Element, 191 Abstraction::Name, 192 Leaf::Text::Element ] 193 end 194 195 196 class Contents < Abstraction::SeqOfContent 197 LSM_ELEMENT_CLASS = Content 198 end 199 200 end 201 202 203 204 module SimpleList 205 206 class Content < Abstraction::Content 207 LSM_MEMBER_CLASSES = [ Node::Member::Element ] 208 end 209 210 211 class Contents < Abstraction::SeqOfContent 212 LSM_ELEMENT_CLASS = Content 213 end 214 215 end 216 217 218 219 module Member 220 221 class Content < Abstraction::Content 222 LSM_MEMBER_CLASSES = [ Abstraction::List, 223 Node::InformalTable::Element, 224 Node::Link::Element, 225 Abstraction::Name, 226 Leaf::Text::Element ] 227 end 228 229 230 class Contents < Abstraction::SeqOfContent 231 LSM_ELEMENT_CLASS = Content 232 end 233 234 end 235 236 237 238 module VariableList 239 240 class Content < Abstraction::Content 241 LSM_MEMBER_CLASSES = [ Node::VarListEntry::Element ] 242 end 243 244 245 class Contents < Abstraction::SeqOfContent 246 LSM_ELEMENT_CLASS = Content 247 end 248 249 end 250 251 252 253 module VarListEntry 254 255 class Content < Abstraction::Content 256 LSM_MEMBER_CLASSES = [ Node::Term::Element, Node::ListItem::Element ] 257 end 258 259 260 class Contents < Abstraction::SeqOfContent 261 LSM_ELEMENT_CLASS = Content 262 end 263 264 end 265 266 267 268 module Term 269 270 class Content < Abstraction::Content 271 LSM_MEMBER_CLASSES = [ Abstraction::List, 272 Node::Link::Element, 273 Leaf::Anchor::Element, 274 Abstraction::Name, 275 Leaf::Text::Element ] 276 end 277 278 279 class Contents < Abstraction::SeqOfContent 280 LSM_ELEMENT_CLASS = Content 281 end 282 283 end 284 285 286 287 module InformalTable 288 289 class Content < Abstraction::Content 290 LSM_MEMBER_CLASSES = [ Node::TGroup::Element ] 291 end 292 293 294 class Contents < Abstraction::SeqOfContent 295 LSM_ELEMENT_CLASS = Content 296 end 297 298 end 299 300 301 302 module TGroup 303 304 class Content < Abstraction::Content 305 LSM_MEMBER_CLASSES = [ Leaf::ColSpec::Element, Node::TBody::Element ] 306 end 307 308 309 class Contents < Abstraction::SeqOfContent 310 LSM_ELEMENT_CLASS = Content 311 end 312 313 end 314 315 316 317 module TBody 318 319 class Content < Abstraction::Content 320 LSM_MEMBER_CLASSES = [ Node::Row::Element ] 321 end 322 323 324 class Contents < Abstraction::SeqOfContent 325 LSM_ELEMENT_CLASS = Content 326 end 327 328 end 329 330 331 332 module Row 333 334 class Content < Abstraction::Content 335 LSM_MEMBER_CLASSES = [ Node::Entry::Element, Node::EntryTbl::Element ] 336 end 337 338 339 class Contents < Abstraction::SeqOfContent 340 LSM_ELEMENT_CLASS = Content 341 end 342 343 end 344 345 346 347 module Entry 348 349 class Content < Abstraction::Content 350 LSM_MEMBER_CLASSES = [ Abstraction::List, 351 Node::Link::Element, 352 Leaf::Anchor::Element, 353 Abstraction::Name, 354 Leaf::Text::Element ] 355 end 356 357 358 class Contents < Abstraction::SeqOfContent 359 LSM_ELEMENT_CLASS = Content 360 end 361 362 end 363 364 365 366 module EntryTbl 367 368 class Content < Abstraction::Content 369 LSM_MEMBER_CLASSES = [ Leaf::ColSpec::Element, Node::TBody::Element ] 370 end 371 372 373 class Contents < Abstraction::SeqOfContent 374 LSM_ELEMENT_CLASS = Content 375 end 376 377 end 378 379 380 381 module Link 382 383 class Content < Abstraction::Content 384 LSM_MEMBER_CLASSES = [ Abstraction::Name, Leaf::Text::Element ] 385 end 386 387 388 class Contents < Abstraction::SeqOfContent 389 LSM_ELEMENT_CLASS = Content 390 end 391 392 end 393 394 end # TmStd::DocBook::Node 395 396 end # TmStd::DocBook 397 398 end # TmStd