Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 2012.04
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (42 sloc) 0.861 kB
my package Pod {
class Block {
has %.config;
has @.content;
}
class Block::Para is Block {
}
class Block::Named is Block {
has $.name;
}
class Block::Comment is Block { }
class Block::Code is Block {
has @.allowed;
}
class Block::Declarator is Block {
has $.WHEREFORE;
method set_docee($d) {
$!WHEREFORE = $d
}
method Stringy {
~@.content
}
}
class Block::Table is Block {
has $.caption;
has @.headers; # optional, may be empty
}
class FormattingCode is Block {
has $.type;
}
class Heading is Block {
has $.level;
}
class Item is Block {
has $.level;
}
class Config {
has $.type;
has %.config;
}
}
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.