Lines Matching defs:PageSqlParser

12 use ComboStrap\PageSqlParser\PageSqlLexer;
13 use ComboStrap\PageSqlParser\PageSqlParser;
38 * @var PageSqlParser
51 PageSqlParser::RULE_columns,
52 PageSqlParser::RULE_tables,
53 PageSqlParser::RULE_predicates,
54 PageSqlParser::RULE_orderBys,
55 PageSqlParser::RULE_limit,
88 * @param PageSqlParser $parser
92 public function __construct(PageSqlLexer $lexer, PageSqlParser $parser, string $sql, MarkupPath $pageContext = null)
115 case PageSqlParser::SELECT:
129 if ($child->getRuleIndex() === PageSqlParser::RULE_tables) {
136 case PageSqlParser::SqlName:
138 case PageSqlParser::RULE_predicates:
175 case PageSqlParser::RULE_orderBys:
182 case PageSqlParser::RULE_columns:
187 case PageSqlParser::EQUAL:
188 case PageSqlParser::LIKE:
189 case PageSqlParser::GLOB:
190 case PageSqlParser::LESS_THAN_OR_EQUAL:
191 case PageSqlParser::LESS_THAN:
192 case PageSqlParser::GREATER_THAN:
193 case PageSqlParser::GREATER_THAN_OR_EQUAL:
194 case PageSqlParser::NOT_EQUAL:
196 case PageSqlParser::RULE_predicates:
200 case PageSqlParser::RANDOM:
203 case PageSqlParser::NOW:
206 case PageSqlParser::StringLiteral:
208 case PageSqlParser::RULE_predicates:
223 case PageSqlParser:: AND:
224 case PageSqlParser:: OR:
225 if ($this->ruleState === PageSqlParser::RULE_predicates) {
229 case PageSqlParser::LIMIT:
230 case PageSqlParser::NOT:
233 case PageSqlParser::DESC:
234 case PageSqlParser::LPAREN:
235 case PageSqlParser::RPAREN:
236 case PageSqlParser::ASC:
239 case PageSqlParser::COMMA:
241 case PageSqlParser::RULE_columns:
243 case PageSqlParser::RULE_orderBys:
250 case PageSqlParser::ESCAPE:
253 case PageSqlParser::Number:
255 case PageSqlParser::RULE_limit:
258 case PageSqlParser::RULE_predicates:
335 case PageSqlParser::RULE_orderBys:
338 case PageSqlParser::RULE_tables:
341 case PageSqlParser::RULE_predicates:
358 PageSqlParser::RULE_functionNames:
362 case PageSqlParser::RULE_tableNames:
434 case PageSqlParser::RULE_orderBys:
437 case PageSqlParser::RULE_predicates: