Lines Matching refs:self
240 self::initialize();
242 …$this->interp = new ParserATNSimulator($this, self::$atn, self::$decisionToDFA, self::$sharedConte…
247 if (self::$atn !== null) {
253 $atn = (new ATNDeserializer())->deserialize(self::SERIALIZED_ATN);
260 self::$atn = $atn;
261 self::$decisionToDFA = $decisionToDFA;
262 self::$sharedContextCache = new PredictionContextCache();
272 return self::RULE_NAMES;
277 return self::SERIALIZED_ATN;
282 return self::$atn;
289 … return $vocabulary = $vocabulary ?? new VocabularyImpl(self::LITERAL_NAMES, self::SYMBOLIC_NAMES);
299 $this->enterRule($localContext, 0, self::RULE_functionNames);
307 if (!($_la === self::DATE || $_la === self::DATETIME)) {
335 $this->enterRule($localContext, 2, self::RULE_constantNames);
340 $this->match(self::NOW);
359 $this->enterRule($localContext, 4, self::RULE_tableNames);
367 …!(((($_la) & ~0x3f) === 0 && ((1 << $_la) & ((1 << self::PAGES) | (1 << self::BACKLINKS) | (1 << s…
395 $this->enterRule($localContext, 6, self::RULE_sqlNames);
403 if (!($_la === self::Number || $_la === self::SqlName)) {
431 $this->enterRule($localContext, 8, self::RULE_column);
441 if ($_la === self::DOT) {
443 $this->match(self::DOT);
451 if ($_la === self::AS) {
453 $this->match(self::AS);
458 case self::Number:
459 case self::SqlName:
464 case self::StringLiteral:
466 $this->match(self::StringLiteral);
491 $this->enterRule($localContext, 10, self::RULE_pattern);
499 if (!($_la === self::StringLiteral || $_la === self::NumberLiteral)) {
527 $this->enterRule($localContext, 12, self::RULE_expression);
534 case self::NOW:
535 case self::StringLiteral:
536 case self::Number:
537 case self::NumberLiteral:
538 case self::SqlName:
544 case self::SqlName:
546 $this->match(self::SqlName);
549 case self::StringLiteral:
551 $this->match(self::StringLiteral);
554 case self::NumberLiteral:
556 $this->match(self::NumberLiteral);
559 case self::Number:
561 $this->match(self::Number);
564 case self::NOW:
574 case self::DATE:
575 case self::DATETIME:
580 $this->match(self::LPAREN);
585 …self::NOW - 49)) | (1 << (self::DATE - 49)) | (1 << (self::DATETIME - 49)) | (1 << (self::StringLi…
593 while ($_la === self::COMMA) {
595 $this->match(self::COMMA);
603 $this->match(self::RPAREN);
627 $this->enterRule($localContext, 14, self::RULE_predicate);
642 …< self::EQUAL) | (1 << self::LESS_THAN) | (1 << self::LESS_THAN_OR_EQUAL) | (1 << self::GREATER_TH…
661 case self::LIKE:
662 case self::NOT:
667 if ($_la === self::NOT) {
669 $this->match(self::NOT);
673 $this->match(self::LIKE);
680 if ($_la === self::ESCAPE) {
682 $this->match(self::ESCAPE);
684 $this->match(self::StringLiteral);
688 case self::GLOB:
690 $this->match(self::GLOB);
705 if ($_la === self::NOT) {
707 $this->match(self::NOT);
710 $this->match(self::BETWEEN);
714 $this->match(self::AND);
724 if ($_la === self::NOT) {
726 $this->match(self::NOT);
729 $this->match(self::IN);
731 $this->match(self::LPAREN);
736 …self::NOW - 49)) | (1 << (self::DATE - 49)) | (1 << (self::DATETIME - 49)) | (1 << (self::StringLi…
743 while ($_la === self::COMMA) {
745 $this->match(self::COMMA);
754 $this->match(self::RPAREN);
775 $this->enterRule($localContext, 16, self::RULE_columns);
785 while ($_la === self::COMMA) {
787 $this->match(self::COMMA);
812 $this->enterRule($localContext, 18, self::RULE_predicateGroup);
817 $this->match(self::LPAREN);
824 while ($_la === self::AND || $_la === self::OR) {
829 if (!($_la === self::AND || $_la === self::OR)) {
846 $this->match(self::RPAREN);
865 $this->enterRule($localContext, 20, self::RULE_predicates);
870 $this->match(self::WHERE);
875 case self::Number:
876 case self::SqlName:
881 case self::LPAREN:
893 while ($_la === self::AND || $_la === self::OR) {
898 if (!($_la === self::AND || $_la === self::OR)) {
912 case self::Number:
913 case self::SqlName:
918 case self::LPAREN:
948 $this->enterRule($localContext, 22, self::RULE_tables);
953 $this->match(self::FROM);
974 $this->enterRule($localContext, 24, self::RULE_limit);
979 $this->match(self::LIMIT);
981 $this->match(self::Number);
1000 $this->enterRule($localContext, 26, self::RULE_orderBys);
1005 $this->match(self::ORDER);
1010 case self::RANDOM:
1012 $this->match(self::RANDOM);
1015 case self::BY:
1017 $this->match(self::BY);
1024 while ($_la === self::COMMA) {
1026 $this->match(self::COMMA);
1056 $this->enterRule($localContext, 28, self::RULE_orderByDef);
1061 $this->match(self::SqlName);
1066 if ($_la === self::ASC || $_la === self::DESC) {
1071 if (!($_la === self::ASC || $_la === self::DESC)) {
1100 $this->enterRule($localContext, 30, self::RULE_pageSql);
1105 $this->match(self::SELECT);
1110 if ($_la === self::RANDOM) {
1112 $this->match(self::RANDOM);
1118 case self::STAR:
1120 $this->match(self::STAR);
1123 case self::Number:
1124 case self::SqlName:
1129 case self::EOF:
1130 case self::FROM:
1131 case self::LIMIT:
1132 case self::ORDER:
1133 case self::WHERE:
1143 if ($_la === self::FROM) {
1151 if ($_la === self::WHERE) {
1159 if ($_la === self::ORDER) {
1167 if ($_la === self::LIMIT) {