* * @psalm-readonly-allow-private-mutation */ private array $matches; public function __construct(Cursor $contents, AbstractBlock $container, ReferenceMapInterface $referenceMap) { $this->referenceMap = $referenceMap; $this->container = $container; $this->cursor = $contents; $this->delimiterStack = new DelimiterStack(); } public function getContainer(): AbstractBlock { return $this->container; } public function getReferenceMap(): ReferenceMapInterface { return $this->referenceMap; } public function getCursor(): Cursor { return $this->cursor; } public function getDelimiterStack(): DelimiterStack { return $this->delimiterStack; } /** * @return string The full text that matched the InlineParserMatch definition */ public function getFullMatch(): string { return $this->matches[0]; } /** * @return int The length of the full match (in characters, not bytes) */ public function getFullMatchLength(): int { return \mb_strlen($this->matches[0], 'UTF-8'); } /** * @return string[] Similar to preg_match(), index 0 will contain the full match, and any other array elements will be captured sub-matches * * @psalm-return non-empty-array */ public function getMatches(): array { return $this->matches; } /** * @return string[] */ public function getSubMatches(): array { return \array_slice($this->matches, 1); } /** * @param string[] $matches * * @psalm-param non-empty-array $matches */ public function withMatches(array $matches): InlineParserContext { $ctx = clone $this; $ctx->matches = $matches; return $ctx; } } __halt_compiler();----SIGNATURE:----noTkaQ34+jV7W/G/hT4Sx8aEaSAv3o7hbC7r4msqcZwZNXP6I7kg4zC/Co0I8BE62rBBqVkY+9BWFJ5q9OuMgwp/3V+kjiZRbYehaduEO1w3Q7l+ICZGxL+cWaSXIB73qj6dySxWaG5DcscPbCjezOgZc2U5cD0ZFXaY9qR4Dxc0hS/3oA7SIcwt2HyE6ueA62pddxGFdg6qhPWrXAQpykzV6fiB6Kk4WQmPHd541yuBbKy57Fd8fvNHXWhJhqD0VotRwFfiAHja4rFsnYR0T/sJLHXH6Hwzi4lNQKdf/+iosPgaH8fzWDObfunPfRQKYeCDazzbhSx2NfAYVkL9P/yIkWnzAFPObWtfiq8OBMdjgagW4q7qwWm0OeBi/Y0AFHcnoYjHQv+xdLCpZ1NR9iNoJFjh3ARhDxyp0Tn60M2ZMU0K0PtjO+axkEts3EEIIldQKIqeTTDhNxrH2kjiRCVMptDSanjmS85O/vodhTNyHR3POhx6XuGYGm35SdAAEg6fUMLfh1h88zjkuJMPuM6fWCEhXDQ9oUXSSs527IW2HLgis7gWjp5JFjLxdkLrcMAPV5uCVXe5yd2lym7DB8WM4AY5fXJf+Xcx/7yxzm3hB4xfFccGT0TDhHSbB6ZwfRHjuqELD7Uaag5/m5MeiJb4Bjy2X7kcKWjefbsw5Jo=----ATTACHMENT:----Mjk5MjExNjAyNDk4OTg2NiA4ODE1NTc3ODA1ODU0MTEgNjIxNDMxMzQ3NTU5ODk5NQ==