Méthode |
Description |
|
__construct ( array $options = [] ) |
Constructor. |
|
escapeConsole ( $string ) |
|
|
format ( string $query, array $options = [] ) : string |
Formats a query. |
|
formatList ( TokensList $list ) : string |
Formats the given list of tokens. |
|
getGroupLength ( TokensList $list ) : integer |
Computes the length of a group. |
|
isClause ( Token $token ) : integer | boolean |
Checks if a token is a statement or a clause inside a statement. |
|
toString ( Token $token ) : string |
Tries to print the query and returns the result. |
|