Lines Matching refs:yylex

174                         { yylex.(*parser).generatedParserResult = $2 }
177 … { yylex.(*parser).addParseErrf(PositionRange{}, "no expression found in input")}
179 { yylex.(*parser).generatedParserResult = $2 }
181 { yylex.(*parser).generatedParserResult = $2 }
184 { yylex.(*parser).unexpected("","") }
207 { $$ = yylex.(*parser).newAggregateExpr($1, $2, $3) }
209 { $$ = yylex.(*parser).newAggregateExpr($1, $3, $2) }
211 { $$ = yylex.(*parser).newAggregateExpr($1, &AggregateExpr{}, $2) }
214 yylex.(*parser).unexpected("aggregation","");
215 $$ = yylex.(*parser).newAggregateExpr($1, &AggregateExpr{}, Expressions{})
240 binary_expr : expr ADD bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2,…
241 … | expr ATAN2 bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
242 … | expr DIV bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
243 … | expr EQLC bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
244 … | expr GTE bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
245 … | expr GTR bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
246 … | expr LAND bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
247 … | expr LOR bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
248 … | expr LSS bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
249 … | expr LTE bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
250 … | expr LUNLESS bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
251 … | expr MOD bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
252 … | expr MUL bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
253 … | expr NEQ bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
254 … | expr POW bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
255 … | expr SUB bin_modifier expr { $$ = yylex.(*parser).newBinaryExpression($1, $2, $3, $4) }
312 { yylex.(*parser).unexpected("grouping opts", "\"(\""); $$ = nil }
322 { yylex.(*parser).unexpected("grouping opts", "\",\" or \")\""); $$ = $1 }
328 yylex.(*parser).unexpected("grouping opts", "label")
333 { yylex.(*parser).unexpected("grouping opts", "label"); $$ = Item{} }
344yylex.(*parser).addParseErrf($1.PositionRange(),"unknown function with name %q", $1.Val)
351 End: yylex.(*parser).lastClosing,
369yylex.(*parser).addParseErrf($2.PositionRange(), "trailing commas not allowed in function call arg…
388 yylex.(*parser).addOffset($1, $3)
393 yylex.(*parser).addOffset($1, -$4)
397 { yylex.(*parser).unexpected("offset", "duration"); $$ = $1 }
405 yylex.(*parser).setTimestamp($1, $3)
410 yylex.(*parser).setAtModifierPreprocessor($1, $3)
414 { yylex.(*parser).unexpected("@", "timestamp"); $$ = $1 }
437 yylex.(*parser).addParseErrf(errRange, errMsg)
443 EndPos: yylex.(*parser).lastClosing,
459 { yylex.(*parser).unexpected("subquery selector", "\"]\""); $$ = $1 }
461 … { yylex.(*parser).unexpected("subquery selector", "duration or \"]\""); $$ = $1 }
463 … { yylex.(*parser).unexpected("subquery or range", "\":\" or \"]\""); $$ = $1 }
465 { yylex.(*parser).unexpected("subquery selector", "duration"); $$ = $1 }
497 yylex.(*parser).assembleVectorSelector(vs)
507 yylex.(*parser).assembleVectorSelector(vs)
513 yylex.(*parser).assembleVectorSelector(vs)
552 { yylex.(*parser).unexpected("label matching", "\",\" or \"}\""); $$ = $1 }
556 { $$ = yylex.(*parser).newLabelMatcher($1, $2, $3); }
558 { yylex.(*parser).unexpected("label matching", "string"); $$ = nil}
560 … { yylex.(*parser).unexpected("label matching", "label matching operator"); $$ = nil }
562 … { yylex.(*parser).unexpected("label matching", "identifier or \"}\""); $$ = nil}
593 { yylex.(*parser).unexpected("label set", "\",\" or \"}\"", ); $$ = $1 }
598 … { $$ = labels.Label{Name: $1.Val, Value: yylex.(*parser).unquoteString($3.Val) } }
600 { yylex.(*parser).unexpected("label set", "string"); $$ = labels.Label{}}
602 { yylex.(*parser).unexpected("label set", "\"=\""); $$ = labels.Label{}}
604 … { yylex.(*parser).unexpected("label set", "identifier or \"}\""); $$ = labels.Label{} }
613 yylex.(*parser).generatedParserResult = &seriesDescription{
627 { yylex.(*parser).unexpected("series values", ""); $$ = nil }
661 yylex.(*parser).unexpected("series values", "number or \"stale\"")
692 Val: yylex.(*parser).number($1.Val),
698 number : NUMBER { $$ = yylex.(*parser).number($1.Val) } ;
711yylex.(*parser).addParseErrf($1.PositionRange(), "invalid repetition in series values: %s", err)
721 yylex.(*parser).addParseErr($1.PositionRange(), err)
730 Val: yylex.(*parser).unquoteString($1.Val),