PurpleWiki::InlineNodePurpleWiki::InlineNode Perl module offers inline node object. | |
Download |
PurpleWiki::InlineNode Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Chris Dent and Eugene Eric Kim
- Publisher web site:
- http://search.cpan.org/~cdent/PurpleWiki-0.94/PurpleWiki/InlineNode.pm
PurpleWiki::InlineNode Tags
PurpleWiki::InlineNode Description
PurpleWiki::InlineNode Perl module offers inline node object. PurpleWiki::InlineNode Perl module offers inline node object.SYNOPSIS use PurpleWiki::InlineNode; # Create node of type 'text' and content 'Hello, world!' my $inlineNode1 = PurpleWiki::InlineNode->new(type => 'text', content => 'Hello, world!'); # Represent bolded and italicized 'Hello, world!'. # First, create node of type 'b'. my $boldNode = PurpleWiki::InlineNode->new(type => 'b'); # Create node of type 'i'. my $italicsNode = PurpleWiki::InlineNode->new(type => 'i'); # Create 'text' node with content 'Hello, world!'. my $textNode = PurpleWiki::InlineNode->new(type => 'text', content => 'Hello, world!'); # Make 'text' node a child of 'i' node, and 'i' node a child # of 'b' node. $italicsNode->children(); $boldNode->children();Inline nodes make up the content of structural nodes. They are mostly content containers, although some types use children to handle nested inline content, such as bold and italicized content.The data structure looks like: PurpleWiki::InlineNode = { type => text|nowiki|b|i|tt|wikiword|freelink|link|url|image href => string content => string children => } Requirements: · Perl
PurpleWiki::InlineNode Related Software