Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tadeusz Sośnierz
committed
May 2, 2011
1 parent
9f48e1b
commit eb30077
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
class Pod6::Block { | ||
has @.content; | ||
} | ||
|
||
class Pod6::Block::Para is Pod6::Block { | ||
# nothing special. BOARing! | ||
} | ||
|
||
class Pod6::Block::Heading is Pod6::Block { | ||
has $.level; | ||
} | ||
|
||
class Pod6::Block::Code is Pod6::Block { | ||
has @.allow; | ||
} | ||
|
||
class Pod6::Block::Table is Pod6::Block { | ||
has $.caption; | ||
has @.headers; # optional, may be empty | ||
} | ||
|
||
class Pod6::FormattingCode is Pod6::Block { | ||
# apparently, it is. It has contents, can be nested | ||
} | ||
|
||
class Pod6::FormattingCode::B is Pod6::FormattingCode { | ||
# BOARing | ||
} | ||
|
||
class Pod6::FormattingCode::C is Pod6::FormattingCode { | ||
# COARing | ||
} | ||
|
||
class Pod6::FormattingCode::K is Pod6::FormattingCode { | ||
# KOARi... whatever | ||
} | ||
|
||
# vim: ft=perl6 |