コード例 #1
0
ファイル: Locator.php プロジェクト: nequal/Openpear
 protected function createEmptyParagraph()
 {
     $parser = PEG::count(PEG::many1(PEG::token('')));
     return $this->nodeCreater('emptyparagraph', $parser);
 }
コード例 #2
0
ファイル: Locator.php プロジェクト: xcezx/OrgModeSyntax
 protected function createEmptyParagraph()
 {
     $parser = PEG::count(PEG::many1(PEG::token('')));
     return $this->nodeCreater(OrgModeSyntax_Node::TYPE_EMPTY_PARAGRAPH, $parser);
 }