Lines Matching refs:cursor
32 public static function parseAttributes(Cursor $cursor): array
34 $state = $cursor->saveState();
35 $cursor->advanceToNextNonSpaceOrNewline();
38 if ($cursor->getCharacter() !== '{') {
39 $cursor->restoreState($state);
49 $attributeExpression = $cursor->match(self::ATTRIBUTE_LIST);
51 $cursor->restoreState($state);