Searched refs:cursor (Results 226 – 250 of 652) sorted by last modified time
12345678910>>...27
97 $cursor = new Cursor($line);98 while (! $cursor->isAtEnd()) {106 $result = $this->parseStartDefinition($cursor);109 $result = $this->parseLabel($cursor);112 $result = $this->parseDestination($cursor);115 $result = $this->parseStartTitle($cursor);118 $result = $this->parseTitle($cursor);133 private function parseStartDefinition(Cursor $cursor): bool135 $cursor->advanceToNextNonSpaceOrTab();136 if ($cursor39 parse(Cursor $cursor) global() argument [all...]
51 matchesNextLine(Cursor $cursor) global() argument
43 public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): ?BlockContinue45 if ($cursor->isBlank()) {46 return BlockContinue::at($cursor);49 if ($cursor->isIndented()) {50 $this->indentation ??= $cursor->getIndent();51 $cursor->advanceBy($this->indentation, true);53 return BlockContinue::at($cursor);26 parse(ContextInterface $context, Cursor $cursor) global() argument
83 public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): ?BlockContinue85 if (\strpos($cursor->getLine(), '|') === false) {89 return BlockContinue::at($cursor);159 $cursor = new Cursor(\trim($line));161 if ($cursor->getCurrentCharacter() === '|') {162 $cursor->advanceBy(1);168 while (! $cursor->isAtEnd()) {169 switch ($c = $cursor->getCurrentCharacter()) {171 if ($cursor->peek() === '|') {176 $cursor34 parse(ContextInterface $context, Cursor $cursor) global() argument 145 split(Cursor $cursor) global() argument 190 parseColumns(Cursor $cursor) global() argument [all...]
34 matchesNextLine(Cursor $cursor) global() argument
29 matchesNextLine(Cursor $cursor) global() argument