PHP Class League\CommonMark\Util\LinkParserHelper

Afficher le fichier Open project: colinodell/commonmark-php Class Usage Examples

Méthodes publiques

Méthode Description
parseLinkDestination ( Cursor $cursor ) : null | string Attempt to parse link destination
parseLinkLabel ( Cursor $cursor ) : integer
parseLinkTitle ( Cursor $cursor ) : null | string Attempt to parse link title (sans quotes)

Method Details

parseLinkDestination() public static méthode

Attempt to parse link destination
public static parseLinkDestination ( Cursor $cursor ) : null | string
$cursor League\CommonMark\Cursor
Résultat null | string The string, or null if no match

parseLinkLabel() public static méthode

public static parseLinkLabel ( Cursor $cursor ) : integer
$cursor League\CommonMark\Cursor
Résultat integer

parseLinkTitle() public static méthode

Attempt to parse link title (sans quotes)
public static parseLinkTitle ( Cursor $cursor ) : null | string
$cursor League\CommonMark\Cursor
Résultat null | string The string, or null if no match