final class RoutineNoise
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

The noise and synonym token positions of the productions of stored programs.

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.

  • sp_opt_fetch_noise: NEXT_SYM FROM and sp_opt_fetch_noise: FROM: FETCH [[NEXT] FROM] cursor_name INTO ...; the words are optional and the grammar action stores nothing for them (https://dev.mysql.com/doc/refman/8.4/en/fetch.html).
  • opt_value: VALUE_SYM: SQLSTATE [VALUE] sqlstate_value; the word is optional (https://dev.mysql.com/doc/refman/8.4/en/declare-condition.html, https://dev.mysql.com/doc/refman/8.4/en/signal.html).

Returns

array<string, list<int>>
Test cases 2
Called from 1
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
Called from 1

Test cases 4§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 2

Relations§

Static calls 2