| <?php |
| |
| return ezcDocumentRstDocumentNode::__set_state(array( |
| 'depth' => 0, |
| 'line' => 0, |
| 'position' => 0, |
| 'type' => 1, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstSectionNode::__set_state(array( |
| 'title' => |
| ezcDocumentRstTitleNode::__set_state(array( |
| 'line' => 2, |
| 'position' => 1, |
| 'type' => 2, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstTextLineNode::__set_state(array( |
| 'line' => 1, |
| 'position' => 1, |
| 'type' => 4, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 5, |
| 'content' => 'Complex footnotes', |
| 'line' => 1, |
| 'position' => 1, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 1 => |
| ezcDocumentRstTextLineNode::__set_state(array( |
| 'line' => 1, |
| 'position' => 18, |
| 'type' => 4, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 2, |
| 'content' => '', |
| 'line' => 1, |
| 'position' => 18, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '=================', |
| 'line' => 2, |
| 'position' => 1, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 'depth' => 1, |
| 'reference' => NULL, |
| 'line' => 2, |
| 'position' => 1, |
| 'type' => 1, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstParagraphNode::__set_state(array( |
| 'indentation' => 0, |
| 'line' => 6, |
| 'position' => 47, |
| 'type' => 3, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstReferenceNode::__set_state(array( |
| 'footnoteType' => 1, |
| 'name' => |
| array ( |
| 0 => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 5, |
| 'content' => '2', |
| 'line' => 4, |
| 'position' => 2, |
| 'escaped' => false, |
| )), |
| ), |
| 'target' => false, |
| 'line' => 4, |
| 'position' => 4, |
| 'type' => 43, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '_', |
| 'line' => 4, |
| 'position' => 4, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 1 => |
| ezcDocumentRstTextLineNode::__set_state(array( |
| 'line' => 4, |
| 'position' => 5, |
| 'type' => 4, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 1, |
| 'content' => ' will be "2" (manually numbered), ', |
| 'line' => 4, |
| 'position' => 5, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 2 => |
| ezcDocumentRstReferenceNode::__set_state(array( |
| 'footnoteType' => 2, |
| 'name' => |
| array ( |
| 0 => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '#', |
| 'line' => 5, |
| 'position' => 2, |
| 'escaped' => false, |
| )), |
| ), |
| 'target' => false, |
| 'line' => 5, |
| 'position' => 4, |
| 'type' => 43, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '_', |
| 'line' => 5, |
| 'position' => 4, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 3 => |
| ezcDocumentRstTextLineNode::__set_state(array( |
| 'line' => 5, |
| 'position' => 5, |
| 'type' => 4, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 1, |
| 'content' => ' will be "3" (anonymous auto-numbered), and ', |
| 'line' => 5, |
| 'position' => 5, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 4 => |
| ezcDocumentRstReferenceNode::__set_state(array( |
| 'footnoteType' => 4, |
| 'name' => |
| array ( |
| 0 => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '#', |
| 'line' => 6, |
| 'position' => 2, |
| 'escaped' => false, |
| )), |
| 1 => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 5, |
| 'content' => 'label', |
| 'line' => 6, |
| 'position' => 3, |
| 'escaped' => false, |
| )), |
| ), |
| 'target' => false, |
| 'line' => 6, |
| 'position' => 9, |
| 'type' => 43, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '_', |
| 'line' => 6, |
| 'position' => 9, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 5 => |
| ezcDocumentRstTextLineNode::__set_state(array( |
| 'line' => 6, |
| 'position' => 10, |
| 'type' => 4, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 1, |
| 'content' => ' will be "1" (labeled auto-numbered).', |
| 'line' => 6, |
| 'position' => 10, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 2, |
| 'content' => ' |
| ', |
| 'line' => 6, |
| 'position' => 47, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 1 => |
| ezcDocumentRstFootnoteNode::__set_state(array( |
| 'name' => |
| array ( |
| 0 => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 5, |
| 'content' => '2', |
| 'line' => 8, |
| 'position' => 5, |
| 'escaped' => false, |
| )), |
| ), |
| 'number' => NULL, |
| 'footnoteType' => 1, |
| 'line' => 8, |
| 'position' => 1, |
| 'type' => 54, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstParagraphNode::__set_state(array( |
| 'indentation' => 0, |
| 'line' => 8, |
| 'position' => 66, |
| 'type' => 3, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstTextLineNode::__set_state(array( |
| 'line' => 8, |
| 'position' => 1, |
| 'type' => 4, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 5, |
| 'content' => 'This footnote is labeled manually, so its number is fixed.', |
| 'line' => 8, |
| 'position' => 1, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 2, |
| 'content' => ' |
| ', |
| 'line' => 8, |
| 'position' => 66, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '..', |
| 'line' => 8, |
| 'position' => 1, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 2 => |
| ezcDocumentRstFootnoteNode::__set_state(array( |
| 'name' => |
| array ( |
| 0 => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '#', |
| 'line' => 10, |
| 'position' => 5, |
| 'escaped' => false, |
| )), |
| 1 => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 5, |
| 'content' => 'label', |
| 'line' => 10, |
| 'position' => 6, |
| 'escaped' => false, |
| )), |
| ), |
| 'number' => NULL, |
| 'footnoteType' => 4, |
| 'line' => 10, |
| 'position' => 1, |
| 'type' => 54, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstParagraphNode::__set_state(array( |
| 'indentation' => 0, |
| 'line' => 13, |
| 'position' => 66, |
| 'type' => 3, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstTextLineNode::__set_state(array( |
| 'line' => 10, |
| 'position' => 1, |
| 'type' => 4, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 5, |
| 'content' => 'This autonumber-labeled footnote will be labeled "1". It is the first auto-numbered footnote and no other footnote with label "1" exists. The order of the footnotes is used to determine numbering, not the order of the footnote references.', |
| 'line' => 10, |
| 'position' => 1, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 2, |
| 'content' => ' |
| ', |
| 'line' => 13, |
| 'position' => 66, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '..', |
| 'line' => 10, |
| 'position' => 1, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| 3 => |
| ezcDocumentRstFootnoteNode::__set_state(array( |
| 'name' => |
| array ( |
| 0 => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '#', |
| 'line' => 15, |
| 'position' => 5, |
| 'escaped' => false, |
| )), |
| ), |
| 'number' => NULL, |
| 'footnoteType' => 2, |
| 'line' => 15, |
| 'position' => 1, |
| 'type' => 54, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstParagraphNode::__set_state(array( |
| 'indentation' => 0, |
| 'line' => 16, |
| 'position' => 67, |
| 'type' => 3, |
| 'nodes' => |
| array ( |
| 0 => |
| ezcDocumentRstTextLineNode::__set_state(array( |
| 'line' => 15, |
| 'position' => 1, |
| 'type' => 4, |
| 'nodes' => |
| array ( |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 5, |
| 'content' => 'This footnote will be labeled "3". It is the second auto-numbered footnote, but footnote label "2" is already used.', |
| 'line' => 15, |
| 'position' => 1, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 2, |
| 'content' => ' |
| ', |
| 'line' => 16, |
| 'position' => 67, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '..', |
| 'line' => 15, |
| 'position' => 1, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => |
| ezcDocumentRstToken::__set_state(array( |
| 'type' => 4, |
| 'content' => '=================', |
| 'line' => 2, |
| 'position' => 1, |
| 'escaped' => false, |
| )), |
| 'identifier' => NULL, |
| )), |
| ), |
| 'token' => NULL, |
| 'identifier' => NULL, |
| )); |
| |