classQueryNoise
final class QueryNoise
The noise and synonym token positions of the productions of queries and table references.
Only a token with no influence on meaning in its production may be listed as noise, and only terminals the manual defines as synonyms may share a key. Every entry is listed in the method documentation with its reason and the manual page that states it. Nothing else is skipped or merged by the token correspondence check.
Methods§
public static function positions(): array<string, list<int>>Answers the noise positions by production signature.
None: the optional AS or = before an alias and the optional OUTER and INNER of a join do not change the query, but MySQL names an unaliased select list expression after its text, which can hold them in a subquery, so the model keeps them (AliasMark, JoinOperator).
Returns
array<string, list<int>>Test cases 4
public static function synonyms(): array<string, array<int, string>>Answers the key of each synonym position by production signature.
Returns
array<string, array<int, string>>Test cases 2
Test cases 6§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.