@@ -1321,8 +1321,11 @@ class WP_SQLite_Lexer {
13211321 * @var array<string, bool|int|array<int, int|string|array<string, bool>>>
13221322 */
13231323 public static $ field_options = array (
1324- // Tells the `OptionsArray` to not sort the options.
1325- // See the note below.
1324+
1325+ /*
1326+ * Tells the `OptionsArray` to not sort the options.
1327+ * See the note below.
1328+ */
13261329 '_UNSORTED ' => true ,
13271330
13281331 'NOT NULL ' => 1 ,
@@ -1535,8 +1538,10 @@ public function lex() {
15351538 continue ;
15361539 }
15371540
1538- // Skipping last R (from `delimiteR`) and whitespaces between
1539- // the keyword `DELIMITER` and the actual delimiter.
1541+ /*
1542+ * Skipping last R (from `delimiteR`) and whitespaces between
1543+ * the keyword `DELIMITER` and the actual delimiter.
1544+ */
15401545 $ pos = ++$ this ->last ;
15411546 $ token = $ this ->parse_whitespace ();
15421547
@@ -1725,16 +1730,10 @@ public function parse_keyword() {
17251730 */
17261731 $ ret = null ;
17271732
1728- /**
1729- * The value of `$this->last` where `$token` ends in `$this->str`.
1730- */
1733+ // The value of `$this->last` where `$token` ends in `$this->str`.
17311734 $ i_end = $ this ->last ;
17321735
1733- /**
1734- * Whether last parsed character is a whitespace.
1735- *
1736- * @var bool
1737- */
1736+ // Whether last parsed character is a whitespace.
17381737 $ last_space = false ;
17391738
17401739 for ( $ j = 1 ; $ j < static ::KEYWORD_MAX_LENGTH && $ this ->last < $ this ->string_length ; ++$ j , ++$ this ->last ) {
@@ -1786,9 +1785,7 @@ public function parse_label() {
17861785 */
17871786 $ ret = null ;
17881787
1789- /**
1790- * The value of `$this->last` where `$token` ends in `$this->str`.
1791- */
1788+ // The value of `$this->last` where `$token` ends in `$this->str`.
17921789 $ i_end = $ this ->last ;
17931790 for ( $ j = 1 ; $ j < static ::LABEL_MAX_LENGTH && $ this ->last < $ this ->string_length ; ++$ j , ++$ this ->last ) {
17941791 if ( ': ' === $ this ->str [ $ this ->last ] && $ j > 1 ) {
@@ -1800,8 +1797,10 @@ public function parse_label() {
18001797 }
18011798
18021799 if ( static ::is_whitespace ( $ this ->str [ $ this ->last ] ) && $ j > 1 ) {
1803- // Whitespace between label and `:`.
1804- // The size of the keyword didn't increase.
1800+ /*
1801+ * Whitespace between label and `:`.
1802+ * The size of the keyword didn't increase.
1803+ */
18051804 --$ j ;
18061805 } elseif ( static ::is_separator ( $ this ->str [ $ this ->last ] ) ) {
18071806 // Any other separator.
@@ -1831,9 +1830,7 @@ public function parse_operator() {
18311830 */
18321831 $ ret = null ;
18331832
1834- /**
1835- * The value of `$this->last` where `$token` ends in `$this->str`.
1836- */
1833+ // The value of `$this->last` where `$token` ends in `$this->str`.
18371834 $ i_end = $ this ->last ;
18381835
18391836 for ( $ j = 1 ; $ j < static ::OPERATOR_MAX_LENGTH && $ this ->last < $ this ->string_length ; ++$ j , ++$ this ->last ) {
@@ -2504,8 +2501,10 @@ public static function is_string( $str ) {
25042501 * @return bool
25052502 */
25062503 public static function is_separator ( $ str ) {
2507- // NOTES: Only non alphanumeric ASCII characters may be separators.
2508- // `~` is the last printable ASCII character.
2504+ /*
2505+ * NOTES: Only non alphanumeric ASCII characters may be separators.
2506+ * `~` is the last printable ASCII character.
2507+ */
25092508 return ( $ str <= '~ ' )
25102509 && ( '_ ' !== $ str )
25112510 && ( '$ ' !== $ str )
0 commit comments