Метод | Описание | |
---|---|---|
parseTokens ( string $string ) : array | Parses the tokens from the given string. |
Метод | Описание | |
---|---|---|
doParseTokens ( ) : array | Parses an array of tokens. | |
next ( ) | Advances the cursor to the next position. | |
parseEscapeSequence ( ) : string | Parses an escape sequence started by a backslash. | |
parseQuotedString ( ) : string | Parses a quoted string. | |
parseToken ( ) : string | Parses a single token. | |
valid ( ) : boolean | Returns whether the cursor position is valid. |
public parseTokens ( string $string ) : array | ||
$string | string | The console arguments string. |
Результат | array | The tokens. |