summaryrefslogtreecommitdiff
path: root/src/mongo/db/cst/parser_gen.cpp
diff options
context:
space:
mode:
authorGeorge Wangensteen <george.wangensteen@mongodb.com>2020-09-23 15:41:17 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-08 07:22:52 +0000
commit5c1ec93ae1ade70ea176060166b1c96c8ec01e48 (patch)
tree0a40dfff80f8b5646924b4ab9dd41c11b90ae3b2 /src/mongo/db/cst/parser_gen.cpp
parentd9a570a49aae682cdaccf2afeb284194fea38bc4 (diff)
downloadmongo-5c1ec93ae1ade70ea176060166b1c96c8ec01e48.tar.gz
SERVER-48863 Implement agg array operators starting with A-I in grammar.
Diffstat (limited to 'src/mongo/db/cst/parser_gen.cpp')
-rw-r--r--src/mongo/db/cst/parser_gen.cpp9565
1 files changed, 5075 insertions, 4490 deletions
diff --git a/src/mongo/db/cst/parser_gen.cpp b/src/mongo/db/cst/parser_gen.cpp
index fc9d2fbfd53..828e6626e62 100644
--- a/src/mongo/db/cst/parser_gen.cpp
+++ b/src/mongo/db/cst/parser_gen.cpp
@@ -1,8 +1,8 @@
-// A Bison parser, made by GNU Bison 3.5.
+// A Bison parser, made by GNU Bison 3.7.1.
// Skeleton implementation for Bison LALR(1) parsers in C++
-// Copyright (C) 2002-2015, 2018-2019 Free Software Foundation, Inc.
+// Copyright (C) 2002-2015, 2018-2020 Free Software Foundation, Inc.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -30,15 +30,16 @@
// This special exception was added by the Free Software Foundation in
// version 2.2 of Bison.
-// Undocumented macros, especially those whose name start with YY_,
-// are private implementation details. Do not rely on them.
+// DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
+// especially those whose name start with YY_ or yy_. They are
+// private implementation details that can be changed or removed.
#include "parser_gen.hpp"
// Unqualified %code blocks.
-#line 82 "src/mongo/db/cst/grammar.yy"
+#line 82 "grammar.yy"
#include <boost/algorithm/string.hpp>
#include <iterator>
@@ -64,7 +65,7 @@ void ParserGen::error(const ParserGen::location_type& loc, const std::string& ms
// mongo.
#define YYLLOC_DEFAULT(newPos, rhsPositions, nRhs)
-#line 72 "src/mongo/db/cst/parser_gen.cpp"
+#line 73 "parser_gen.cpp"
#ifndef YY_
@@ -79,6 +80,7 @@ void ParserGen::error(const ParserGen::location_type& loc, const std::string& ms
#endif
#endif
+
// Whether we are compiled with exception support.
#ifndef YY_EXCEPTIONS
#if defined __GNUC__ && !defined __EXCEPTIONS
@@ -129,10 +131,10 @@ void ParserGen::error(const ParserGen::location_type& loc, const std::string& ms
yy_reduce_print_(Rule); \
} while (false)
-#define YY_STACK_PRINT() \
- do { \
- if (yydebug_) \
- yystack_print_(); \
+#define YY_STACK_PRINT() \
+ do { \
+ if (yydebug_) \
+ yy_stack_print_(); \
} while (false)
#else // !YYDEBUG
@@ -154,47 +156,9 @@ void ParserGen::error(const ParserGen::location_type& loc, const std::string& ms
#define YYERROR goto yyerrorlab
#define YYRECOVERING() (!!yyerrstatus_)
-#line 57 "src/mongo/db/cst/grammar.yy"
+#line 57 "grammar.yy"
namespace mongo {
-#line 164 "src/mongo/db/cst/parser_gen.cpp"
-
-
-/* Return YYSTR after stripping away unnecessary quotes and
- backslashes, so that it's suitable for yyerror. The heuristic is
- that double-quoting is unnecessary unless the string contains an
- apostrophe, a comma, or backslash (other than backslash-backslash).
- YYSTR is taken from yytname. */
-std::string ParserGen::yytnamerr_(const char* yystr) {
- if (*yystr == '"') {
- std::string yyr;
- char const* yyp = yystr;
-
- for (;;)
- switch (*++yyp) {
- case '\'':
- case ',':
- goto do_not_strip_quotes;
-
- case '\\':
- if (*++yyp != '\\')
- goto do_not_strip_quotes;
- else
- goto append;
-
- append:
- default:
- yyr += *yyp;
- break;
-
- case '"':
- return yyr;
- }
- do_not_strip_quotes:;
- }
-
- return yystr;
-}
-
+#line 166 "parser_gen.cpp"
/// Build a parser object.
ParserGen::ParserGen(BSONLexer& lexer_yyarg, CNode* cst_yyarg)
@@ -213,7 +177,7 @@ ParserGen::~ParserGen() {}
ParserGen::syntax_error::~syntax_error() YY_NOEXCEPT YY_NOTHROW {}
/*---------------.
-| Symbol types. |
+| symbol kinds. |
`---------------*/
@@ -233,351 +197,361 @@ void ParserGen::by_state::move(by_state& that) {
ParserGen::by_state::by_state(state_type s) YY_NOEXCEPT : state(s) {}
-ParserGen::symbol_number_type ParserGen::by_state::type_get() const YY_NOEXCEPT {
+ParserGen::symbol_kind_type ParserGen::by_state::kind() const YY_NOEXCEPT {
if (state == empty_state)
- return empty_symbol;
+ return symbol_kind::S_YYEMPTY;
else
- return yystos_[state];
+ return YY_CAST(symbol_kind_type, yystos_[+state]);
}
ParserGen::stack_symbol_type::stack_symbol_type() {}
ParserGen::stack_symbol_type::stack_symbol_type(YY_RVREF(stack_symbol_type) that)
: super_type(YY_MOVE(that.state), YY_MOVE(that.location)) {
- switch (that.type_get()) {
- case 182: // "BinData"
+ switch (that.kind()) {
+ case symbol_kind::S_BINARY: // "BinData"
value.YY_MOVE_OR_COPY<BSONBinData>(YY_MOVE(that.value));
break;
- case 189: // "Code"
+ case symbol_kind::S_JAVASCRIPT: // "Code"
value.YY_MOVE_OR_COPY<BSONCode>(YY_MOVE(that.value));
break;
- case 191: // "CodeWScope"
+ case symbol_kind::S_JAVASCRIPT_W_SCOPE: // "CodeWScope"
value.YY_MOVE_OR_COPY<BSONCodeWScope>(YY_MOVE(that.value));
break;
- case 188: // "dbPointer"
+ case symbol_kind::S_DB_POINTER: // "dbPointer"
value.YY_MOVE_OR_COPY<BSONDBRef>(YY_MOVE(that.value));
break;
- case 187: // "regex"
+ case symbol_kind::S_REGEX: // "regex"
value.YY_MOVE_OR_COPY<BSONRegEx>(YY_MOVE(that.value));
break;
- case 190: // "Symbol"
+ case symbol_kind::S_SYMBOL: // "Symbol"
value.YY_MOVE_OR_COPY<BSONSymbol>(YY_MOVE(that.value));
break;
- case 223: // dbPointer
- case 224: // javascript
- case 225: // symbol
- case 226: // javascriptWScope
- case 227: // int
- case 228: // timestamp
- case 229: // long
- case 230: // double
- case 231: // decimal
- case 232: // minKey
- case 233: // maxKey
- case 234: // value
- case 235: // string
- case 236: // aggregationFieldPath
- case 237: // binary
- case 238: // undefined
- case 239: // objectId
- case 240: // bool
- case 241: // date
- case 242: // null
- case 243: // regex
- case 244: // simpleValue
- case 245: // compoundValue
- case 246: // valueArray
- case 247: // valueObject
- case 248: // valueFields
- case 249: // variable
- case 250: // typeArray
- case 251: // typeValue
- case 252: // pipeline
- case 253: // stageList
- case 254: // stage
- case 255: // inhibitOptimization
- case 256: // unionWith
- case 257: // skip
- case 258: // limit
- case 259: // matchStage
- case 260: // project
- case 261: // sample
- case 262: // aggregationProjectFields
- case 263: // aggregationProjectionObjectFields
- case 264: // topLevelAggregationProjection
- case 265: // aggregationProjection
- case 266: // projectionCommon
- case 267: // aggregationProjectionObject
- case 268: // num
- case 269: // expression
- case 270: // exprFixedTwoArg
- case 271: // exprFixedThreeArg
- case 272: // slice
- case 273: // expressionArray
- case 274: // expressionObject
- case 275: // expressionFields
- case 276: // maths
- case 277: // meta
- case 278: // add
- case 279: // boolExprs
- case 280: // and
- case 281: // or
- case 282: // not
- case 283: // literalEscapes
- case 284: // const
- case 285: // literal
- case 286: // stringExps
- case 287: // concat
- case 288: // dateFromString
- case 289: // dateToString
- case 290: // indexOfBytes
- case 291: // indexOfCP
- case 292: // ltrim
- case 293: // regexFind
- case 294: // regexFindAll
- case 295: // regexMatch
- case 296: // regexArgs
- case 297: // replaceOne
- case 298: // replaceAll
- case 299: // rtrim
- case 300: // split
- case 301: // strLenBytes
- case 302: // strLenCP
- case 303: // strcasecmp
- case 304: // substr
- case 305: // substrBytes
- case 306: // substrCP
- case 307: // toLower
- case 308: // toUpper
- case 309: // trim
- case 310: // compExprs
- case 311: // cmp
- case 312: // eq
- case 313: // gt
- case 314: // gte
- case 315: // lt
- case 316: // lte
- case 317: // ne
- case 318: // dateExps
- case 319: // dateFromParts
- case 320: // dateToParts
- case 321: // dayOfMonth
- case 322: // dayOfWeek
- case 323: // dayOfYear
- case 324: // hour
- case 325: // isoDayOfWeek
- case 326: // isoWeek
- case 327: // isoWeekYear
- case 328: // millisecond
- case 329: // minute
- case 330: // month
- case 331: // second
- case 332: // week
- case 333: // year
- case 334: // typeExpression
- case 335: // convert
- case 336: // toBool
- case 337: // toDate
- case 338: // toDecimal
- case 339: // toDouble
- case 340: // toInt
- case 341: // toLong
- case 342: // toObjectId
- case 343: // toString
- case 344: // type
- case 345: // abs
- case 346: // ceil
- case 347: // divide
- case 348: // exponent
- case 349: // floor
- case 350: // ln
- case 351: // log
- case 352: // logten
- case 353: // mod
- case 354: // multiply
- case 355: // pow
- case 356: // round
- case 357: // sqrt
- case 358: // subtract
- case 359: // trunc
- case 378: // setExpression
- case 379: // allElementsTrue
- case 380: // anyElementTrue
- case 381: // setDifference
- case 382: // setEquals
- case 383: // setIntersection
- case 384: // setIsSubset
- case 385: // setUnion
- case 386: // trig
- case 387: // sin
- case 388: // cos
- case 389: // tan
- case 390: // sinh
- case 391: // cosh
- case 392: // tanh
- case 393: // asin
- case 394: // acos
- case 395: // atan
- case 396: // asinh
- case 397: // acosh
- case 398: // atanh
- case 399: // atan2
- case 400: // degreesToRadians
- case 401: // radiansToDegrees
- case 402: // nonArrayExpression
- case 403: // nonArrayCompoundExpression
- case 404: // aggregationOperator
- case 405: // aggregationOperatorWithoutSlice
- case 406: // expressionSingletonArray
- case 407: // singleArgExpression
- case 408: // nonArrayNonObjExpression
- case 409: // matchExpression
- case 410: // predicates
- case 411: // compoundMatchExprs
- case 412: // predValue
- case 413: // additionalExprs
- case 428: // textArgCaseSensitive
- case 429: // textArgDiacriticSensitive
- case 430: // textArgLanguage
- case 431: // textArgSearch
- case 432: // findProject
- case 433: // findProjectFields
- case 434: // topLevelFindProjection
- case 435: // findProjection
- case 436: // findProjectionSlice
- case 437: // elemMatch
- case 438: // findProjectionObject
- case 439: // findProjectionObjectFields
- case 442: // sortSpecs
- case 443: // specList
- case 444: // metaSort
- case 445: // oneOrNegOne
- case 446: // metaSortKeyword
+ case symbol_kind::S_dbPointer: // dbPointer
+ case symbol_kind::S_javascript: // javascript
+ case symbol_kind::S_symbol: // symbol
+ case symbol_kind::S_javascriptWScope: // javascriptWScope
+ case symbol_kind::S_int: // int
+ case symbol_kind::S_timestamp: // timestamp
+ case symbol_kind::S_long: // long
+ case symbol_kind::S_double: // double
+ case symbol_kind::S_decimal: // decimal
+ case symbol_kind::S_minKey: // minKey
+ case symbol_kind::S_maxKey: // maxKey
+ case symbol_kind::S_value: // value
+ case symbol_kind::S_string: // string
+ case symbol_kind::S_aggregationFieldPath: // aggregationFieldPath
+ case symbol_kind::S_binary: // binary
+ case symbol_kind::S_undefined: // undefined
+ case symbol_kind::S_objectId: // objectId
+ case symbol_kind::S_bool: // bool
+ case symbol_kind::S_date: // date
+ case symbol_kind::S_null: // null
+ case symbol_kind::S_regex: // regex
+ case symbol_kind::S_simpleValue: // simpleValue
+ case symbol_kind::S_compoundValue: // compoundValue
+ case symbol_kind::S_valueArray: // valueArray
+ case symbol_kind::S_valueObject: // valueObject
+ case symbol_kind::S_valueFields: // valueFields
+ case symbol_kind::S_variable: // variable
+ case symbol_kind::S_typeArray: // typeArray
+ case symbol_kind::S_typeValue: // typeValue
+ case symbol_kind::S_pipeline: // pipeline
+ case symbol_kind::S_stageList: // stageList
+ case symbol_kind::S_stage: // stage
+ case symbol_kind::S_inhibitOptimization: // inhibitOptimization
+ case symbol_kind::S_unionWith: // unionWith
+ case symbol_kind::S_skip: // skip
+ case symbol_kind::S_limit: // limit
+ case symbol_kind::S_matchStage: // matchStage
+ case symbol_kind::S_project: // project
+ case symbol_kind::S_sample: // sample
+ case symbol_kind::S_aggregationProjectFields: // aggregationProjectFields
+ case symbol_kind::S_aggregationProjectionObjectFields: // aggregationProjectionObjectFields
+ case symbol_kind::S_topLevelAggregationProjection: // topLevelAggregationProjection
+ case symbol_kind::S_aggregationProjection: // aggregationProjection
+ case symbol_kind::S_projectionCommon: // projectionCommon
+ case symbol_kind::S_aggregationProjectionObject: // aggregationProjectionObject
+ case symbol_kind::S_num: // num
+ case symbol_kind::S_expression: // expression
+ case symbol_kind::S_exprFixedTwoArg: // exprFixedTwoArg
+ case symbol_kind::S_exprFixedThreeArg: // exprFixedThreeArg
+ case symbol_kind::S_slice: // slice
+ case symbol_kind::S_expressionArray: // expressionArray
+ case symbol_kind::S_expressionObject: // expressionObject
+ case symbol_kind::S_expressionFields: // expressionFields
+ case symbol_kind::S_maths: // maths
+ case symbol_kind::S_meta: // meta
+ case symbol_kind::S_add: // add
+ case symbol_kind::S_boolExprs: // boolExprs
+ case symbol_kind::S_and: // and
+ case symbol_kind::S_or: // or
+ case symbol_kind::S_not: // not
+ case symbol_kind::S_literalEscapes: // literalEscapes
+ case symbol_kind::S_const: // const
+ case symbol_kind::S_literal: // literal
+ case symbol_kind::S_stringExps: // stringExps
+ case symbol_kind::S_concat: // concat
+ case symbol_kind::S_dateFromString: // dateFromString
+ case symbol_kind::S_dateToString: // dateToString
+ case symbol_kind::S_indexOfBytes: // indexOfBytes
+ case symbol_kind::S_indexOfCP: // indexOfCP
+ case symbol_kind::S_ltrim: // ltrim
+ case symbol_kind::S_regexFind: // regexFind
+ case symbol_kind::S_regexFindAll: // regexFindAll
+ case symbol_kind::S_regexMatch: // regexMatch
+ case symbol_kind::S_regexArgs: // regexArgs
+ case symbol_kind::S_replaceOne: // replaceOne
+ case symbol_kind::S_replaceAll: // replaceAll
+ case symbol_kind::S_rtrim: // rtrim
+ case symbol_kind::S_split: // split
+ case symbol_kind::S_strLenBytes: // strLenBytes
+ case symbol_kind::S_strLenCP: // strLenCP
+ case symbol_kind::S_strcasecmp: // strcasecmp
+ case symbol_kind::S_substr: // substr
+ case symbol_kind::S_substrBytes: // substrBytes
+ case symbol_kind::S_substrCP: // substrCP
+ case symbol_kind::S_toLower: // toLower
+ case symbol_kind::S_toUpper: // toUpper
+ case symbol_kind::S_trim: // trim
+ case symbol_kind::S_compExprs: // compExprs
+ case symbol_kind::S_cmp: // cmp
+ case symbol_kind::S_eq: // eq
+ case symbol_kind::S_gt: // gt
+ case symbol_kind::S_gte: // gte
+ case symbol_kind::S_lt: // lt
+ case symbol_kind::S_lte: // lte
+ case symbol_kind::S_ne: // ne
+ case symbol_kind::S_dateExps: // dateExps
+ case symbol_kind::S_dateFromParts: // dateFromParts
+ case symbol_kind::S_dateToParts: // dateToParts
+ case symbol_kind::S_dayOfMonth: // dayOfMonth
+ case symbol_kind::S_dayOfWeek: // dayOfWeek
+ case symbol_kind::S_dayOfYear: // dayOfYear
+ case symbol_kind::S_hour: // hour
+ case symbol_kind::S_isoDayOfWeek: // isoDayOfWeek
+ case symbol_kind::S_isoWeek: // isoWeek
+ case symbol_kind::S_isoWeekYear: // isoWeekYear
+ case symbol_kind::S_millisecond: // millisecond
+ case symbol_kind::S_minute: // minute
+ case symbol_kind::S_month: // month
+ case symbol_kind::S_second: // second
+ case symbol_kind::S_week: // week
+ case symbol_kind::S_year: // year
+ case symbol_kind::S_typeExpression: // typeExpression
+ case symbol_kind::S_convert: // convert
+ case symbol_kind::S_toBool: // toBool
+ case symbol_kind::S_toDate: // toDate
+ case symbol_kind::S_toDecimal: // toDecimal
+ case symbol_kind::S_toDouble: // toDouble
+ case symbol_kind::S_toInt: // toInt
+ case symbol_kind::S_toLong: // toLong
+ case symbol_kind::S_toObjectId: // toObjectId
+ case symbol_kind::S_toString: // toString
+ case symbol_kind::S_type: // type
+ case symbol_kind::S_abs: // abs
+ case symbol_kind::S_ceil: // ceil
+ case symbol_kind::S_divide: // divide
+ case symbol_kind::S_exponent: // exponent
+ case symbol_kind::S_floor: // floor
+ case symbol_kind::S_ln: // ln
+ case symbol_kind::S_log: // log
+ case symbol_kind::S_logten: // logten
+ case symbol_kind::S_mod: // mod
+ case symbol_kind::S_multiply: // multiply
+ case symbol_kind::S_pow: // pow
+ case symbol_kind::S_round: // round
+ case symbol_kind::S_sqrt: // sqrt
+ case symbol_kind::S_subtract: // subtract
+ case symbol_kind::S_trunc: // trunc
+ case symbol_kind::S_arrayExps: // arrayExps
+ case symbol_kind::S_arrayElemAt: // arrayElemAt
+ case symbol_kind::S_arrayToObject: // arrayToObject
+ case symbol_kind::S_concatArrays: // concatArrays
+ case symbol_kind::S_filter: // filter
+ case symbol_kind::S_first: // first
+ case symbol_kind::S_in: // in
+ case symbol_kind::S_indexOfArray: // indexOfArray
+ case symbol_kind::S_isArray: // isArray
+ case symbol_kind::S_setExpression: // setExpression
+ case symbol_kind::S_allElementsTrue: // allElementsTrue
+ case symbol_kind::S_anyElementTrue: // anyElementTrue
+ case symbol_kind::S_setDifference: // setDifference
+ case symbol_kind::S_setEquals: // setEquals
+ case symbol_kind::S_setIntersection: // setIntersection
+ case symbol_kind::S_setIsSubset: // setIsSubset
+ case symbol_kind::S_setUnion: // setUnion
+ case symbol_kind::S_trig: // trig
+ case symbol_kind::S_sin: // sin
+ case symbol_kind::S_cos: // cos
+ case symbol_kind::S_tan: // tan
+ case symbol_kind::S_sinh: // sinh
+ case symbol_kind::S_cosh: // cosh
+ case symbol_kind::S_tanh: // tanh
+ case symbol_kind::S_asin: // asin
+ case symbol_kind::S_acos: // acos
+ case symbol_kind::S_atan: // atan
+ case symbol_kind::S_asinh: // asinh
+ case symbol_kind::S_acosh: // acosh
+ case symbol_kind::S_atanh: // atanh
+ case symbol_kind::S_atan2: // atan2
+ case symbol_kind::S_degreesToRadians: // degreesToRadians
+ case symbol_kind::S_radiansToDegrees: // radiansToDegrees
+ case symbol_kind::S_nonArrayExpression: // nonArrayExpression
+ case symbol_kind::S_nonArrayCompoundExpression: // nonArrayCompoundExpression
+ case symbol_kind::S_aggregationOperator: // aggregationOperator
+ case symbol_kind::S_aggregationOperatorWithoutSlice: // aggregationOperatorWithoutSlice
+ case symbol_kind::S_expressionSingletonArray: // expressionSingletonArray
+ case symbol_kind::S_singleArgExpression: // singleArgExpression
+ case symbol_kind::S_nonArrayNonObjExpression: // nonArrayNonObjExpression
+ case symbol_kind::S_matchExpression: // matchExpression
+ case symbol_kind::S_predicates: // predicates
+ case symbol_kind::S_compoundMatchExprs: // compoundMatchExprs
+ case symbol_kind::S_predValue: // predValue
+ case symbol_kind::S_additionalExprs: // additionalExprs
+ case symbol_kind::S_textArgCaseSensitive: // textArgCaseSensitive
+ case symbol_kind::S_textArgDiacriticSensitive: // textArgDiacriticSensitive
+ case symbol_kind::S_textArgLanguage: // textArgLanguage
+ case symbol_kind::S_textArgSearch: // textArgSearch
+ case symbol_kind::S_findProject: // findProject
+ case symbol_kind::S_findProjectFields: // findProjectFields
+ case symbol_kind::S_topLevelFindProjection: // topLevelFindProjection
+ case symbol_kind::S_findProjection: // findProjection
+ case symbol_kind::S_findProjectionSlice: // findProjectionSlice
+ case symbol_kind::S_elemMatch: // elemMatch
+ case symbol_kind::S_findProjectionObject: // findProjectionObject
+ case symbol_kind::S_findProjectionObjectFields: // findProjectionObjectFields
+ case symbol_kind::S_sortSpecs: // sortSpecs
+ case symbol_kind::S_specList: // specList
+ case symbol_kind::S_metaSort: // metaSort
+ case symbol_kind::S_oneOrNegOne: // oneOrNegOne
+ case symbol_kind::S_metaSortKeyword: // metaSortKeyword
value.YY_MOVE_OR_COPY<CNode>(YY_MOVE(that.value));
break;
- case 204: // aggregationProjectionFieldname
- case 205: // projectionFieldname
- case 206: // expressionFieldname
- case 207: // stageAsUserFieldname
- case 208: // argAsUserFieldname
- case 209: // argAsProjectionPath
- case 210: // aggExprAsUserFieldname
- case 211: // invariableUserFieldname
- case 212: // sortFieldname
- case 213: // idAsUserFieldname
- case 214: // elemMatchAsUserFieldname
- case 215: // idAsProjectionPath
- case 216: // valueFieldname
- case 217: // predFieldname
- case 423: // logicalExprField
+ case symbol_kind::S_aggregationProjectionFieldname: // aggregationProjectionFieldname
+ case symbol_kind::S_projectionFieldname: // projectionFieldname
+ case symbol_kind::S_expressionFieldname: // expressionFieldname
+ case symbol_kind::S_stageAsUserFieldname: // stageAsUserFieldname
+ case symbol_kind::S_argAsUserFieldname: // argAsUserFieldname
+ case symbol_kind::S_argAsProjectionPath: // argAsProjectionPath
+ case symbol_kind::S_aggExprAsUserFieldname: // aggExprAsUserFieldname
+ case symbol_kind::S_invariableUserFieldname: // invariableUserFieldname
+ case symbol_kind::S_sortFieldname: // sortFieldname
+ case symbol_kind::S_idAsUserFieldname: // idAsUserFieldname
+ case symbol_kind::S_elemMatchAsUserFieldname: // elemMatchAsUserFieldname
+ case symbol_kind::S_idAsProjectionPath: // idAsProjectionPath
+ case symbol_kind::S_valueFieldname: // valueFieldname
+ case symbol_kind::S_predFieldname: // predFieldname
+ case symbol_kind::S_logicalExprField: // logicalExprField
value.YY_MOVE_OR_COPY<CNode::Fieldname>(YY_MOVE(that.value));
break;
- case 185: // "Date"
+ case symbol_kind::S_DATE_LITERAL: // "Date"
value.YY_MOVE_OR_COPY<Date_t>(YY_MOVE(that.value));
break;
- case 195: // "arbitrary decimal"
+ case symbol_kind::S_DECIMAL_OTHER: // "arbitrary decimal"
value.YY_MOVE_OR_COPY<Decimal128>(YY_MOVE(that.value));
break;
- case 184: // "ObjectID"
+ case symbol_kind::S_OBJECT_ID: // "ObjectID"
value.YY_MOVE_OR_COPY<OID>(YY_MOVE(that.value));
break;
- case 196: // "Timestamp"
+ case symbol_kind::S_TIMESTAMP: // "Timestamp"
value.YY_MOVE_OR_COPY<Timestamp>(YY_MOVE(that.value));
break;
- case 198: // "maxKey"
+ case symbol_kind::S_MAX_KEY: // "maxKey"
value.YY_MOVE_OR_COPY<UserMaxKey>(YY_MOVE(that.value));
break;
- case 197: // "minKey"
+ case symbol_kind::S_MIN_KEY: // "minKey"
value.YY_MOVE_OR_COPY<UserMinKey>(YY_MOVE(that.value));
break;
- case 186: // "null"
+ case symbol_kind::S_JSNULL: // "null"
value.YY_MOVE_OR_COPY<UserNull>(YY_MOVE(that.value));
break;
- case 183: // "undefined"
+ case symbol_kind::S_UNDEFINED: // "undefined"
value.YY_MOVE_OR_COPY<UserUndefined>(YY_MOVE(that.value));
break;
- case 194: // "arbitrary double"
+ case symbol_kind::S_DOUBLE_OTHER: // "arbitrary double"
value.YY_MOVE_OR_COPY<double>(YY_MOVE(that.value));
break;
- case 192: // "arbitrary integer"
+ case symbol_kind::S_INT_OTHER: // "arbitrary integer"
value.YY_MOVE_OR_COPY<int>(YY_MOVE(that.value));
break;
- case 193: // "arbitrary long"
+ case symbol_kind::S_LONG_OTHER: // "arbitrary long"
value.YY_MOVE_OR_COPY<long long>(YY_MOVE(that.value));
break;
- case 218: // aggregationProjectField
- case 219: // aggregationProjectionObjectField
- case 220: // expressionField
- case 221: // valueField
- case 360: // onErrorArg
- case 361: // onNullArg
- case 362: // formatArg
- case 363: // timezoneArg
- case 364: // charsArg
- case 365: // optionsArg
- case 366: // hourArg
- case 367: // minuteArg
- case 368: // secondArg
- case 369: // millisecondArg
- case 370: // dayArg
- case 371: // isoWeekArg
- case 372: // iso8601Arg
- case 373: // monthArg
- case 374: // isoDayOfWeekArg
- case 414: // predicate
- case 415: // fieldPredicate
- case 416: // logicalExpr
- case 417: // operatorExpression
- case 418: // notExpr
- case 419: // matchMod
- case 420: // existsExpr
- case 421: // typeExpr
- case 422: // commentExpr
- case 425: // matchExpr
- case 426: // matchText
- case 427: // matchWhere
- case 440: // findProjectField
- case 441: // findProjectionObjectField
- case 447: // sortSpec
+ case symbol_kind::S_aggregationProjectField: // aggregationProjectField
+ case symbol_kind::S_aggregationProjectionObjectField: // aggregationProjectionObjectField
+ case symbol_kind::S_expressionField: // expressionField
+ case symbol_kind::S_valueField: // valueField
+ case symbol_kind::S_onErrorArg: // onErrorArg
+ case symbol_kind::S_onNullArg: // onNullArg
+ case symbol_kind::S_asArg: // asArg
+ case symbol_kind::S_formatArg: // formatArg
+ case symbol_kind::S_timezoneArg: // timezoneArg
+ case symbol_kind::S_charsArg: // charsArg
+ case symbol_kind::S_optionsArg: // optionsArg
+ case symbol_kind::S_hourArg: // hourArg
+ case symbol_kind::S_minuteArg: // minuteArg
+ case symbol_kind::S_secondArg: // secondArg
+ case symbol_kind::S_millisecondArg: // millisecondArg
+ case symbol_kind::S_dayArg: // dayArg
+ case symbol_kind::S_isoWeekArg: // isoWeekArg
+ case symbol_kind::S_iso8601Arg: // iso8601Arg
+ case symbol_kind::S_monthArg: // monthArg
+ case symbol_kind::S_isoDayOfWeekArg: // isoDayOfWeekArg
+ case symbol_kind::S_predicate: // predicate
+ case symbol_kind::S_fieldPredicate: // fieldPredicate
+ case symbol_kind::S_logicalExpr: // logicalExpr
+ case symbol_kind::S_operatorExpression: // operatorExpression
+ case symbol_kind::S_notExpr: // notExpr
+ case symbol_kind::S_matchMod: // matchMod
+ case symbol_kind::S_existsExpr: // existsExpr
+ case symbol_kind::S_typeExpr: // typeExpr
+ case symbol_kind::S_commentExpr: // commentExpr
+ case symbol_kind::S_matchExpr: // matchExpr
+ case symbol_kind::S_matchText: // matchText
+ case symbol_kind::S_matchWhere: // matchWhere
+ case symbol_kind::S_findProjectField: // findProjectField
+ case symbol_kind::S_findProjectionObjectField: // findProjectionObjectField
+ case symbol_kind::S_sortSpec: // sortSpec
value.YY_MOVE_OR_COPY<std::pair<CNode::Fieldname, CNode>>(YY_MOVE(that.value));
break;
- case 176: // "fieldname"
- case 178: // "$-prefixed fieldname"
- case 179: // "string"
- case 180: // "$-prefixed string"
- case 181: // "$$-prefixed string"
- case 222: // arg
+ case symbol_kind::S_FIELDNAME: // "fieldname"
+ case symbol_kind::S_DOLLAR_PREF_FIELDNAME: // "$-prefixed fieldname"
+ case symbol_kind::S_STRING: // "string"
+ case symbol_kind::S_DOLLAR_STRING: // "$-prefixed string"
+ case symbol_kind::S_DOLLAR_DOLLAR_STRING: // "$$-prefixed string"
+ case symbol_kind::S_arg: // arg
value.YY_MOVE_OR_COPY<std::string>(YY_MOVE(that.value));
break;
- case 375: // expressions
- case 376: // values
- case 377: // exprZeroToTwo
- case 424: // typeValues
+ case symbol_kind::S_expressions: // expressions
+ case symbol_kind::S_values: // values
+ case symbol_kind::S_exprZeroToTwo: // exprZeroToTwo
+ case symbol_kind::S_typeValues: // typeValues
value.YY_MOVE_OR_COPY<std::vector<CNode>>(YY_MOVE(that.value));
break;
- case 177: // "fieldname containing dotted path"
+ case symbol_kind::S_DOTTED_FIELDNAME: // "fieldname containing dotted path"
value.YY_MOVE_OR_COPY<std::vector<std::string>>(YY_MOVE(that.value));
break;
@@ -593,340 +567,350 @@ ParserGen::stack_symbol_type::stack_symbol_type(YY_RVREF(stack_symbol_type) that
ParserGen::stack_symbol_type::stack_symbol_type(state_type s, YY_MOVE_REF(symbol_type) that)
: super_type(s, YY_MOVE(that.location)) {
- switch (that.type_get()) {
- case 182: // "BinData"
+ switch (that.kind()) {
+ case symbol_kind::S_BINARY: // "BinData"
value.move<BSONBinData>(YY_MOVE(that.value));
break;
- case 189: // "Code"
+ case symbol_kind::S_JAVASCRIPT: // "Code"
value.move<BSONCode>(YY_MOVE(that.value));
break;
- case 191: // "CodeWScope"
+ case symbol_kind::S_JAVASCRIPT_W_SCOPE: // "CodeWScope"
value.move<BSONCodeWScope>(YY_MOVE(that.value));
break;
- case 188: // "dbPointer"
+ case symbol_kind::S_DB_POINTER: // "dbPointer"
value.move<BSONDBRef>(YY_MOVE(that.value));
break;
- case 187: // "regex"
+ case symbol_kind::S_REGEX: // "regex"
value.move<BSONRegEx>(YY_MOVE(that.value));
break;
- case 190: // "Symbol"
+ case symbol_kind::S_SYMBOL: // "Symbol"
value.move<BSONSymbol>(YY_MOVE(that.value));
break;
- case 223: // dbPointer
- case 224: // javascript
- case 225: // symbol
- case 226: // javascriptWScope
- case 227: // int
- case 228: // timestamp
- case 229: // long
- case 230: // double
- case 231: // decimal
- case 232: // minKey
- case 233: // maxKey
- case 234: // value
- case 235: // string
- case 236: // aggregationFieldPath
- case 237: // binary
- case 238: // undefined
- case 239: // objectId
- case 240: // bool
- case 241: // date
- case 242: // null
- case 243: // regex
- case 244: // simpleValue
- case 245: // compoundValue
- case 246: // valueArray
- case 247: // valueObject
- case 248: // valueFields
- case 249: // variable
- case 250: // typeArray
- case 251: // typeValue
- case 252: // pipeline
- case 253: // stageList
- case 254: // stage
- case 255: // inhibitOptimization
- case 256: // unionWith
- case 257: // skip
- case 258: // limit
- case 259: // matchStage
- case 260: // project
- case 261: // sample
- case 262: // aggregationProjectFields
- case 263: // aggregationProjectionObjectFields
- case 264: // topLevelAggregationProjection
- case 265: // aggregationProjection
- case 266: // projectionCommon
- case 267: // aggregationProjectionObject
- case 268: // num
- case 269: // expression
- case 270: // exprFixedTwoArg
- case 271: // exprFixedThreeArg
- case 272: // slice
- case 273: // expressionArray
- case 274: // expressionObject
- case 275: // expressionFields
- case 276: // maths
- case 277: // meta
- case 278: // add
- case 279: // boolExprs
- case 280: // and
- case 281: // or
- case 282: // not
- case 283: // literalEscapes
- case 284: // const
- case 285: // literal
- case 286: // stringExps
- case 287: // concat
- case 288: // dateFromString
- case 289: // dateToString
- case 290: // indexOfBytes
- case 291: // indexOfCP
- case 292: // ltrim
- case 293: // regexFind
- case 294: // regexFindAll
- case 295: // regexMatch
- case 296: // regexArgs
- case 297: // replaceOne
- case 298: // replaceAll
- case 299: // rtrim
- case 300: // split
- case 301: // strLenBytes
- case 302: // strLenCP
- case 303: // strcasecmp
- case 304: // substr
- case 305: // substrBytes
- case 306: // substrCP
- case 307: // toLower
- case 308: // toUpper
- case 309: // trim
- case 310: // compExprs
- case 311: // cmp
- case 312: // eq
- case 313: // gt
- case 314: // gte
- case 315: // lt
- case 316: // lte
- case 317: // ne
- case 318: // dateExps
- case 319: // dateFromParts
- case 320: // dateToParts
- case 321: // dayOfMonth
- case 322: // dayOfWeek
- case 323: // dayOfYear
- case 324: // hour
- case 325: // isoDayOfWeek
- case 326: // isoWeek
- case 327: // isoWeekYear
- case 328: // millisecond
- case 329: // minute
- case 330: // month
- case 331: // second
- case 332: // week
- case 333: // year
- case 334: // typeExpression
- case 335: // convert
- case 336: // toBool
- case 337: // toDate
- case 338: // toDecimal
- case 339: // toDouble
- case 340: // toInt
- case 341: // toLong
- case 342: // toObjectId
- case 343: // toString
- case 344: // type
- case 345: // abs
- case 346: // ceil
- case 347: // divide
- case 348: // exponent
- case 349: // floor
- case 350: // ln
- case 351: // log
- case 352: // logten
- case 353: // mod
- case 354: // multiply
- case 355: // pow
- case 356: // round
- case 357: // sqrt
- case 358: // subtract
- case 359: // trunc
- case 378: // setExpression
- case 379: // allElementsTrue
- case 380: // anyElementTrue
- case 381: // setDifference
- case 382: // setEquals
- case 383: // setIntersection
- case 384: // setIsSubset
- case 385: // setUnion
- case 386: // trig
- case 387: // sin
- case 388: // cos
- case 389: // tan
- case 390: // sinh
- case 391: // cosh
- case 392: // tanh
- case 393: // asin
- case 394: // acos
- case 395: // atan
- case 396: // asinh
- case 397: // acosh
- case 398: // atanh
- case 399: // atan2
- case 400: // degreesToRadians
- case 401: // radiansToDegrees
- case 402: // nonArrayExpression
- case 403: // nonArrayCompoundExpression
- case 404: // aggregationOperator
- case 405: // aggregationOperatorWithoutSlice
- case 406: // expressionSingletonArray
- case 407: // singleArgExpression
- case 408: // nonArrayNonObjExpression
- case 409: // matchExpression
- case 410: // predicates
- case 411: // compoundMatchExprs
- case 412: // predValue
- case 413: // additionalExprs
- case 428: // textArgCaseSensitive
- case 429: // textArgDiacriticSensitive
- case 430: // textArgLanguage
- case 431: // textArgSearch
- case 432: // findProject
- case 433: // findProjectFields
- case 434: // topLevelFindProjection
- case 435: // findProjection
- case 436: // findProjectionSlice
- case 437: // elemMatch
- case 438: // findProjectionObject
- case 439: // findProjectionObjectFields
- case 442: // sortSpecs
- case 443: // specList
- case 444: // metaSort
- case 445: // oneOrNegOne
- case 446: // metaSortKeyword
+ case symbol_kind::S_dbPointer: // dbPointer
+ case symbol_kind::S_javascript: // javascript
+ case symbol_kind::S_symbol: // symbol
+ case symbol_kind::S_javascriptWScope: // javascriptWScope
+ case symbol_kind::S_int: // int
+ case symbol_kind::S_timestamp: // timestamp
+ case symbol_kind::S_long: // long
+ case symbol_kind::S_double: // double
+ case symbol_kind::S_decimal: // decimal
+ case symbol_kind::S_minKey: // minKey
+ case symbol_kind::S_maxKey: // maxKey
+ case symbol_kind::S_value: // value
+ case symbol_kind::S_string: // string
+ case symbol_kind::S_aggregationFieldPath: // aggregationFieldPath
+ case symbol_kind::S_binary: // binary
+ case symbol_kind::S_undefined: // undefined
+ case symbol_kind::S_objectId: // objectId
+ case symbol_kind::S_bool: // bool
+ case symbol_kind::S_date: // date
+ case symbol_kind::S_null: // null
+ case symbol_kind::S_regex: // regex
+ case symbol_kind::S_simpleValue: // simpleValue
+ case symbol_kind::S_compoundValue: // compoundValue
+ case symbol_kind::S_valueArray: // valueArray
+ case symbol_kind::S_valueObject: // valueObject
+ case symbol_kind::S_valueFields: // valueFields
+ case symbol_kind::S_variable: // variable
+ case symbol_kind::S_typeArray: // typeArray
+ case symbol_kind::S_typeValue: // typeValue
+ case symbol_kind::S_pipeline: // pipeline
+ case symbol_kind::S_stageList: // stageList
+ case symbol_kind::S_stage: // stage
+ case symbol_kind::S_inhibitOptimization: // inhibitOptimization
+ case symbol_kind::S_unionWith: // unionWith
+ case symbol_kind::S_skip: // skip
+ case symbol_kind::S_limit: // limit
+ case symbol_kind::S_matchStage: // matchStage
+ case symbol_kind::S_project: // project
+ case symbol_kind::S_sample: // sample
+ case symbol_kind::S_aggregationProjectFields: // aggregationProjectFields
+ case symbol_kind::S_aggregationProjectionObjectFields: // aggregationProjectionObjectFields
+ case symbol_kind::S_topLevelAggregationProjection: // topLevelAggregationProjection
+ case symbol_kind::S_aggregationProjection: // aggregationProjection
+ case symbol_kind::S_projectionCommon: // projectionCommon
+ case symbol_kind::S_aggregationProjectionObject: // aggregationProjectionObject
+ case symbol_kind::S_num: // num
+ case symbol_kind::S_expression: // expression
+ case symbol_kind::S_exprFixedTwoArg: // exprFixedTwoArg
+ case symbol_kind::S_exprFixedThreeArg: // exprFixedThreeArg
+ case symbol_kind::S_slice: // slice
+ case symbol_kind::S_expressionArray: // expressionArray
+ case symbol_kind::S_expressionObject: // expressionObject
+ case symbol_kind::S_expressionFields: // expressionFields
+ case symbol_kind::S_maths: // maths
+ case symbol_kind::S_meta: // meta
+ case symbol_kind::S_add: // add
+ case symbol_kind::S_boolExprs: // boolExprs
+ case symbol_kind::S_and: // and
+ case symbol_kind::S_or: // or
+ case symbol_kind::S_not: // not
+ case symbol_kind::S_literalEscapes: // literalEscapes
+ case symbol_kind::S_const: // const
+ case symbol_kind::S_literal: // literal
+ case symbol_kind::S_stringExps: // stringExps
+ case symbol_kind::S_concat: // concat
+ case symbol_kind::S_dateFromString: // dateFromString
+ case symbol_kind::S_dateToString: // dateToString
+ case symbol_kind::S_indexOfBytes: // indexOfBytes
+ case symbol_kind::S_indexOfCP: // indexOfCP
+ case symbol_kind::S_ltrim: // ltrim
+ case symbol_kind::S_regexFind: // regexFind
+ case symbol_kind::S_regexFindAll: // regexFindAll
+ case symbol_kind::S_regexMatch: // regexMatch
+ case symbol_kind::S_regexArgs: // regexArgs
+ case symbol_kind::S_replaceOne: // replaceOne
+ case symbol_kind::S_replaceAll: // replaceAll
+ case symbol_kind::S_rtrim: // rtrim
+ case symbol_kind::S_split: // split
+ case symbol_kind::S_strLenBytes: // strLenBytes
+ case symbol_kind::S_strLenCP: // strLenCP
+ case symbol_kind::S_strcasecmp: // strcasecmp
+ case symbol_kind::S_substr: // substr
+ case symbol_kind::S_substrBytes: // substrBytes
+ case symbol_kind::S_substrCP: // substrCP
+ case symbol_kind::S_toLower: // toLower
+ case symbol_kind::S_toUpper: // toUpper
+ case symbol_kind::S_trim: // trim
+ case symbol_kind::S_compExprs: // compExprs
+ case symbol_kind::S_cmp: // cmp
+ case symbol_kind::S_eq: // eq
+ case symbol_kind::S_gt: // gt
+ case symbol_kind::S_gte: // gte
+ case symbol_kind::S_lt: // lt
+ case symbol_kind::S_lte: // lte
+ case symbol_kind::S_ne: // ne
+ case symbol_kind::S_dateExps: // dateExps
+ case symbol_kind::S_dateFromParts: // dateFromParts
+ case symbol_kind::S_dateToParts: // dateToParts
+ case symbol_kind::S_dayOfMonth: // dayOfMonth
+ case symbol_kind::S_dayOfWeek: // dayOfWeek
+ case symbol_kind::S_dayOfYear: // dayOfYear
+ case symbol_kind::S_hour: // hour
+ case symbol_kind::S_isoDayOfWeek: // isoDayOfWeek
+ case symbol_kind::S_isoWeek: // isoWeek
+ case symbol_kind::S_isoWeekYear: // isoWeekYear
+ case symbol_kind::S_millisecond: // millisecond
+ case symbol_kind::S_minute: // minute
+ case symbol_kind::S_month: // month
+ case symbol_kind::S_second: // second
+ case symbol_kind::S_week: // week
+ case symbol_kind::S_year: // year
+ case symbol_kind::S_typeExpression: // typeExpression
+ case symbol_kind::S_convert: // convert
+ case symbol_kind::S_toBool: // toBool
+ case symbol_kind::S_toDate: // toDate
+ case symbol_kind::S_toDecimal: // toDecimal
+ case symbol_kind::S_toDouble: // toDouble
+ case symbol_kind::S_toInt: // toInt
+ case symbol_kind::S_toLong: // toLong
+ case symbol_kind::S_toObjectId: // toObjectId
+ case symbol_kind::S_toString: // toString
+ case symbol_kind::S_type: // type
+ case symbol_kind::S_abs: // abs
+ case symbol_kind::S_ceil: // ceil
+ case symbol_kind::S_divide: // divide
+ case symbol_kind::S_exponent: // exponent
+ case symbol_kind::S_floor: // floor
+ case symbol_kind::S_ln: // ln
+ case symbol_kind::S_log: // log
+ case symbol_kind::S_logten: // logten
+ case symbol_kind::S_mod: // mod
+ case symbol_kind::S_multiply: // multiply
+ case symbol_kind::S_pow: // pow
+ case symbol_kind::S_round: // round
+ case symbol_kind::S_sqrt: // sqrt
+ case symbol_kind::S_subtract: // subtract
+ case symbol_kind::S_trunc: // trunc
+ case symbol_kind::S_arrayExps: // arrayExps
+ case symbol_kind::S_arrayElemAt: // arrayElemAt
+ case symbol_kind::S_arrayToObject: // arrayToObject
+ case symbol_kind::S_concatArrays: // concatArrays
+ case symbol_kind::S_filter: // filter
+ case symbol_kind::S_first: // first
+ case symbol_kind::S_in: // in
+ case symbol_kind::S_indexOfArray: // indexOfArray
+ case symbol_kind::S_isArray: // isArray
+ case symbol_kind::S_setExpression: // setExpression
+ case symbol_kind::S_allElementsTrue: // allElementsTrue
+ case symbol_kind::S_anyElementTrue: // anyElementTrue
+ case symbol_kind::S_setDifference: // setDifference
+ case symbol_kind::S_setEquals: // setEquals
+ case symbol_kind::S_setIntersection: // setIntersection
+ case symbol_kind::S_setIsSubset: // setIsSubset
+ case symbol_kind::S_setUnion: // setUnion
+ case symbol_kind::S_trig: // trig
+ case symbol_kind::S_sin: // sin
+ case symbol_kind::S_cos: // cos
+ case symbol_kind::S_tan: // tan
+ case symbol_kind::S_sinh: // sinh
+ case symbol_kind::S_cosh: // cosh
+ case symbol_kind::S_tanh: // tanh
+ case symbol_kind::S_asin: // asin
+ case symbol_kind::S_acos: // acos
+ case symbol_kind::S_atan: // atan
+ case symbol_kind::S_asinh: // asinh
+ case symbol_kind::S_acosh: // acosh
+ case symbol_kind::S_atanh: // atanh
+ case symbol_kind::S_atan2: // atan2
+ case symbol_kind::S_degreesToRadians: // degreesToRadians
+ case symbol_kind::S_radiansToDegrees: // radiansToDegrees
+ case symbol_kind::S_nonArrayExpression: // nonArrayExpression
+ case symbol_kind::S_nonArrayCompoundExpression: // nonArrayCompoundExpression
+ case symbol_kind::S_aggregationOperator: // aggregationOperator
+ case symbol_kind::S_aggregationOperatorWithoutSlice: // aggregationOperatorWithoutSlice
+ case symbol_kind::S_expressionSingletonArray: // expressionSingletonArray
+ case symbol_kind::S_singleArgExpression: // singleArgExpression
+ case symbol_kind::S_nonArrayNonObjExpression: // nonArrayNonObjExpression
+ case symbol_kind::S_matchExpression: // matchExpression
+ case symbol_kind::S_predicates: // predicates
+ case symbol_kind::S_compoundMatchExprs: // compoundMatchExprs
+ case symbol_kind::S_predValue: // predValue
+ case symbol_kind::S_additionalExprs: // additionalExprs
+ case symbol_kind::S_textArgCaseSensitive: // textArgCaseSensitive
+ case symbol_kind::S_textArgDiacriticSensitive: // textArgDiacriticSensitive
+ case symbol_kind::S_textArgLanguage: // textArgLanguage
+ case symbol_kind::S_textArgSearch: // textArgSearch
+ case symbol_kind::S_findProject: // findProject
+ case symbol_kind::S_findProjectFields: // findProjectFields
+ case symbol_kind::S_topLevelFindProjection: // topLevelFindProjection
+ case symbol_kind::S_findProjection: // findProjection
+ case symbol_kind::S_findProjectionSlice: // findProjectionSlice
+ case symbol_kind::S_elemMatch: // elemMatch
+ case symbol_kind::S_findProjectionObject: // findProjectionObject
+ case symbol_kind::S_findProjectionObjectFields: // findProjectionObjectFields
+ case symbol_kind::S_sortSpecs: // sortSpecs
+ case symbol_kind::S_specList: // specList
+ case symbol_kind::S_metaSort: // metaSort
+ case symbol_kind::S_oneOrNegOne: // oneOrNegOne
+ case symbol_kind::S_metaSortKeyword: // metaSortKeyword
value.move<CNode>(YY_MOVE(that.value));
break;
- case 204: // aggregationProjectionFieldname
- case 205: // projectionFieldname
- case 206: // expressionFieldname
- case 207: // stageAsUserFieldname
- case 208: // argAsUserFieldname
- case 209: // argAsProjectionPath
- case 210: // aggExprAsUserFieldname
- case 211: // invariableUserFieldname
- case 212: // sortFieldname
- case 213: // idAsUserFieldname
- case 214: // elemMatchAsUserFieldname
- case 215: // idAsProjectionPath
- case 216: // valueFieldname
- case 217: // predFieldname
- case 423: // logicalExprField
+ case symbol_kind::S_aggregationProjectionFieldname: // aggregationProjectionFieldname
+ case symbol_kind::S_projectionFieldname: // projectionFieldname
+ case symbol_kind::S_expressionFieldname: // expressionFieldname
+ case symbol_kind::S_stageAsUserFieldname: // stageAsUserFieldname
+ case symbol_kind::S_argAsUserFieldname: // argAsUserFieldname
+ case symbol_kind::S_argAsProjectionPath: // argAsProjectionPath
+ case symbol_kind::S_aggExprAsUserFieldname: // aggExprAsUserFieldname
+ case symbol_kind::S_invariableUserFieldname: // invariableUserFieldname
+ case symbol_kind::S_sortFieldname: // sortFieldname
+ case symbol_kind::S_idAsUserFieldname: // idAsUserFieldname
+ case symbol_kind::S_elemMatchAsUserFieldname: // elemMatchAsUserFieldname
+ case symbol_kind::S_idAsProjectionPath: // idAsProjectionPath
+ case symbol_kind::S_valueFieldname: // valueFieldname
+ case symbol_kind::S_predFieldname: // predFieldname
+ case symbol_kind::S_logicalExprField: // logicalExprField
value.move<CNode::Fieldname>(YY_MOVE(that.value));
break;
- case 185: // "Date"
+ case symbol_kind::S_DATE_LITERAL: // "Date"
value.move<Date_t>(YY_MOVE(that.value));
break;
- case 195: // "arbitrary decimal"
+ case symbol_kind::S_DECIMAL_OTHER: // "arbitrary decimal"
value.move<Decimal128>(YY_MOVE(that.value));
break;
- case 184: // "ObjectID"
+ case symbol_kind::S_OBJECT_ID: // "ObjectID"
value.move<OID>(YY_MOVE(that.value));
break;
- case 196: // "Timestamp"
+ case symbol_kind::S_TIMESTAMP: // "Timestamp"
value.move<Timestamp>(YY_MOVE(that.value));
break;
- case 198: // "maxKey"
+ case symbol_kind::S_MAX_KEY: // "maxKey"
value.move<UserMaxKey>(YY_MOVE(that.value));
break;
- case 197: // "minKey"
+ case symbol_kind::S_MIN_KEY: // "minKey"
value.move<UserMinKey>(YY_MOVE(that.value));
break;
- case 186: // "null"
+ case symbol_kind::S_JSNULL: // "null"
value.move<UserNull>(YY_MOVE(that.value));
break;
- case 183: // "undefined"
+ case symbol_kind::S_UNDEFINED: // "undefined"
value.move<UserUndefined>(YY_MOVE(that.value));
break;
- case 194: // "arbitrary double"
+ case symbol_kind::S_DOUBLE_OTHER: // "arbitrary double"
value.move<double>(YY_MOVE(that.value));
break;
- case 192: // "arbitrary integer"
+ case symbol_kind::S_INT_OTHER: // "arbitrary integer"
value.move<int>(YY_MOVE(that.value));
break;
- case 193: // "arbitrary long"
+ case symbol_kind::S_LONG_OTHER: // "arbitrary long"
value.move<long long>(YY_MOVE(that.value));
break;
- case 218: // aggregationProjectField
- case 219: // aggregationProjectionObjectField
- case 220: // expressionField
- case 221: // valueField
- case 360: // onErrorArg
- case 361: // onNullArg
- case 362: // formatArg
- case 363: // timezoneArg
- case 364: // charsArg
- case 365: // optionsArg
- case 366: // hourArg
- case 367: // minuteArg
- case 368: // secondArg
- case 369: // millisecondArg
- case 370: // dayArg
- case 371: // isoWeekArg
- case 372: // iso8601Arg
- case 373: // monthArg
- case 374: // isoDayOfWeekArg
- case 414: // predicate
- case 415: // fieldPredicate
- case 416: // logicalExpr
- case 417: // operatorExpression
- case 418: // notExpr
- case 419: // matchMod
- case 420: // existsExpr
- case 421: // typeExpr
- case 422: // commentExpr
- case 425: // matchExpr
- case 426: // matchText
- case 427: // matchWhere
- case 440: // findProjectField
- case 441: // findProjectionObjectField
- case 447: // sortSpec
+ case symbol_kind::S_aggregationProjectField: // aggregationProjectField
+ case symbol_kind::S_aggregationProjectionObjectField: // aggregationProjectionObjectField
+ case symbol_kind::S_expressionField: // expressionField
+ case symbol_kind::S_valueField: // valueField
+ case symbol_kind::S_onErrorArg: // onErrorArg
+ case symbol_kind::S_onNullArg: // onNullArg
+ case symbol_kind::S_asArg: // asArg
+ case symbol_kind::S_formatArg: // formatArg
+ case symbol_kind::S_timezoneArg: // timezoneArg
+ case symbol_kind::S_charsArg: // charsArg
+ case symbol_kind::S_optionsArg: // optionsArg
+ case symbol_kind::S_hourArg: // hourArg
+ case symbol_kind::S_minuteArg: // minuteArg
+ case symbol_kind::S_secondArg: // secondArg
+ case symbol_kind::S_millisecondArg: // millisecondArg
+ case symbol_kind::S_dayArg: // dayArg
+ case symbol_kind::S_isoWeekArg: // isoWeekArg
+ case symbol_kind::S_iso8601Arg: // iso8601Arg
+ case symbol_kind::S_monthArg: // monthArg
+ case symbol_kind::S_isoDayOfWeekArg: // isoDayOfWeekArg
+ case symbol_kind::S_predicate: // predicate
+ case symbol_kind::S_fieldPredicate: // fieldPredicate
+ case symbol_kind::S_logicalExpr: // logicalExpr
+ case symbol_kind::S_operatorExpression: // operatorExpression
+ case symbol_kind::S_notExpr: // notExpr
+ case symbol_kind::S_matchMod: // matchMod
+ case symbol_kind::S_existsExpr: // existsExpr
+ case symbol_kind::S_typeExpr: // typeExpr
+ case symbol_kind::S_commentExpr: // commentExpr
+ case symbol_kind::S_matchExpr: // matchExpr
+ case symbol_kind::S_matchText: // matchText
+ case symbol_kind::S_matchWhere: // matchWhere
+ case symbol_kind::S_findProjectField: // findProjectField
+ case symbol_kind::S_findProjectionObjectField: // findProjectionObjectField
+ case symbol_kind::S_sortSpec: // sortSpec
value.move<std::pair<CNode::Fieldname, CNode>>(YY_MOVE(that.value));
break;
- case 176: // "fieldname"
- case 178: // "$-prefixed fieldname"
- case 179: // "string"
- case 180: // "$-prefixed string"
- case 181: // "$$-prefixed string"
- case 222: // arg
+ case symbol_kind::S_FIELDNAME: // "fieldname"
+ case symbol_kind::S_DOLLAR_PREF_FIELDNAME: // "$-prefixed fieldname"
+ case symbol_kind::S_STRING: // "string"
+ case symbol_kind::S_DOLLAR_STRING: // "$-prefixed string"
+ case symbol_kind::S_DOLLAR_DOLLAR_STRING: // "$$-prefixed string"
+ case symbol_kind::S_arg: // arg
value.move<std::string>(YY_MOVE(that.value));
break;
- case 375: // expressions
- case 376: // values
- case 377: // exprZeroToTwo
- case 424: // typeValues
+ case symbol_kind::S_expressions: // expressions
+ case symbol_kind::S_values: // values
+ case symbol_kind::S_exprZeroToTwo: // exprZeroToTwo
+ case symbol_kind::S_typeValues: // typeValues
value.move<std::vector<CNode>>(YY_MOVE(that.value));
break;
- case 177: // "fieldname containing dotted path"
+ case symbol_kind::S_DOTTED_FIELDNAME: // "fieldname containing dotted path"
value.move<std::vector<std::string>>(YY_MOVE(that.value));
break;
@@ -935,347 +919,357 @@ ParserGen::stack_symbol_type::stack_symbol_type(state_type s, YY_MOVE_REF(symbol
}
// that is emptied.
- that.type = empty_symbol;
+ that.kind_ = symbol_kind::S_YYEMPTY;
}
#if YY_CPLUSPLUS < 201103L
ParserGen::stack_symbol_type& ParserGen::stack_symbol_type::operator=(
const stack_symbol_type& that) {
state = that.state;
- switch (that.type_get()) {
- case 182: // "BinData"
+ switch (that.kind()) {
+ case symbol_kind::S_BINARY: // "BinData"
value.copy<BSONBinData>(that.value);
break;
- case 189: // "Code"
+ case symbol_kind::S_JAVASCRIPT: // "Code"
value.copy<BSONCode>(that.value);
break;
- case 191: // "CodeWScope"
+ case symbol_kind::S_JAVASCRIPT_W_SCOPE: // "CodeWScope"
value.copy<BSONCodeWScope>(that.value);
break;
- case 188: // "dbPointer"
+ case symbol_kind::S_DB_POINTER: // "dbPointer"
value.copy<BSONDBRef>(that.value);
break;
- case 187: // "regex"
+ case symbol_kind::S_REGEX: // "regex"
value.copy<BSONRegEx>(that.value);
break;
- case 190: // "Symbol"
+ case symbol_kind::S_SYMBOL: // "Symbol"
value.copy<BSONSymbol>(that.value);
break;
- case 223: // dbPointer
- case 224: // javascript
- case 225: // symbol
- case 226: // javascriptWScope
- case 227: // int
- case 228: // timestamp
- case 229: // long
- case 230: // double
- case 231: // decimal
- case 232: // minKey
- case 233: // maxKey
- case 234: // value
- case 235: // string
- case 236: // aggregationFieldPath
- case 237: // binary
- case 238: // undefined
- case 239: // objectId
- case 240: // bool
- case 241: // date
- case 242: // null
- case 243: // regex
- case 244: // simpleValue
- case 245: // compoundValue
- case 246: // valueArray
- case 247: // valueObject
- case 248: // valueFields
- case 249: // variable
- case 250: // typeArray
- case 251: // typeValue
- case 252: // pipeline
- case 253: // stageList
- case 254: // stage
- case 255: // inhibitOptimization
- case 256: // unionWith
- case 257: // skip
- case 258: // limit
- case 259: // matchStage
- case 260: // project
- case 261: // sample
- case 262: // aggregationProjectFields
- case 263: // aggregationProjectionObjectFields
- case 264: // topLevelAggregationProjection
- case 265: // aggregationProjection
- case 266: // projectionCommon
- case 267: // aggregationProjectionObject
- case 268: // num
- case 269: // expression
- case 270: // exprFixedTwoArg
- case 271: // exprFixedThreeArg
- case 272: // slice
- case 273: // expressionArray
- case 274: // expressionObject
- case 275: // expressionFields
- case 276: // maths
- case 277: // meta
- case 278: // add
- case 279: // boolExprs
- case 280: // and
- case 281: // or
- case 282: // not
- case 283: // literalEscapes
- case 284: // const
- case 285: // literal
- case 286: // stringExps
- case 287: // concat
- case 288: // dateFromString
- case 289: // dateToString
- case 290: // indexOfBytes
- case 291: // indexOfCP
- case 292: // ltrim
- case 293: // regexFind
- case 294: // regexFindAll
- case 295: // regexMatch
- case 296: // regexArgs
- case 297: // replaceOne
- case 298: // replaceAll
- case 299: // rtrim
- case 300: // split
- case 301: // strLenBytes
- case 302: // strLenCP
- case 303: // strcasecmp
- case 304: // substr
- case 305: // substrBytes
- case 306: // substrCP
- case 307: // toLower
- case 308: // toUpper
- case 309: // trim
- case 310: // compExprs
- case 311: // cmp
- case 312: // eq
- case 313: // gt
- case 314: // gte
- case 315: // lt
- case 316: // lte
- case 317: // ne
- case 318: // dateExps
- case 319: // dateFromParts
- case 320: // dateToParts
- case 321: // dayOfMonth
- case 322: // dayOfWeek
- case 323: // dayOfYear
- case 324: // hour
- case 325: // isoDayOfWeek
- case 326: // isoWeek
- case 327: // isoWeekYear
- case 328: // millisecond
- case 329: // minute
- case 330: // month
- case 331: // second
- case 332: // week
- case 333: // year
- case 334: // typeExpression
- case 335: // convert
- case 336: // toBool
- case 337: // toDate
- case 338: // toDecimal
- case 339: // toDouble
- case 340: // toInt
- case 341: // toLong
- case 342: // toObjectId
- case 343: // toString
- case 344: // type
- case 345: // abs
- case 346: // ceil
- case 347: // divide
- case 348: // exponent
- case 349: // floor
- case 350: // ln
- case 351: // log
- case 352: // logten
- case 353: // mod
- case 354: // multiply
- case 355: // pow
- case 356: // round
- case 357: // sqrt
- case 358: // subtract
- case 359: // trunc
- case 378: // setExpression
- case 379: // allElementsTrue
- case 380: // anyElementTrue
- case 381: // setDifference
- case 382: // setEquals
- case 383: // setIntersection
- case 384: // setIsSubset
- case 385: // setUnion
- case 386: // trig
- case 387: // sin
- case 388: // cos
- case 389: // tan
- case 390: // sinh
- case 391: // cosh
- case 392: // tanh
- case 393: // asin
- case 394: // acos
- case 395: // atan
- case 396: // asinh
- case 397: // acosh
- case 398: // atanh
- case 399: // atan2
- case 400: // degreesToRadians
- case 401: // radiansToDegrees
- case 402: // nonArrayExpression
- case 403: // nonArrayCompoundExpression
- case 404: // aggregationOperator
- case 405: // aggregationOperatorWithoutSlice
- case 406: // expressionSingletonArray
- case 407: // singleArgExpression
- case 408: // nonArrayNonObjExpression
- case 409: // matchExpression
- case 410: // predicates
- case 411: // compoundMatchExprs
- case 412: // predValue
- case 413: // additionalExprs
- case 428: // textArgCaseSensitive
- case 429: // textArgDiacriticSensitive
- case 430: // textArgLanguage
- case 431: // textArgSearch
- case 432: // findProject
- case 433: // findProjectFields
- case 434: // topLevelFindProjection
- case 435: // findProjection
- case 436: // findProjectionSlice
- case 437: // elemMatch
- case 438: // findProjectionObject
- case 439: // findProjectionObjectFields
- case 442: // sortSpecs
- case 443: // specList
- case 444: // metaSort
- case 445: // oneOrNegOne
- case 446: // metaSortKeyword
+ case symbol_kind::S_dbPointer: // dbPointer
+ case symbol_kind::S_javascript: // javascript
+ case symbol_kind::S_symbol: // symbol
+ case symbol_kind::S_javascriptWScope: // javascriptWScope
+ case symbol_kind::S_int: // int
+ case symbol_kind::S_timestamp: // timestamp
+ case symbol_kind::S_long: // long
+ case symbol_kind::S_double: // double
+ case symbol_kind::S_decimal: // decimal
+ case symbol_kind::S_minKey: // minKey
+ case symbol_kind::S_maxKey: // maxKey
+ case symbol_kind::S_value: // value
+ case symbol_kind::S_string: // string
+ case symbol_kind::S_aggregationFieldPath: // aggregationFieldPath
+ case symbol_kind::S_binary: // binary
+ case symbol_kind::S_undefined: // undefined
+ case symbol_kind::S_objectId: // objectId
+ case symbol_kind::S_bool: // bool
+ case symbol_kind::S_date: // date
+ case symbol_kind::S_null: // null
+ case symbol_kind::S_regex: // regex
+ case symbol_kind::S_simpleValue: // simpleValue
+ case symbol_kind::S_compoundValue: // compoundValue
+ case symbol_kind::S_valueArray: // valueArray
+ case symbol_kind::S_valueObject: // valueObject
+ case symbol_kind::S_valueFields: // valueFields
+ case symbol_kind::S_variable: // variable
+ case symbol_kind::S_typeArray: // typeArray
+ case symbol_kind::S_typeValue: // typeValue
+ case symbol_kind::S_pipeline: // pipeline
+ case symbol_kind::S_stageList: // stageList
+ case symbol_kind::S_stage: // stage
+ case symbol_kind::S_inhibitOptimization: // inhibitOptimization
+ case symbol_kind::S_unionWith: // unionWith
+ case symbol_kind::S_skip: // skip
+ case symbol_kind::S_limit: // limit
+ case symbol_kind::S_matchStage: // matchStage
+ case symbol_kind::S_project: // project
+ case symbol_kind::S_sample: // sample
+ case symbol_kind::S_aggregationProjectFields: // aggregationProjectFields
+ case symbol_kind::S_aggregationProjectionObjectFields: // aggregationProjectionObjectFields
+ case symbol_kind::S_topLevelAggregationProjection: // topLevelAggregationProjection
+ case symbol_kind::S_aggregationProjection: // aggregationProjection
+ case symbol_kind::S_projectionCommon: // projectionCommon
+ case symbol_kind::S_aggregationProjectionObject: // aggregationProjectionObject
+ case symbol_kind::S_num: // num
+ case symbol_kind::S_expression: // expression
+ case symbol_kind::S_exprFixedTwoArg: // exprFixedTwoArg
+ case symbol_kind::S_exprFixedThreeArg: // exprFixedThreeArg
+ case symbol_kind::S_slice: // slice
+ case symbol_kind::S_expressionArray: // expressionArray
+ case symbol_kind::S_expressionObject: // expressionObject
+ case symbol_kind::S_expressionFields: // expressionFields
+ case symbol_kind::S_maths: // maths
+ case symbol_kind::S_meta: // meta
+ case symbol_kind::S_add: // add
+ case symbol_kind::S_boolExprs: // boolExprs
+ case symbol_kind::S_and: // and
+ case symbol_kind::S_or: // or
+ case symbol_kind::S_not: // not
+ case symbol_kind::S_literalEscapes: // literalEscapes
+ case symbol_kind::S_const: // const
+ case symbol_kind::S_literal: // literal
+ case symbol_kind::S_stringExps: // stringExps
+ case symbol_kind::S_concat: // concat
+ case symbol_kind::S_dateFromString: // dateFromString
+ case symbol_kind::S_dateToString: // dateToString
+ case symbol_kind::S_indexOfBytes: // indexOfBytes
+ case symbol_kind::S_indexOfCP: // indexOfCP
+ case symbol_kind::S_ltrim: // ltrim
+ case symbol_kind::S_regexFind: // regexFind
+ case symbol_kind::S_regexFindAll: // regexFindAll
+ case symbol_kind::S_regexMatch: // regexMatch
+ case symbol_kind::S_regexArgs: // regexArgs
+ case symbol_kind::S_replaceOne: // replaceOne
+ case symbol_kind::S_replaceAll: // replaceAll
+ case symbol_kind::S_rtrim: // rtrim
+ case symbol_kind::S_split: // split
+ case symbol_kind::S_strLenBytes: // strLenBytes
+ case symbol_kind::S_strLenCP: // strLenCP
+ case symbol_kind::S_strcasecmp: // strcasecmp
+ case symbol_kind::S_substr: // substr
+ case symbol_kind::S_substrBytes: // substrBytes
+ case symbol_kind::S_substrCP: // substrCP
+ case symbol_kind::S_toLower: // toLower
+ case symbol_kind::S_toUpper: // toUpper
+ case symbol_kind::S_trim: // trim
+ case symbol_kind::S_compExprs: // compExprs
+ case symbol_kind::S_cmp: // cmp
+ case symbol_kind::S_eq: // eq
+ case symbol_kind::S_gt: // gt
+ case symbol_kind::S_gte: // gte
+ case symbol_kind::S_lt: // lt
+ case symbol_kind::S_lte: // lte
+ case symbol_kind::S_ne: // ne
+ case symbol_kind::S_dateExps: // dateExps
+ case symbol_kind::S_dateFromParts: // dateFromParts
+ case symbol_kind::S_dateToParts: // dateToParts
+ case symbol_kind::S_dayOfMonth: // dayOfMonth
+ case symbol_kind::S_dayOfWeek: // dayOfWeek
+ case symbol_kind::S_dayOfYear: // dayOfYear
+ case symbol_kind::S_hour: // hour
+ case symbol_kind::S_isoDayOfWeek: // isoDayOfWeek
+ case symbol_kind::S_isoWeek: // isoWeek
+ case symbol_kind::S_isoWeekYear: // isoWeekYear
+ case symbol_kind::S_millisecond: // millisecond
+ case symbol_kind::S_minute: // minute
+ case symbol_kind::S_month: // month
+ case symbol_kind::S_second: // second
+ case symbol_kind::S_week: // week
+ case symbol_kind::S_year: // year
+ case symbol_kind::S_typeExpression: // typeExpression
+ case symbol_kind::S_convert: // convert
+ case symbol_kind::S_toBool: // toBool
+ case symbol_kind::S_toDate: // toDate
+ case symbol_kind::S_toDecimal: // toDecimal
+ case symbol_kind::S_toDouble: // toDouble
+ case symbol_kind::S_toInt: // toInt
+ case symbol_kind::S_toLong: // toLong
+ case symbol_kind::S_toObjectId: // toObjectId
+ case symbol_kind::S_toString: // toString
+ case symbol_kind::S_type: // type
+ case symbol_kind::S_abs: // abs
+ case symbol_kind::S_ceil: // ceil
+ case symbol_kind::S_divide: // divide
+ case symbol_kind::S_exponent: // exponent
+ case symbol_kind::S_floor: // floor
+ case symbol_kind::S_ln: // ln
+ case symbol_kind::S_log: // log
+ case symbol_kind::S_logten: // logten
+ case symbol_kind::S_mod: // mod
+ case symbol_kind::S_multiply: // multiply
+ case symbol_kind::S_pow: // pow
+ case symbol_kind::S_round: // round
+ case symbol_kind::S_sqrt: // sqrt
+ case symbol_kind::S_subtract: // subtract
+ case symbol_kind::S_trunc: // trunc
+ case symbol_kind::S_arrayExps: // arrayExps
+ case symbol_kind::S_arrayElemAt: // arrayElemAt
+ case symbol_kind::S_arrayToObject: // arrayToObject
+ case symbol_kind::S_concatArrays: // concatArrays
+ case symbol_kind::S_filter: // filter
+ case symbol_kind::S_first: // first
+ case symbol_kind::S_in: // in
+ case symbol_kind::S_indexOfArray: // indexOfArray
+ case symbol_kind::S_isArray: // isArray
+ case symbol_kind::S_setExpression: // setExpression
+ case symbol_kind::S_allElementsTrue: // allElementsTrue
+ case symbol_kind::S_anyElementTrue: // anyElementTrue
+ case symbol_kind::S_setDifference: // setDifference
+ case symbol_kind::S_setEquals: // setEquals
+ case symbol_kind::S_setIntersection: // setIntersection
+ case symbol_kind::S_setIsSubset: // setIsSubset
+ case symbol_kind::S_setUnion: // setUnion
+ case symbol_kind::S_trig: // trig
+ case symbol_kind::S_sin: // sin
+ case symbol_kind::S_cos: // cos
+ case symbol_kind::S_tan: // tan
+ case symbol_kind::S_sinh: // sinh
+ case symbol_kind::S_cosh: // cosh
+ case symbol_kind::S_tanh: // tanh
+ case symbol_kind::S_asin: // asin
+ case symbol_kind::S_acos: // acos
+ case symbol_kind::S_atan: // atan
+ case symbol_kind::S_asinh: // asinh
+ case symbol_kind::S_acosh: // acosh
+ case symbol_kind::S_atanh: // atanh
+ case symbol_kind::S_atan2: // atan2
+ case symbol_kind::S_degreesToRadians: // degreesToRadians
+ case symbol_kind::S_radiansToDegrees: // radiansToDegrees
+ case symbol_kind::S_nonArrayExpression: // nonArrayExpression
+ case symbol_kind::S_nonArrayCompoundExpression: // nonArrayCompoundExpression
+ case symbol_kind::S_aggregationOperator: // aggregationOperator
+ case symbol_kind::S_aggregationOperatorWithoutSlice: // aggregationOperatorWithoutSlice
+ case symbol_kind::S_expressionSingletonArray: // expressionSingletonArray
+ case symbol_kind::S_singleArgExpression: // singleArgExpression
+ case symbol_kind::S_nonArrayNonObjExpression: // nonArrayNonObjExpression
+ case symbol_kind::S_matchExpression: // matchExpression
+ case symbol_kind::S_predicates: // predicates
+ case symbol_kind::S_compoundMatchExprs: // compoundMatchExprs
+ case symbol_kind::S_predValue: // predValue
+ case symbol_kind::S_additionalExprs: // additionalExprs
+ case symbol_kind::S_textArgCaseSensitive: // textArgCaseSensitive
+ case symbol_kind::S_textArgDiacriticSensitive: // textArgDiacriticSensitive
+ case symbol_kind::S_textArgLanguage: // textArgLanguage
+ case symbol_kind::S_textArgSearch: // textArgSearch
+ case symbol_kind::S_findProject: // findProject
+ case symbol_kind::S_findProjectFields: // findProjectFields
+ case symbol_kind::S_topLevelFindProjection: // topLevelFindProjection
+ case symbol_kind::S_findProjection: // findProjection
+ case symbol_kind::S_findProjectionSlice: // findProjectionSlice
+ case symbol_kind::S_elemMatch: // elemMatch
+ case symbol_kind::S_findProjectionObject: // findProjectionObject
+ case symbol_kind::S_findProjectionObjectFields: // findProjectionObjectFields
+ case symbol_kind::S_sortSpecs: // sortSpecs
+ case symbol_kind::S_specList: // specList
+ case symbol_kind::S_metaSort: // metaSort
+ case symbol_kind::S_oneOrNegOne: // oneOrNegOne
+ case symbol_kind::S_metaSortKeyword: // metaSortKeyword
value.copy<CNode>(that.value);
break;
- case 204: // aggregationProjectionFieldname
- case 205: // projectionFieldname
- case 206: // expressionFieldname
- case 207: // stageAsUserFieldname
- case 208: // argAsUserFieldname
- case 209: // argAsProjectionPath
- case 210: // aggExprAsUserFieldname
- case 211: // invariableUserFieldname
- case 212: // sortFieldname
- case 213: // idAsUserFieldname
- case 214: // elemMatchAsUserFieldname
- case 215: // idAsProjectionPath
- case 216: // valueFieldname
- case 217: // predFieldname
- case 423: // logicalExprField
+ case symbol_kind::S_aggregationProjectionFieldname: // aggregationProjectionFieldname
+ case symbol_kind::S_projectionFieldname: // projectionFieldname
+ case symbol_kind::S_expressionFieldname: // expressionFieldname
+ case symbol_kind::S_stageAsUserFieldname: // stageAsUserFieldname
+ case symbol_kind::S_argAsUserFieldname: // argAsUserFieldname
+ case symbol_kind::S_argAsProjectionPath: // argAsProjectionPath
+ case symbol_kind::S_aggExprAsUserFieldname: // aggExprAsUserFieldname
+ case symbol_kind::S_invariableUserFieldname: // invariableUserFieldname
+ case symbol_kind::S_sortFieldname: // sortFieldname
+ case symbol_kind::S_idAsUserFieldname: // idAsUserFieldname
+ case symbol_kind::S_elemMatchAsUserFieldname: // elemMatchAsUserFieldname
+ case symbol_kind::S_idAsProjectionPath: // idAsProjectionPath
+ case symbol_kind::S_valueFieldname: // valueFieldname
+ case symbol_kind::S_predFieldname: // predFieldname
+ case symbol_kind::S_logicalExprField: // logicalExprField
value.copy<CNode::Fieldname>(that.value);
break;
- case 185: // "Date"
+ case symbol_kind::S_DATE_LITERAL: // "Date"
value.copy<Date_t>(that.value);
break;
- case 195: // "arbitrary decimal"
+ case symbol_kind::S_DECIMAL_OTHER: // "arbitrary decimal"
value.copy<Decimal128>(that.value);
break;
- case 184: // "ObjectID"
+ case symbol_kind::S_OBJECT_ID: // "ObjectID"
value.copy<OID>(that.value);
break;
- case 196: // "Timestamp"
+ case symbol_kind::S_TIMESTAMP: // "Timestamp"
value.copy<Timestamp>(that.value);
break;
- case 198: // "maxKey"
+ case symbol_kind::S_MAX_KEY: // "maxKey"
value.copy<UserMaxKey>(that.value);
break;
- case 197: // "minKey"
+ case symbol_kind::S_MIN_KEY: // "minKey"
value.copy<UserMinKey>(that.value);
break;
- case 186: // "null"
+ case symbol_kind::S_JSNULL: // "null"
value.copy<UserNull>(that.value);
break;
- case 183: // "undefined"
+ case symbol_kind::S_UNDEFINED: // "undefined"
value.copy<UserUndefined>(that.value);
break;
- case 194: // "arbitrary double"
+ case symbol_kind::S_DOUBLE_OTHER: // "arbitrary double"
value.copy<double>(that.value);
break;
- case 192: // "arbitrary integer"
+ case symbol_kind::S_INT_OTHER: // "arbitrary integer"
value.copy<int>(that.value);
break;
- case 193: // "arbitrary long"
+ case symbol_kind::S_LONG_OTHER: // "arbitrary long"
value.copy<long long>(that.value);
break;
- case 218: // aggregationProjectField
- case 219: // aggregationProjectionObjectField
- case 220: // expressionField
- case 221: // valueField
- case 360: // onErrorArg
- case 361: // onNullArg
- case 362: // formatArg
- case 363: // timezoneArg
- case 364: // charsArg
- case 365: // optionsArg
- case 366: // hourArg
- case 367: // minuteArg
- case 368: // secondArg
- case 369: // millisecondArg
- case 370: // dayArg
- case 371: // isoWeekArg
- case 372: // iso8601Arg
- case 373: // monthArg
- case 374: // isoDayOfWeekArg
- case 414: // predicate
- case 415: // fieldPredicate
- case 416: // logicalExpr
- case 417: // operatorExpression
- case 418: // notExpr
- case 419: // matchMod
- case 420: // existsExpr
- case 421: // typeExpr
- case 422: // commentExpr
- case 425: // matchExpr
- case 426: // matchText
- case 427: // matchWhere
- case 440: // findProjectField
- case 441: // findProjectionObjectField
- case 447: // sortSpec
+ case symbol_kind::S_aggregationProjectField: // aggregationProjectField
+ case symbol_kind::S_aggregationProjectionObjectField: // aggregationProjectionObjectField
+ case symbol_kind::S_expressionField: // expressionField
+ case symbol_kind::S_valueField: // valueField
+ case symbol_kind::S_onErrorArg: // onErrorArg
+ case symbol_kind::S_onNullArg: // onNullArg
+ case symbol_kind::S_asArg: // asArg
+ case symbol_kind::S_formatArg: // formatArg
+ case symbol_kind::S_timezoneArg: // timezoneArg
+ case symbol_kind::S_charsArg: // charsArg
+ case symbol_kind::S_optionsArg: // optionsArg
+ case symbol_kind::S_hourArg: // hourArg
+ case symbol_kind::S_minuteArg: // minuteArg
+ case symbol_kind::S_secondArg: // secondArg
+ case symbol_kind::S_millisecondArg: // millisecondArg
+ case symbol_kind::S_dayArg: // dayArg
+ case symbol_kind::S_isoWeekArg: // isoWeekArg
+ case symbol_kind::S_iso8601Arg: // iso8601Arg
+ case symbol_kind::S_monthArg: // monthArg
+ case symbol_kind::S_isoDayOfWeekArg: // isoDayOfWeekArg
+ case symbol_kind::S_predicate: // predicate
+ case symbol_kind::S_fieldPredicate: // fieldPredicate
+ case symbol_kind::S_logicalExpr: // logicalExpr
+ case symbol_kind::S_operatorExpression: // operatorExpression
+ case symbol_kind::S_notExpr: // notExpr
+ case symbol_kind::S_matchMod: // matchMod
+ case symbol_kind::S_existsExpr: // existsExpr
+ case symbol_kind::S_typeExpr: // typeExpr
+ case symbol_kind::S_commentExpr: // commentExpr
+ case symbol_kind::S_matchExpr: // matchExpr
+ case symbol_kind::S_matchText: // matchText
+ case symbol_kind::S_matchWhere: // matchWhere
+ case symbol_kind::S_findProjectField: // findProjectField
+ case symbol_kind::S_findProjectionObjectField: // findProjectionObjectField
+ case symbol_kind::S_sortSpec: // sortSpec
value.copy<std::pair<CNode::Fieldname, CNode>>(that.value);
break;
- case 176: // "fieldname"
- case 178: // "$-prefixed fieldname"
- case 179: // "string"
- case 180: // "$-prefixed string"
- case 181: // "$$-prefixed string"
- case 222: // arg
+ case symbol_kind::S_FIELDNAME: // "fieldname"
+ case symbol_kind::S_DOLLAR_PREF_FIELDNAME: // "$-prefixed fieldname"
+ case symbol_kind::S_STRING: // "string"
+ case symbol_kind::S_DOLLAR_STRING: // "$-prefixed string"
+ case symbol_kind::S_DOLLAR_DOLLAR_STRING: // "$$-prefixed string"
+ case symbol_kind::S_arg: // arg
value.copy<std::string>(that.value);
break;
- case 375: // expressions
- case 376: // values
- case 377: // exprZeroToTwo
- case 424: // typeValues
+ case symbol_kind::S_expressions: // expressions
+ case symbol_kind::S_values: // values
+ case symbol_kind::S_exprZeroToTwo: // exprZeroToTwo
+ case symbol_kind::S_typeValues: // typeValues
value.copy<std::vector<CNode>>(that.value);
break;
- case 177: // "fieldname containing dotted path"
+ case symbol_kind::S_DOTTED_FIELDNAME: // "fieldname containing dotted path"
value.copy<std::vector<std::string>>(that.value);
break;
@@ -1289,340 +1283,350 @@ ParserGen::stack_symbol_type& ParserGen::stack_symbol_type::operator=(
ParserGen::stack_symbol_type& ParserGen::stack_symbol_type::operator=(stack_symbol_type& that) {
state = that.state;
- switch (that.type_get()) {
- case 182: // "BinData"
+ switch (that.kind()) {
+ case symbol_kind::S_BINARY: // "BinData"
value.move<BSONBinData>(that.value);
break;
- case 189: // "Code"
+ case symbol_kind::S_JAVASCRIPT: // "Code"
value.move<BSONCode>(that.value);
break;
- case 191: // "CodeWScope"
+ case symbol_kind::S_JAVASCRIPT_W_SCOPE: // "CodeWScope"
value.move<BSONCodeWScope>(that.value);
break;
- case 188: // "dbPointer"
+ case symbol_kind::S_DB_POINTER: // "dbPointer"
value.move<BSONDBRef>(that.value);
break;
- case 187: // "regex"
+ case symbol_kind::S_REGEX: // "regex"
value.move<BSONRegEx>(that.value);
break;
- case 190: // "Symbol"
+ case symbol_kind::S_SYMBOL: // "Symbol"
value.move<BSONSymbol>(that.value);
break;
- case 223: // dbPointer
- case 224: // javascript
- case 225: // symbol
- case 226: // javascriptWScope
- case 227: // int
- case 228: // timestamp
- case 229: // long
- case 230: // double
- case 231: // decimal
- case 232: // minKey
- case 233: // maxKey
- case 234: // value
- case 235: // string
- case 236: // aggregationFieldPath
- case 237: // binary
- case 238: // undefined
- case 239: // objectId
- case 240: // bool
- case 241: // date
- case 242: // null
- case 243: // regex
- case 244: // simpleValue
- case 245: // compoundValue
- case 246: // valueArray
- case 247: // valueObject
- case 248: // valueFields
- case 249: // variable
- case 250: // typeArray
- case 251: // typeValue
- case 252: // pipeline
- case 253: // stageList
- case 254: // stage
- case 255: // inhibitOptimization
- case 256: // unionWith
- case 257: // skip
- case 258: // limit
- case 259: // matchStage
- case 260: // project
- case 261: // sample
- case 262: // aggregationProjectFields
- case 263: // aggregationProjectionObjectFields
- case 264: // topLevelAggregationProjection
- case 265: // aggregationProjection
- case 266: // projectionCommon
- case 267: // aggregationProjectionObject
- case 268: // num
- case 269: // expression
- case 270: // exprFixedTwoArg
- case 271: // exprFixedThreeArg
- case 272: // slice
- case 273: // expressionArray
- case 274: // expressionObject
- case 275: // expressionFields
- case 276: // maths
- case 277: // meta
- case 278: // add
- case 279: // boolExprs
- case 280: // and
- case 281: // or
- case 282: // not
- case 283: // literalEscapes
- case 284: // const
- case 285: // literal
- case 286: // stringExps
- case 287: // concat
- case 288: // dateFromString
- case 289: // dateToString
- case 290: // indexOfBytes
- case 291: // indexOfCP
- case 292: // ltrim
- case 293: // regexFind
- case 294: // regexFindAll
- case 295: // regexMatch
- case 296: // regexArgs
- case 297: // replaceOne
- case 298: // replaceAll
- case 299: // rtrim
- case 300: // split
- case 301: // strLenBytes
- case 302: // strLenCP
- case 303: // strcasecmp
- case 304: // substr
- case 305: // substrBytes
- case 306: // substrCP
- case 307: // toLower
- case 308: // toUpper
- case 309: // trim
- case 310: // compExprs
- case 311: // cmp
- case 312: // eq
- case 313: // gt
- case 314: // gte
- case 315: // lt
- case 316: // lte
- case 317: // ne
- case 318: // dateExps
- case 319: // dateFromParts
- case 320: // dateToParts
- case 321: // dayOfMonth
- case 322: // dayOfWeek
- case 323: // dayOfYear
- case 324: // hour
- case 325: // isoDayOfWeek
- case 326: // isoWeek
- case 327: // isoWeekYear
- case 328: // millisecond
- case 329: // minute
- case 330: // month
- case 331: // second
- case 332: // week
- case 333: // year
- case 334: // typeExpression
- case 335: // convert
- case 336: // toBool
- case 337: // toDate
- case 338: // toDecimal
- case 339: // toDouble
- case 340: // toInt
- case 341: // toLong
- case 342: // toObjectId
- case 343: // toString
- case 344: // type
- case 345: // abs
- case 346: // ceil
- case 347: // divide
- case 348: // exponent
- case 349: // floor
- case 350: // ln
- case 351: // log
- case 352: // logten
- case 353: // mod
- case 354: // multiply
- case 355: // pow
- case 356: // round
- case 357: // sqrt
- case 358: // subtract
- case 359: // trunc
- case 378: // setExpression
- case 379: // allElementsTrue
- case 380: // anyElementTrue
- case 381: // setDifference
- case 382: // setEquals
- case 383: // setIntersection
- case 384: // setIsSubset
- case 385: // setUnion
- case 386: // trig
- case 387: // sin
- case 388: // cos
- case 389: // tan
- case 390: // sinh
- case 391: // cosh
- case 392: // tanh
- case 393: // asin
- case 394: // acos
- case 395: // atan
- case 396: // asinh
- case 397: // acosh
- case 398: // atanh
- case 399: // atan2
- case 400: // degreesToRadians
- case 401: // radiansToDegrees
- case 402: // nonArrayExpression
- case 403: // nonArrayCompoundExpression
- case 404: // aggregationOperator
- case 405: // aggregationOperatorWithoutSlice
- case 406: // expressionSingletonArray
- case 407: // singleArgExpression
- case 408: // nonArrayNonObjExpression
- case 409: // matchExpression
- case 410: // predicates
- case 411: // compoundMatchExprs
- case 412: // predValue
- case 413: // additionalExprs
- case 428: // textArgCaseSensitive
- case 429: // textArgDiacriticSensitive
- case 430: // textArgLanguage
- case 431: // textArgSearch
- case 432: // findProject
- case 433: // findProjectFields
- case 434: // topLevelFindProjection
- case 435: // findProjection
- case 436: // findProjectionSlice
- case 437: // elemMatch
- case 438: // findProjectionObject
- case 439: // findProjectionObjectFields
- case 442: // sortSpecs
- case 443: // specList
- case 444: // metaSort
- case 445: // oneOrNegOne
- case 446: // metaSortKeyword
+ case symbol_kind::S_dbPointer: // dbPointer
+ case symbol_kind::S_javascript: // javascript
+ case symbol_kind::S_symbol: // symbol
+ case symbol_kind::S_javascriptWScope: // javascriptWScope
+ case symbol_kind::S_int: // int
+ case symbol_kind::S_timestamp: // timestamp
+ case symbol_kind::S_long: // long
+ case symbol_kind::S_double: // double
+ case symbol_kind::S_decimal: // decimal
+ case symbol_kind::S_minKey: // minKey
+ case symbol_kind::S_maxKey: // maxKey
+ case symbol_kind::S_value: // value
+ case symbol_kind::S_string: // string
+ case symbol_kind::S_aggregationFieldPath: // aggregationFieldPath
+ case symbol_kind::S_binary: // binary
+ case symbol_kind::S_undefined: // undefined
+ case symbol_kind::S_objectId: // objectId
+ case symbol_kind::S_bool: // bool
+ case symbol_kind::S_date: // date
+ case symbol_kind::S_null: // null
+ case symbol_kind::S_regex: // regex
+ case symbol_kind::S_simpleValue: // simpleValue
+ case symbol_kind::S_compoundValue: // compoundValue
+ case symbol_kind::S_valueArray: // valueArray
+ case symbol_kind::S_valueObject: // valueObject
+ case symbol_kind::S_valueFields: // valueFields
+ case symbol_kind::S_variable: // variable
+ case symbol_kind::S_typeArray: // typeArray
+ case symbol_kind::S_typeValue: // typeValue
+ case symbol_kind::S_pipeline: // pipeline
+ case symbol_kind::S_stageList: // stageList
+ case symbol_kind::S_stage: // stage
+ case symbol_kind::S_inhibitOptimization: // inhibitOptimization
+ case symbol_kind::S_unionWith: // unionWith
+ case symbol_kind::S_skip: // skip
+ case symbol_kind::S_limit: // limit
+ case symbol_kind::S_matchStage: // matchStage
+ case symbol_kind::S_project: // project
+ case symbol_kind::S_sample: // sample
+ case symbol_kind::S_aggregationProjectFields: // aggregationProjectFields
+ case symbol_kind::S_aggregationProjectionObjectFields: // aggregationProjectionObjectFields
+ case symbol_kind::S_topLevelAggregationProjection: // topLevelAggregationProjection
+ case symbol_kind::S_aggregationProjection: // aggregationProjection
+ case symbol_kind::S_projectionCommon: // projectionCommon
+ case symbol_kind::S_aggregationProjectionObject: // aggregationProjectionObject
+ case symbol_kind::S_num: // num
+ case symbol_kind::S_expression: // expression
+ case symbol_kind::S_exprFixedTwoArg: // exprFixedTwoArg
+ case symbol_kind::S_exprFixedThreeArg: // exprFixedThreeArg
+ case symbol_kind::S_slice: // slice
+ case symbol_kind::S_expressionArray: // expressionArray
+ case symbol_kind::S_expressionObject: // expressionObject
+ case symbol_kind::S_expressionFields: // expressionFields
+ case symbol_kind::S_maths: // maths
+ case symbol_kind::S_meta: // meta
+ case symbol_kind::S_add: // add
+ case symbol_kind::S_boolExprs: // boolExprs
+ case symbol_kind::S_and: // and
+ case symbol_kind::S_or: // or
+ case symbol_kind::S_not: // not
+ case symbol_kind::S_literalEscapes: // literalEscapes
+ case symbol_kind::S_const: // const
+ case symbol_kind::S_literal: // literal
+ case symbol_kind::S_stringExps: // stringExps
+ case symbol_kind::S_concat: // concat
+ case symbol_kind::S_dateFromString: // dateFromString
+ case symbol_kind::S_dateToString: // dateToString
+ case symbol_kind::S_indexOfBytes: // indexOfBytes
+ case symbol_kind::S_indexOfCP: // indexOfCP
+ case symbol_kind::S_ltrim: // ltrim
+ case symbol_kind::S_regexFind: // regexFind
+ case symbol_kind::S_regexFindAll: // regexFindAll
+ case symbol_kind::S_regexMatch: // regexMatch
+ case symbol_kind::S_regexArgs: // regexArgs
+ case symbol_kind::S_replaceOne: // replaceOne
+ case symbol_kind::S_replaceAll: // replaceAll
+ case symbol_kind::S_rtrim: // rtrim
+ case symbol_kind::S_split: // split
+ case symbol_kind::S_strLenBytes: // strLenBytes
+ case symbol_kind::S_strLenCP: // strLenCP
+ case symbol_kind::S_strcasecmp: // strcasecmp
+ case symbol_kind::S_substr: // substr
+ case symbol_kind::S_substrBytes: // substrBytes
+ case symbol_kind::S_substrCP: // substrCP
+ case symbol_kind::S_toLower: // toLower
+ case symbol_kind::S_toUpper: // toUpper
+ case symbol_kind::S_trim: // trim
+ case symbol_kind::S_compExprs: // compExprs
+ case symbol_kind::S_cmp: // cmp
+ case symbol_kind::S_eq: // eq
+ case symbol_kind::S_gt: // gt
+ case symbol_kind::S_gte: // gte
+ case symbol_kind::S_lt: // lt
+ case symbol_kind::S_lte: // lte
+ case symbol_kind::S_ne: // ne
+ case symbol_kind::S_dateExps: // dateExps
+ case symbol_kind::S_dateFromParts: // dateFromParts
+ case symbol_kind::S_dateToParts: // dateToParts
+ case symbol_kind::S_dayOfMonth: // dayOfMonth
+ case symbol_kind::S_dayOfWeek: // dayOfWeek
+ case symbol_kind::S_dayOfYear: // dayOfYear
+ case symbol_kind::S_hour: // hour
+ case symbol_kind::S_isoDayOfWeek: // isoDayOfWeek
+ case symbol_kind::S_isoWeek: // isoWeek
+ case symbol_kind::S_isoWeekYear: // isoWeekYear
+ case symbol_kind::S_millisecond: // millisecond
+ case symbol_kind::S_minute: // minute
+ case symbol_kind::S_month: // month
+ case symbol_kind::S_second: // second
+ case symbol_kind::S_week: // week
+ case symbol_kind::S_year: // year
+ case symbol_kind::S_typeExpression: // typeExpression
+ case symbol_kind::S_convert: // convert
+ case symbol_kind::S_toBool: // toBool
+ case symbol_kind::S_toDate: // toDate
+ case symbol_kind::S_toDecimal: // toDecimal
+ case symbol_kind::S_toDouble: // toDouble
+ case symbol_kind::S_toInt: // toInt
+ case symbol_kind::S_toLong: // toLong
+ case symbol_kind::S_toObjectId: // toObjectId
+ case symbol_kind::S_toString: // toString
+ case symbol_kind::S_type: // type
+ case symbol_kind::S_abs: // abs
+ case symbol_kind::S_ceil: // ceil
+ case symbol_kind::S_divide: // divide
+ case symbol_kind::S_exponent: // exponent
+ case symbol_kind::S_floor: // floor
+ case symbol_kind::S_ln: // ln
+ case symbol_kind::S_log: // log
+ case symbol_kind::S_logten: // logten
+ case symbol_kind::S_mod: // mod
+ case symbol_kind::S_multiply: // multiply
+ case symbol_kind::S_pow: // pow
+ case symbol_kind::S_round: // round
+ case symbol_kind::S_sqrt: // sqrt
+ case symbol_kind::S_subtract: // subtract
+ case symbol_kind::S_trunc: // trunc
+ case symbol_kind::S_arrayExps: // arrayExps
+ case symbol_kind::S_arrayElemAt: // arrayElemAt
+ case symbol_kind::S_arrayToObject: // arrayToObject
+ case symbol_kind::S_concatArrays: // concatArrays
+ case symbol_kind::S_filter: // filter
+ case symbol_kind::S_first: // first
+ case symbol_kind::S_in: // in
+ case symbol_kind::S_indexOfArray: // indexOfArray
+ case symbol_kind::S_isArray: // isArray
+ case symbol_kind::S_setExpression: // setExpression
+ case symbol_kind::S_allElementsTrue: // allElementsTrue
+ case symbol_kind::S_anyElementTrue: // anyElementTrue
+ case symbol_kind::S_setDifference: // setDifference
+ case symbol_kind::S_setEquals: // setEquals
+ case symbol_kind::S_setIntersection: // setIntersection
+ case symbol_kind::S_setIsSubset: // setIsSubset
+ case symbol_kind::S_setUnion: // setUnion
+ case symbol_kind::S_trig: // trig
+ case symbol_kind::S_sin: // sin
+ case symbol_kind::S_cos: // cos
+ case symbol_kind::S_tan: // tan
+ case symbol_kind::S_sinh: // sinh
+ case symbol_kind::S_cosh: // cosh
+ case symbol_kind::S_tanh: // tanh
+ case symbol_kind::S_asin: // asin
+ case symbol_kind::S_acos: // acos
+ case symbol_kind::S_atan: // atan
+ case symbol_kind::S_asinh: // asinh
+ case symbol_kind::S_acosh: // acosh
+ case symbol_kind::S_atanh: // atanh
+ case symbol_kind::S_atan2: // atan2
+ case symbol_kind::S_degreesToRadians: // degreesToRadians
+ case symbol_kind::S_radiansToDegrees: // radiansToDegrees
+ case symbol_kind::S_nonArrayExpression: // nonArrayExpression
+ case symbol_kind::S_nonArrayCompoundExpression: // nonArrayCompoundExpression
+ case symbol_kind::S_aggregationOperator: // aggregationOperator
+ case symbol_kind::S_aggregationOperatorWithoutSlice: // aggregationOperatorWithoutSlice
+ case symbol_kind::S_expressionSingletonArray: // expressionSingletonArray
+ case symbol_kind::S_singleArgExpression: // singleArgExpression
+ case symbol_kind::S_nonArrayNonObjExpression: // nonArrayNonObjExpression
+ case symbol_kind::S_matchExpression: // matchExpression
+ case symbol_kind::S_predicates: // predicates
+ case symbol_kind::S_compoundMatchExprs: // compoundMatchExprs
+ case symbol_kind::S_predValue: // predValue
+ case symbol_kind::S_additionalExprs: // additionalExprs
+ case symbol_kind::S_textArgCaseSensitive: // textArgCaseSensitive
+ case symbol_kind::S_textArgDiacriticSensitive: // textArgDiacriticSensitive
+ case symbol_kind::S_textArgLanguage: // textArgLanguage
+ case symbol_kind::S_textArgSearch: // textArgSearch
+ case symbol_kind::S_findProject: // findProject
+ case symbol_kind::S_findProjectFields: // findProjectFields
+ case symbol_kind::S_topLevelFindProjection: // topLevelFindProjection
+ case symbol_kind::S_findProjection: // findProjection
+ case symbol_kind::S_findProjectionSlice: // findProjectionSlice
+ case symbol_kind::S_elemMatch: // elemMatch
+ case symbol_kind::S_findProjectionObject: // findProjectionObject
+ case symbol_kind::S_findProjectionObjectFields: // findProjectionObjectFields
+ case symbol_kind::S_sortSpecs: // sortSpecs
+ case symbol_kind::S_specList: // specList
+ case symbol_kind::S_metaSort: // metaSort
+ case symbol_kind::S_oneOrNegOne: // oneOrNegOne
+ case symbol_kind::S_metaSortKeyword: // metaSortKeyword
value.move<CNode>(that.value);
break;
- case 204: // aggregationProjectionFieldname
- case 205: // projectionFieldname
- case 206: // expressionFieldname
- case 207: // stageAsUserFieldname
- case 208: // argAsUserFieldname
- case 209: // argAsProjectionPath
- case 210: // aggExprAsUserFieldname
- case 211: // invariableUserFieldname
- case 212: // sortFieldname
- case 213: // idAsUserFieldname
- case 214: // elemMatchAsUserFieldname
- case 215: // idAsProjectionPath
- case 216: // valueFieldname
- case 217: // predFieldname
- case 423: // logicalExprField
+ case symbol_kind::S_aggregationProjectionFieldname: // aggregationProjectionFieldname
+ case symbol_kind::S_projectionFieldname: // projectionFieldname
+ case symbol_kind::S_expressionFieldname: // expressionFieldname
+ case symbol_kind::S_stageAsUserFieldname: // stageAsUserFieldname
+ case symbol_kind::S_argAsUserFieldname: // argAsUserFieldname
+ case symbol_kind::S_argAsProjectionPath: // argAsProjectionPath
+ case symbol_kind::S_aggExprAsUserFieldname: // aggExprAsUserFieldname
+ case symbol_kind::S_invariableUserFieldname: // invariableUserFieldname
+ case symbol_kind::S_sortFieldname: // sortFieldname
+ case symbol_kind::S_idAsUserFieldname: // idAsUserFieldname
+ case symbol_kind::S_elemMatchAsUserFieldname: // elemMatchAsUserFieldname
+ case symbol_kind::S_idAsProjectionPath: // idAsProjectionPath
+ case symbol_kind::S_valueFieldname: // valueFieldname
+ case symbol_kind::S_predFieldname: // predFieldname
+ case symbol_kind::S_logicalExprField: // logicalExprField
value.move<CNode::Fieldname>(that.value);
break;
- case 185: // "Date"
+ case symbol_kind::S_DATE_LITERAL: // "Date"
value.move<Date_t>(that.value);
break;
- case 195: // "arbitrary decimal"
+ case symbol_kind::S_DECIMAL_OTHER: // "arbitrary decimal"
value.move<Decimal128>(that.value);
break;
- case 184: // "ObjectID"
+ case symbol_kind::S_OBJECT_ID: // "ObjectID"
value.move<OID>(that.value);
break;
- case 196: // "Timestamp"
+ case symbol_kind::S_TIMESTAMP: // "Timestamp"
value.move<Timestamp>(that.value);
break;
- case 198: // "maxKey"
+ case symbol_kind::S_MAX_KEY: // "maxKey"
value.move<UserMaxKey>(that.value);
break;
- case 197: // "minKey"
+ case symbol_kind::S_MIN_KEY: // "minKey"
value.move<UserMinKey>(that.value);
break;
- case 186: // "null"
+ case symbol_kind::S_JSNULL: // "null"
value.move<UserNull>(that.value);
break;
- case 183: // "undefined"
+ case symbol_kind::S_UNDEFINED: // "undefined"
value.move<UserUndefined>(that.value);
break;
- case 194: // "arbitrary double"
+ case symbol_kind::S_DOUBLE_OTHER: // "arbitrary double"
value.move<double>(that.value);
break;
- case 192: // "arbitrary integer"
+ case symbol_kind::S_INT_OTHER: // "arbitrary integer"
value.move<int>(that.value);
break;
- case 193: // "arbitrary long"
+ case symbol_kind::S_LONG_OTHER: // "arbitrary long"
value.move<long long>(that.value);
break;
- case 218: // aggregationProjectField
- case 219: // aggregationProjectionObjectField
- case 220: // expressionField
- case 221: // valueField
- case 360: // onErrorArg
- case 361: // onNullArg
- case 362: // formatArg
- case 363: // timezoneArg
- case 364: // charsArg
- case 365: // optionsArg
- case 366: // hourArg
- case 367: // minuteArg
- case 368: // secondArg
- case 369: // millisecondArg
- case 370: // dayArg
- case 371: // isoWeekArg
- case 372: // iso8601Arg
- case 373: // monthArg
- case 374: // isoDayOfWeekArg
- case 414: // predicate
- case 415: // fieldPredicate
- case 416: // logicalExpr
- case 417: // operatorExpression
- case 418: // notExpr
- case 419: // matchMod
- case 420: // existsExpr
- case 421: // typeExpr
- case 422: // commentExpr
- case 425: // matchExpr
- case 426: // matchText
- case 427: // matchWhere
- case 440: // findProjectField
- case 441: // findProjectionObjectField
- case 447: // sortSpec
+ case symbol_kind::S_aggregationProjectField: // aggregationProjectField
+ case symbol_kind::S_aggregationProjectionObjectField: // aggregationProjectionObjectField
+ case symbol_kind::S_expressionField: // expressionField
+ case symbol_kind::S_valueField: // valueField
+ case symbol_kind::S_onErrorArg: // onErrorArg
+ case symbol_kind::S_onNullArg: // onNullArg
+ case symbol_kind::S_asArg: // asArg
+ case symbol_kind::S_formatArg: // formatArg
+ case symbol_kind::S_timezoneArg: // timezoneArg
+ case symbol_kind::S_charsArg: // charsArg
+ case symbol_kind::S_optionsArg: // optionsArg
+ case symbol_kind::S_hourArg: // hourArg
+ case symbol_kind::S_minuteArg: // minuteArg
+ case symbol_kind::S_secondArg: // secondArg
+ case symbol_kind::S_millisecondArg: // millisecondArg
+ case symbol_kind::S_dayArg: // dayArg
+ case symbol_kind::S_isoWeekArg: // isoWeekArg
+ case symbol_kind::S_iso8601Arg: // iso8601Arg
+ case symbol_kind::S_monthArg: // monthArg
+ case symbol_kind::S_isoDayOfWeekArg: // isoDayOfWeekArg
+ case symbol_kind::S_predicate: // predicate
+ case symbol_kind::S_fieldPredicate: // fieldPredicate
+ case symbol_kind::S_logicalExpr: // logicalExpr
+ case symbol_kind::S_operatorExpression: // operatorExpression
+ case symbol_kind::S_notExpr: // notExpr
+ case symbol_kind::S_matchMod: // matchMod
+ case symbol_kind::S_existsExpr: // existsExpr
+ case symbol_kind::S_typeExpr: // typeExpr
+ case symbol_kind::S_commentExpr: // commentExpr
+ case symbol_kind::S_matchExpr: // matchExpr
+ case symbol_kind::S_matchText: // matchText
+ case symbol_kind::S_matchWhere: // matchWhere
+ case symbol_kind::S_findProjectField: // findProjectField
+ case symbol_kind::S_findProjectionObjectField: // findProjectionObjectField
+ case symbol_kind::S_sortSpec: // sortSpec
value.move<std::pair<CNode::Fieldname, CNode>>(that.value);
break;
- case 176: // "fieldname"
- case 178: // "$-prefixed fieldname"
- case 179: // "string"
- case 180: // "$-prefixed string"
- case 181: // "$$-prefixed string"
- case 222: // arg
+ case symbol_kind::S_FIELDNAME: // "fieldname"
+ case symbol_kind::S_DOLLAR_PREF_FIELDNAME: // "$-prefixed fieldname"
+ case symbol_kind::S_STRING: // "string"
+ case symbol_kind::S_DOLLAR_STRING: // "$-prefixed string"
+ case symbol_kind::S_DOLLAR_DOLLAR_STRING: // "$$-prefixed string"
+ case symbol_kind::S_arg: // arg
value.move<std::string>(that.value);
break;
- case 375: // expressions
- case 376: // values
- case 377: // exprZeroToTwo
- case 424: // typeValues
+ case symbol_kind::S_expressions: // expressions
+ case symbol_kind::S_values: // values
+ case symbol_kind::S_exprZeroToTwo: // exprZeroToTwo
+ case symbol_kind::S_typeValues: // typeValues
value.move<std::vector<CNode>>(that.value);
break;
- case 177: // "fieldname containing dotted path"
+ case symbol_kind::S_DOTTED_FIELDNAME: // "fieldname containing dotted path"
value.move<std::vector<std::string>>(that.value);
break;
@@ -1648,18 +1652,15 @@ template <typename Base>
void ParserGen::yy_print_(std::ostream& yyo, const basic_symbol<Base>& yysym) const {
std::ostream& yyoutput = yyo;
YYUSE(yyoutput);
- symbol_number_type yytype = yysym.type_get();
-#if defined __GNUC__ && !defined __clang__ && !defined __ICC && \
- __GNUC__ * 100 + __GNUC_MINOR__ <= 408
- // Avoid a (spurious) G++ 4.8 warning about "array subscript is
- // below array bounds".
if (yysym.empty())
- std::abort();
-#endif
- yyo << (yytype < yyntokens_ ? "token" : "nterm") << ' ' << yytname_[yytype] << " ("
- << yysym.location << ": ";
- YYUSE(yytype);
- yyo << ')';
+ yyo << "empty symbol";
+ else {
+ symbol_kind_type yykind = yysym.kind();
+ yyo << (yykind < YYNTOKENS ? "token" : "nterm") << ' ' << yysym.name() << " ("
+ << yysym.location << ": ";
+ YYUSE(yykind);
+ yyo << ')';
+ }
}
#endif
@@ -1702,11 +1703,11 @@ void ParserGen::set_debug_level(debug_level_type l) {
#endif // YYDEBUG
ParserGen::state_type ParserGen::yy_lr_goto_state_(state_type yystate, int yysym) {
- int yyr = yypgoto_[yysym - yyntokens_] + yystate;
+ int yyr = yypgoto_[yysym - YYNTOKENS] + yystate;
if (0 <= yyr && yyr <= yylast_ && yycheck_[yyr] == yystate)
return yytable_[yyr];
else
- return yydefgoto_[yysym - yyntokens_];
+ return yydefgoto_[yysym - YYNTOKENS];
}
bool ParserGen::yy_pact_value_is_default_(int yyvalue) {
@@ -1758,6 +1759,7 @@ int ParserGen::parse() {
`-----------------------------------------------*/
yynewstate:
YYCDEBUG << "Entering state " << int(yystack_[0].state) << '\n';
+ YY_STACK_PRINT();
// Accept?
if (yystack_[0].state == yyfinal_)
@@ -1771,13 +1773,13 @@ int ParserGen::parse() {
`-----------*/
yybackup:
// Try to take a decision without lookahead.
- yyn = yypact_[yystack_[0].state];
+ yyn = yypact_[+yystack_[0].state];
if (yy_pact_value_is_default_(yyn))
goto yydefault;
// Read a lookahead token.
if (yyla.empty()) {
- YYCDEBUG << "Reading a token: ";
+ YYCDEBUG << "Reading a token\n";
#if YY_EXCEPTIONS
try
#endif // YY_EXCEPTIONS
@@ -1795,10 +1797,19 @@ int ParserGen::parse() {
}
YY_SYMBOL_PRINT("Next token is", yyla);
+ if (yyla.kind() == symbol_kind::S_YYerror) {
+ // The scanner already issued an error message, process directly
+ // to error recovery. But do not keep the error token as
+ // lookahead, it is too special and may lead us to an endless
+ // loop in error recovery. */
+ yyla.kind_ = symbol_kind::S_YYUNDEF;
+ goto yyerrlab1;
+ }
+
/* If the proper action on seeing token YYLA.TYPE is to reduce or
to detect an error, take that action. */
- yyn += yyla.type_get();
- if (yyn < 0 || yylast_ < yyn || yycheck_[yyn] != yyla.type_get()) {
+ yyn += yyla.kind();
+ if (yyn < 0 || yylast_ < yyn || yycheck_[yyn] != yyla.kind()) {
goto yydefault;
}
@@ -1816,7 +1827,7 @@ int ParserGen::parse() {
--yyerrstatus_;
// Shift the lookahead token.
- yypush_("Shifting", static_cast<state_type>(yyn), YY_MOVE(yyla));
+ yypush_("Shifting", state_type(yyn), YY_MOVE(yyla));
goto yynewstate;
@@ -1824,7 +1835,7 @@ int ParserGen::parse() {
| yydefault -- do the default action for the current state. |
`-----------------------------------------------------------*/
yydefault:
- yyn = yydefact_[yystack_[0].state];
+ yyn = yydefact_[+yystack_[0].state];
if (yyn == 0)
goto yyerrlab;
goto yyreduce;
@@ -1842,339 +1853,353 @@ int ParserGen::parse() {
correct type. The default '$$ = $1' action is NOT applied
when using variants. */
switch (yyr1_[yyn]) {
- case 182: // "BinData"
+ case symbol_kind::S_BINARY: // "BinData"
yylhs.value.emplace<BSONBinData>();
break;
- case 189: // "Code"
+ case symbol_kind::S_JAVASCRIPT: // "Code"
yylhs.value.emplace<BSONCode>();
break;
- case 191: // "CodeWScope"
+ case symbol_kind::S_JAVASCRIPT_W_SCOPE: // "CodeWScope"
yylhs.value.emplace<BSONCodeWScope>();
break;
- case 188: // "dbPointer"
+ case symbol_kind::S_DB_POINTER: // "dbPointer"
yylhs.value.emplace<BSONDBRef>();
break;
- case 187: // "regex"
+ case symbol_kind::S_REGEX: // "regex"
yylhs.value.emplace<BSONRegEx>();
break;
- case 190: // "Symbol"
+ case symbol_kind::S_SYMBOL: // "Symbol"
yylhs.value.emplace<BSONSymbol>();
break;
- case 223: // dbPointer
- case 224: // javascript
- case 225: // symbol
- case 226: // javascriptWScope
- case 227: // int
- case 228: // timestamp
- case 229: // long
- case 230: // double
- case 231: // decimal
- case 232: // minKey
- case 233: // maxKey
- case 234: // value
- case 235: // string
- case 236: // aggregationFieldPath
- case 237: // binary
- case 238: // undefined
- case 239: // objectId
- case 240: // bool
- case 241: // date
- case 242: // null
- case 243: // regex
- case 244: // simpleValue
- case 245: // compoundValue
- case 246: // valueArray
- case 247: // valueObject
- case 248: // valueFields
- case 249: // variable
- case 250: // typeArray
- case 251: // typeValue
- case 252: // pipeline
- case 253: // stageList
- case 254: // stage
- case 255: // inhibitOptimization
- case 256: // unionWith
- case 257: // skip
- case 258: // limit
- case 259: // matchStage
- case 260: // project
- case 261: // sample
- case 262: // aggregationProjectFields
- case 263: // aggregationProjectionObjectFields
- case 264: // topLevelAggregationProjection
- case 265: // aggregationProjection
- case 266: // projectionCommon
- case 267: // aggregationProjectionObject
- case 268: // num
- case 269: // expression
- case 270: // exprFixedTwoArg
- case 271: // exprFixedThreeArg
- case 272: // slice
- case 273: // expressionArray
- case 274: // expressionObject
- case 275: // expressionFields
- case 276: // maths
- case 277: // meta
- case 278: // add
- case 279: // boolExprs
- case 280: // and
- case 281: // or
- case 282: // not
- case 283: // literalEscapes
- case 284: // const
- case 285: // literal
- case 286: // stringExps
- case 287: // concat
- case 288: // dateFromString
- case 289: // dateToString
- case 290: // indexOfBytes
- case 291: // indexOfCP
- case 292: // ltrim
- case 293: // regexFind
- case 294: // regexFindAll
- case 295: // regexMatch
- case 296: // regexArgs
- case 297: // replaceOne
- case 298: // replaceAll
- case 299: // rtrim
- case 300: // split
- case 301: // strLenBytes
- case 302: // strLenCP
- case 303: // strcasecmp
- case 304: // substr
- case 305: // substrBytes
- case 306: // substrCP
- case 307: // toLower
- case 308: // toUpper
- case 309: // trim
- case 310: // compExprs
- case 311: // cmp
- case 312: // eq
- case 313: // gt
- case 314: // gte
- case 315: // lt
- case 316: // lte
- case 317: // ne
- case 318: // dateExps
- case 319: // dateFromParts
- case 320: // dateToParts
- case 321: // dayOfMonth
- case 322: // dayOfWeek
- case 323: // dayOfYear
- case 324: // hour
- case 325: // isoDayOfWeek
- case 326: // isoWeek
- case 327: // isoWeekYear
- case 328: // millisecond
- case 329: // minute
- case 330: // month
- case 331: // second
- case 332: // week
- case 333: // year
- case 334: // typeExpression
- case 335: // convert
- case 336: // toBool
- case 337: // toDate
- case 338: // toDecimal
- case 339: // toDouble
- case 340: // toInt
- case 341: // toLong
- case 342: // toObjectId
- case 343: // toString
- case 344: // type
- case 345: // abs
- case 346: // ceil
- case 347: // divide
- case 348: // exponent
- case 349: // floor
- case 350: // ln
- case 351: // log
- case 352: // logten
- case 353: // mod
- case 354: // multiply
- case 355: // pow
- case 356: // round
- case 357: // sqrt
- case 358: // subtract
- case 359: // trunc
- case 378: // setExpression
- case 379: // allElementsTrue
- case 380: // anyElementTrue
- case 381: // setDifference
- case 382: // setEquals
- case 383: // setIntersection
- case 384: // setIsSubset
- case 385: // setUnion
- case 386: // trig
- case 387: // sin
- case 388: // cos
- case 389: // tan
- case 390: // sinh
- case 391: // cosh
- case 392: // tanh
- case 393: // asin
- case 394: // acos
- case 395: // atan
- case 396: // asinh
- case 397: // acosh
- case 398: // atanh
- case 399: // atan2
- case 400: // degreesToRadians
- case 401: // radiansToDegrees
- case 402: // nonArrayExpression
- case 403: // nonArrayCompoundExpression
- case 404: // aggregationOperator
- case 405: // aggregationOperatorWithoutSlice
- case 406: // expressionSingletonArray
- case 407: // singleArgExpression
- case 408: // nonArrayNonObjExpression
- case 409: // matchExpression
- case 410: // predicates
- case 411: // compoundMatchExprs
- case 412: // predValue
- case 413: // additionalExprs
- case 428: // textArgCaseSensitive
- case 429: // textArgDiacriticSensitive
- case 430: // textArgLanguage
- case 431: // textArgSearch
- case 432: // findProject
- case 433: // findProjectFields
- case 434: // topLevelFindProjection
- case 435: // findProjection
- case 436: // findProjectionSlice
- case 437: // elemMatch
- case 438: // findProjectionObject
- case 439: // findProjectionObjectFields
- case 442: // sortSpecs
- case 443: // specList
- case 444: // metaSort
- case 445: // oneOrNegOne
- case 446: // metaSortKeyword
+ case symbol_kind::S_dbPointer: // dbPointer
+ case symbol_kind::S_javascript: // javascript
+ case symbol_kind::S_symbol: // symbol
+ case symbol_kind::S_javascriptWScope: // javascriptWScope
+ case symbol_kind::S_int: // int
+ case symbol_kind::S_timestamp: // timestamp
+ case symbol_kind::S_long: // long
+ case symbol_kind::S_double: // double
+ case symbol_kind::S_decimal: // decimal
+ case symbol_kind::S_minKey: // minKey
+ case symbol_kind::S_maxKey: // maxKey
+ case symbol_kind::S_value: // value
+ case symbol_kind::S_string: // string
+ case symbol_kind::S_aggregationFieldPath: // aggregationFieldPath
+ case symbol_kind::S_binary: // binary
+ case symbol_kind::S_undefined: // undefined
+ case symbol_kind::S_objectId: // objectId
+ case symbol_kind::S_bool: // bool
+ case symbol_kind::S_date: // date
+ case symbol_kind::S_null: // null
+ case symbol_kind::S_regex: // regex
+ case symbol_kind::S_simpleValue: // simpleValue
+ case symbol_kind::S_compoundValue: // compoundValue
+ case symbol_kind::S_valueArray: // valueArray
+ case symbol_kind::S_valueObject: // valueObject
+ case symbol_kind::S_valueFields: // valueFields
+ case symbol_kind::S_variable: // variable
+ case symbol_kind::S_typeArray: // typeArray
+ case symbol_kind::S_typeValue: // typeValue
+ case symbol_kind::S_pipeline: // pipeline
+ case symbol_kind::S_stageList: // stageList
+ case symbol_kind::S_stage: // stage
+ case symbol_kind::S_inhibitOptimization: // inhibitOptimization
+ case symbol_kind::S_unionWith: // unionWith
+ case symbol_kind::S_skip: // skip
+ case symbol_kind::S_limit: // limit
+ case symbol_kind::S_matchStage: // matchStage
+ case symbol_kind::S_project: // project
+ case symbol_kind::S_sample: // sample
+ case symbol_kind::S_aggregationProjectFields: // aggregationProjectFields
+ case symbol_kind::
+ S_aggregationProjectionObjectFields: // aggregationProjectionObjectFields
+ case symbol_kind::S_topLevelAggregationProjection: // topLevelAggregationProjection
+ case symbol_kind::S_aggregationProjection: // aggregationProjection
+ case symbol_kind::S_projectionCommon: // projectionCommon
+ case symbol_kind::S_aggregationProjectionObject: // aggregationProjectionObject
+ case symbol_kind::S_num: // num
+ case symbol_kind::S_expression: // expression
+ case symbol_kind::S_exprFixedTwoArg: // exprFixedTwoArg
+ case symbol_kind::S_exprFixedThreeArg: // exprFixedThreeArg
+ case symbol_kind::S_slice: // slice
+ case symbol_kind::S_expressionArray: // expressionArray
+ case symbol_kind::S_expressionObject: // expressionObject
+ case symbol_kind::S_expressionFields: // expressionFields
+ case symbol_kind::S_maths: // maths
+ case symbol_kind::S_meta: // meta
+ case symbol_kind::S_add: // add
+ case symbol_kind::S_boolExprs: // boolExprs
+ case symbol_kind::S_and: // and
+ case symbol_kind::S_or: // or
+ case symbol_kind::S_not: // not
+ case symbol_kind::S_literalEscapes: // literalEscapes
+ case symbol_kind::S_const: // const
+ case symbol_kind::S_literal: // literal
+ case symbol_kind::S_stringExps: // stringExps
+ case symbol_kind::S_concat: // concat
+ case symbol_kind::S_dateFromString: // dateFromString
+ case symbol_kind::S_dateToString: // dateToString
+ case symbol_kind::S_indexOfBytes: // indexOfBytes
+ case symbol_kind::S_indexOfCP: // indexOfCP
+ case symbol_kind::S_ltrim: // ltrim
+ case symbol_kind::S_regexFind: // regexFind
+ case symbol_kind::S_regexFindAll: // regexFindAll
+ case symbol_kind::S_regexMatch: // regexMatch
+ case symbol_kind::S_regexArgs: // regexArgs
+ case symbol_kind::S_replaceOne: // replaceOne
+ case symbol_kind::S_replaceAll: // replaceAll
+ case symbol_kind::S_rtrim: // rtrim
+ case symbol_kind::S_split: // split
+ case symbol_kind::S_strLenBytes: // strLenBytes
+ case symbol_kind::S_strLenCP: // strLenCP
+ case symbol_kind::S_strcasecmp: // strcasecmp
+ case symbol_kind::S_substr: // substr
+ case symbol_kind::S_substrBytes: // substrBytes
+ case symbol_kind::S_substrCP: // substrCP
+ case symbol_kind::S_toLower: // toLower
+ case symbol_kind::S_toUpper: // toUpper
+ case symbol_kind::S_trim: // trim
+ case symbol_kind::S_compExprs: // compExprs
+ case symbol_kind::S_cmp: // cmp
+ case symbol_kind::S_eq: // eq
+ case symbol_kind::S_gt: // gt
+ case symbol_kind::S_gte: // gte
+ case symbol_kind::S_lt: // lt
+ case symbol_kind::S_lte: // lte
+ case symbol_kind::S_ne: // ne
+ case symbol_kind::S_dateExps: // dateExps
+ case symbol_kind::S_dateFromParts: // dateFromParts
+ case symbol_kind::S_dateToParts: // dateToParts
+ case symbol_kind::S_dayOfMonth: // dayOfMonth
+ case symbol_kind::S_dayOfWeek: // dayOfWeek
+ case symbol_kind::S_dayOfYear: // dayOfYear
+ case symbol_kind::S_hour: // hour
+ case symbol_kind::S_isoDayOfWeek: // isoDayOfWeek
+ case symbol_kind::S_isoWeek: // isoWeek
+ case symbol_kind::S_isoWeekYear: // isoWeekYear
+ case symbol_kind::S_millisecond: // millisecond
+ case symbol_kind::S_minute: // minute
+ case symbol_kind::S_month: // month
+ case symbol_kind::S_second: // second
+ case symbol_kind::S_week: // week
+ case symbol_kind::S_year: // year
+ case symbol_kind::S_typeExpression: // typeExpression
+ case symbol_kind::S_convert: // convert
+ case symbol_kind::S_toBool: // toBool
+ case symbol_kind::S_toDate: // toDate
+ case symbol_kind::S_toDecimal: // toDecimal
+ case symbol_kind::S_toDouble: // toDouble
+ case symbol_kind::S_toInt: // toInt
+ case symbol_kind::S_toLong: // toLong
+ case symbol_kind::S_toObjectId: // toObjectId
+ case symbol_kind::S_toString: // toString
+ case symbol_kind::S_type: // type
+ case symbol_kind::S_abs: // abs
+ case symbol_kind::S_ceil: // ceil
+ case symbol_kind::S_divide: // divide
+ case symbol_kind::S_exponent: // exponent
+ case symbol_kind::S_floor: // floor
+ case symbol_kind::S_ln: // ln
+ case symbol_kind::S_log: // log
+ case symbol_kind::S_logten: // logten
+ case symbol_kind::S_mod: // mod
+ case symbol_kind::S_multiply: // multiply
+ case symbol_kind::S_pow: // pow
+ case symbol_kind::S_round: // round
+ case symbol_kind::S_sqrt: // sqrt
+ case symbol_kind::S_subtract: // subtract
+ case symbol_kind::S_trunc: // trunc
+ case symbol_kind::S_arrayExps: // arrayExps
+ case symbol_kind::S_arrayElemAt: // arrayElemAt
+ case symbol_kind::S_arrayToObject: // arrayToObject
+ case symbol_kind::S_concatArrays: // concatArrays
+ case symbol_kind::S_filter: // filter
+ case symbol_kind::S_first: // first
+ case symbol_kind::S_in: // in
+ case symbol_kind::S_indexOfArray: // indexOfArray
+ case symbol_kind::S_isArray: // isArray
+ case symbol_kind::S_setExpression: // setExpression
+ case symbol_kind::S_allElementsTrue: // allElementsTrue
+ case symbol_kind::S_anyElementTrue: // anyElementTrue
+ case symbol_kind::S_setDifference: // setDifference
+ case symbol_kind::S_setEquals: // setEquals
+ case symbol_kind::S_setIntersection: // setIntersection
+ case symbol_kind::S_setIsSubset: // setIsSubset
+ case symbol_kind::S_setUnion: // setUnion
+ case symbol_kind::S_trig: // trig
+ case symbol_kind::S_sin: // sin
+ case symbol_kind::S_cos: // cos
+ case symbol_kind::S_tan: // tan
+ case symbol_kind::S_sinh: // sinh
+ case symbol_kind::S_cosh: // cosh
+ case symbol_kind::S_tanh: // tanh
+ case symbol_kind::S_asin: // asin
+ case symbol_kind::S_acos: // acos
+ case symbol_kind::S_atan: // atan
+ case symbol_kind::S_asinh: // asinh
+ case symbol_kind::S_acosh: // acosh
+ case symbol_kind::S_atanh: // atanh
+ case symbol_kind::S_atan2: // atan2
+ case symbol_kind::S_degreesToRadians: // degreesToRadians
+ case symbol_kind::S_radiansToDegrees: // radiansToDegrees
+ case symbol_kind::S_nonArrayExpression: // nonArrayExpression
+ case symbol_kind::S_nonArrayCompoundExpression: // nonArrayCompoundExpression
+ case symbol_kind::S_aggregationOperator: // aggregationOperator
+ case symbol_kind::
+ S_aggregationOperatorWithoutSlice: // aggregationOperatorWithoutSlice
+ case symbol_kind::S_expressionSingletonArray: // expressionSingletonArray
+ case symbol_kind::S_singleArgExpression: // singleArgExpression
+ case symbol_kind::S_nonArrayNonObjExpression: // nonArrayNonObjExpression
+ case symbol_kind::S_matchExpression: // matchExpression
+ case symbol_kind::S_predicates: // predicates
+ case symbol_kind::S_compoundMatchExprs: // compoundMatchExprs
+ case symbol_kind::S_predValue: // predValue
+ case symbol_kind::S_additionalExprs: // additionalExprs
+ case symbol_kind::S_textArgCaseSensitive: // textArgCaseSensitive
+ case symbol_kind::S_textArgDiacriticSensitive: // textArgDiacriticSensitive
+ case symbol_kind::S_textArgLanguage: // textArgLanguage
+ case symbol_kind::S_textArgSearch: // textArgSearch
+ case symbol_kind::S_findProject: // findProject
+ case symbol_kind::S_findProjectFields: // findProjectFields
+ case symbol_kind::S_topLevelFindProjection: // topLevelFindProjection
+ case symbol_kind::S_findProjection: // findProjection
+ case symbol_kind::S_findProjectionSlice: // findProjectionSlice
+ case symbol_kind::S_elemMatch: // elemMatch
+ case symbol_kind::S_findProjectionObject: // findProjectionObject
+ case symbol_kind::S_findProjectionObjectFields: // findProjectionObjectFields
+ case symbol_kind::S_sortSpecs: // sortSpecs
+ case symbol_kind::S_specList: // specList
+ case symbol_kind::S_metaSort: // metaSort
+ case symbol_kind::S_oneOrNegOne: // oneOrNegOne
+ case symbol_kind::S_metaSortKeyword: // metaSortKeyword
yylhs.value.emplace<CNode>();
break;
- case 204: // aggregationProjectionFieldname
- case 205: // projectionFieldname
- case 206: // expressionFieldname
- case 207: // stageAsUserFieldname
- case 208: // argAsUserFieldname
- case 209: // argAsProjectionPath
- case 210: // aggExprAsUserFieldname
- case 211: // invariableUserFieldname
- case 212: // sortFieldname
- case 213: // idAsUserFieldname
- case 214: // elemMatchAsUserFieldname
- case 215: // idAsProjectionPath
- case 216: // valueFieldname
- case 217: // predFieldname
- case 423: // logicalExprField
+ case symbol_kind::
+ S_aggregationProjectionFieldname: // aggregationProjectionFieldname
+ case symbol_kind::S_projectionFieldname: // projectionFieldname
+ case symbol_kind::S_expressionFieldname: // expressionFieldname
+ case symbol_kind::S_stageAsUserFieldname: // stageAsUserFieldname
+ case symbol_kind::S_argAsUserFieldname: // argAsUserFieldname
+ case symbol_kind::S_argAsProjectionPath: // argAsProjectionPath
+ case symbol_kind::S_aggExprAsUserFieldname: // aggExprAsUserFieldname
+ case symbol_kind::S_invariableUserFieldname: // invariableUserFieldname
+ case symbol_kind::S_sortFieldname: // sortFieldname
+ case symbol_kind::S_idAsUserFieldname: // idAsUserFieldname
+ case symbol_kind::S_elemMatchAsUserFieldname: // elemMatchAsUserFieldname
+ case symbol_kind::S_idAsProjectionPath: // idAsProjectionPath
+ case symbol_kind::S_valueFieldname: // valueFieldname
+ case symbol_kind::S_predFieldname: // predFieldname
+ case symbol_kind::S_logicalExprField: // logicalExprField
yylhs.value.emplace<CNode::Fieldname>();
break;
- case 185: // "Date"
+ case symbol_kind::S_DATE_LITERAL: // "Date"
yylhs.value.emplace<Date_t>();
break;
- case 195: // "arbitrary decimal"
+ case symbol_kind::S_DECIMAL_OTHER: // "arbitrary decimal"
yylhs.value.emplace<Decimal128>();
break;
- case 184: // "ObjectID"
+ case symbol_kind::S_OBJECT_ID: // "ObjectID"
yylhs.value.emplace<OID>();
break;
- case 196: // "Timestamp"
+ case symbol_kind::S_TIMESTAMP: // "Timestamp"
yylhs.value.emplace<Timestamp>();
break;
- case 198: // "maxKey"
+ case symbol_kind::S_MAX_KEY: // "maxKey"
yylhs.value.emplace<UserMaxKey>();
break;
- case 197: // "minKey"
+ case symbol_kind::S_MIN_KEY: // "minKey"
yylhs.value.emplace<UserMinKey>();
break;
- case 186: // "null"
+ case symbol_kind::S_JSNULL: // "null"
yylhs.value.emplace<UserNull>();
break;
- case 183: // "undefined"
+ case symbol_kind::S_UNDEFINED: // "undefined"
yylhs.value.emplace<UserUndefined>();
break;
- case 194: // "arbitrary double"
+ case symbol_kind::S_DOUBLE_OTHER: // "arbitrary double"
yylhs.value.emplace<double>();
break;
- case 192: // "arbitrary integer"
+ case symbol_kind::S_INT_OTHER: // "arbitrary integer"
yylhs.value.emplace<int>();
break;
- case 193: // "arbitrary long"
+ case symbol_kind::S_LONG_OTHER: // "arbitrary long"
yylhs.value.emplace<long long>();
break;
- case 218: // aggregationProjectField
- case 219: // aggregationProjectionObjectField
- case 220: // expressionField
- case 221: // valueField
- case 360: // onErrorArg
- case 361: // onNullArg
- case 362: // formatArg
- case 363: // timezoneArg
- case 364: // charsArg
- case 365: // optionsArg
- case 366: // hourArg
- case 367: // minuteArg
- case 368: // secondArg
- case 369: // millisecondArg
- case 370: // dayArg
- case 371: // isoWeekArg
- case 372: // iso8601Arg
- case 373: // monthArg
- case 374: // isoDayOfWeekArg
- case 414: // predicate
- case 415: // fieldPredicate
- case 416: // logicalExpr
- case 417: // operatorExpression
- case 418: // notExpr
- case 419: // matchMod
- case 420: // existsExpr
- case 421: // typeExpr
- case 422: // commentExpr
- case 425: // matchExpr
- case 426: // matchText
- case 427: // matchWhere
- case 440: // findProjectField
- case 441: // findProjectionObjectField
- case 447: // sortSpec
+ case symbol_kind::S_aggregationProjectField: // aggregationProjectField
+ case symbol_kind::
+ S_aggregationProjectionObjectField: // aggregationProjectionObjectField
+ case symbol_kind::S_expressionField: // expressionField
+ case symbol_kind::S_valueField: // valueField
+ case symbol_kind::S_onErrorArg: // onErrorArg
+ case symbol_kind::S_onNullArg: // onNullArg
+ case symbol_kind::S_asArg: // asArg
+ case symbol_kind::S_formatArg: // formatArg
+ case symbol_kind::S_timezoneArg: // timezoneArg
+ case symbol_kind::S_charsArg: // charsArg
+ case symbol_kind::S_optionsArg: // optionsArg
+ case symbol_kind::S_hourArg: // hourArg
+ case symbol_kind::S_minuteArg: // minuteArg
+ case symbol_kind::S_secondArg: // secondArg
+ case symbol_kind::S_millisecondArg: // millisecondArg
+ case symbol_kind::S_dayArg: // dayArg
+ case symbol_kind::S_isoWeekArg: // isoWeekArg
+ case symbol_kind::S_iso8601Arg: // iso8601Arg
+ case symbol_kind::S_monthArg: // monthArg
+ case symbol_kind::S_isoDayOfWeekArg: // isoDayOfWeekArg
+ case symbol_kind::S_predicate: // predicate
+ case symbol_kind::S_fieldPredicate: // fieldPredicate
+ case symbol_kind::S_logicalExpr: // logicalExpr
+ case symbol_kind::S_operatorExpression: // operatorExpression
+ case symbol_kind::S_notExpr: // notExpr
+ case symbol_kind::S_matchMod: // matchMod
+ case symbol_kind::S_existsExpr: // existsExpr
+ case symbol_kind::S_typeExpr: // typeExpr
+ case symbol_kind::S_commentExpr: // commentExpr
+ case symbol_kind::S_matchExpr: // matchExpr
+ case symbol_kind::S_matchText: // matchText
+ case symbol_kind::S_matchWhere: // matchWhere
+ case symbol_kind::S_findProjectField: // findProjectField
+ case symbol_kind::S_findProjectionObjectField: // findProjectionObjectField
+ case symbol_kind::S_sortSpec: // sortSpec
yylhs.value.emplace<std::pair<CNode::Fieldname, CNode>>();
break;
- case 176: // "fieldname"
- case 178: // "$-prefixed fieldname"
- case 179: // "string"
- case 180: // "$-prefixed string"
- case 181: // "$$-prefixed string"
- case 222: // arg
+ case symbol_kind::S_FIELDNAME: // "fieldname"
+ case symbol_kind::S_DOLLAR_PREF_FIELDNAME: // "$-prefixed fieldname"
+ case symbol_kind::S_STRING: // "string"
+ case symbol_kind::S_DOLLAR_STRING: // "$-prefixed string"
+ case symbol_kind::S_DOLLAR_DOLLAR_STRING: // "$$-prefixed string"
+ case symbol_kind::S_arg: // arg
yylhs.value.emplace<std::string>();
break;
- case 375: // expressions
- case 376: // values
- case 377: // exprZeroToTwo
- case 424: // typeValues
+ case symbol_kind::S_expressions: // expressions
+ case symbol_kind::S_values: // values
+ case symbol_kind::S_exprZeroToTwo: // exprZeroToTwo
+ case symbol_kind::S_typeValues: // typeValues
yylhs.value.emplace<std::vector<CNode>>();
break;
- case 177: // "fieldname containing dotted path"
+ case symbol_kind::S_DOTTED_FIELDNAME: // "fieldname containing dotted path"
yylhs.value.emplace<std::vector<std::string>>();
break;
@@ -2197,128 +2222,128 @@ int ParserGen::parse() {
#endif // YY_EXCEPTIONS
{
switch (yyn) {
- case 2:
-#line 405 "src/mongo/db/cst/grammar.yy"
+ case 2: // start: START_PIPELINE pipeline
+#line 417 "grammar.yy"
{
*cst = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2274 "src/mongo/db/cst/parser_gen.cpp"
+#line 2293 "parser_gen.cpp"
break;
- case 3:
-#line 408 "src/mongo/db/cst/grammar.yy"
+ case 3: // start: START_MATCH matchExpression
+#line 420 "grammar.yy"
{
*cst = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2282 "src/mongo/db/cst/parser_gen.cpp"
+#line 2301 "parser_gen.cpp"
break;
- case 4:
-#line 411 "src/mongo/db/cst/grammar.yy"
+ case 4: // start: START_PROJECT findProject
+#line 423 "grammar.yy"
{
*cst = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2290 "src/mongo/db/cst/parser_gen.cpp"
+#line 2309 "parser_gen.cpp"
break;
- case 5:
-#line 414 "src/mongo/db/cst/grammar.yy"
+ case 5: // start: START_SORT sortSpecs
+#line 426 "grammar.yy"
{
*cst = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2298 "src/mongo/db/cst/parser_gen.cpp"
+#line 2317 "parser_gen.cpp"
break;
- case 6:
-#line 421 "src/mongo/db/cst/grammar.yy"
+ case 6: // pipeline: "array" stageList "end of array"
+#line 433 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
}
-#line 2306 "src/mongo/db/cst/parser_gen.cpp"
+#line 2325 "parser_gen.cpp"
break;
- case 7:
-#line 427 "src/mongo/db/cst/grammar.yy"
+ case 7: // stageList: %empty
+#line 439 "grammar.yy"
{
}
-#line 2312 "src/mongo/db/cst/parser_gen.cpp"
+#line 2331 "parser_gen.cpp"
break;
- case 8:
-#line 428 "src/mongo/db/cst/grammar.yy"
+ case 8: // stageList: "object" stage "end of object" stageList
+#line 440 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[2].value.as<CNode>())}};
}
-#line 2320 "src/mongo/db/cst/parser_gen.cpp"
+#line 2339 "parser_gen.cpp"
break;
- case 9:
-#line 436 "src/mongo/db/cst/grammar.yy"
+ case 9: // START_ORDERED_OBJECT: "object"
+#line 448 "grammar.yy"
{
lexer.sortObjTokens();
}
-#line 2326 "src/mongo/db/cst/parser_gen.cpp"
+#line 2345 "parser_gen.cpp"
break;
- case 10:
-#line 439 "src/mongo/db/cst/grammar.yy"
+ case 10: // stage: inhibitOptimization
+#line 451 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2332 "src/mongo/db/cst/parser_gen.cpp"
+#line 2351 "parser_gen.cpp"
break;
- case 11:
-#line 439 "src/mongo/db/cst/grammar.yy"
+ case 11: // stage: unionWith
+#line 451 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2338 "src/mongo/db/cst/parser_gen.cpp"
+#line 2357 "parser_gen.cpp"
break;
- case 12:
-#line 439 "src/mongo/db/cst/grammar.yy"
+ case 12: // stage: skip
+#line 451 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2344 "src/mongo/db/cst/parser_gen.cpp"
+#line 2363 "parser_gen.cpp"
break;
- case 13:
-#line 439 "src/mongo/db/cst/grammar.yy"
+ case 13: // stage: limit
+#line 451 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2350 "src/mongo/db/cst/parser_gen.cpp"
+#line 2369 "parser_gen.cpp"
break;
- case 14:
-#line 439 "src/mongo/db/cst/grammar.yy"
+ case 14: // stage: matchStage
+#line 451 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2356 "src/mongo/db/cst/parser_gen.cpp"
+#line 2375 "parser_gen.cpp"
break;
- case 15:
-#line 439 "src/mongo/db/cst/grammar.yy"
+ case 15: // stage: project
+#line 451 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2362 "src/mongo/db/cst/parser_gen.cpp"
+#line 2381 "parser_gen.cpp"
break;
- case 16:
-#line 439 "src/mongo/db/cst/grammar.yy"
+ case 16: // stage: sample
+#line 451 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2368 "src/mongo/db/cst/parser_gen.cpp"
+#line 2387 "parser_gen.cpp"
break;
- case 17:
-#line 442 "src/mongo/db/cst/grammar.yy"
+ case 17: // sample: STAGE_SAMPLE "object" "size argument" num "end of object"
+#line 454 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{std::pair{
KeyFieldname::sample,
@@ -2326,20 +2351,22 @@ int ParserGen::parse() {
{KeyFieldname::sizeArg, YY_MOVE(yystack_[1].value.as<CNode>())},
}}}}};
}
-#line 2380 "src/mongo/db/cst/parser_gen.cpp"
+#line 2399 "parser_gen.cpp"
break;
- case 18:
-#line 452 "src/mongo/db/cst/grammar.yy"
+ case 18: // inhibitOptimization: STAGE_INHIBIT_OPTIMIZATION "object" "end of
+ // object"
+#line 464 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
std::pair{KeyFieldname::inhibitOptimization, CNode::noopLeaf()}}};
}
-#line 2388 "src/mongo/db/cst/parser_gen.cpp"
+#line 2407 "parser_gen.cpp"
break;
- case 19:
-#line 458 "src/mongo/db/cst/grammar.yy"
+ case 19: // unionWith: STAGE_UNION_WITH START_ORDERED_OBJECT "coll argument"
+ // string "pipeline argument" double "end of object"
+#line 470 "grammar.yy"
{
auto pipeline = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{std::pair{
@@ -2348,70 +2375,71 @@ int ParserGen::parse() {
{KeyFieldname::collArg, YY_MOVE(yystack_[3].value.as<CNode>())},
{KeyFieldname::pipelineArg, std::move(pipeline)}}}}}};
}
-#line 2401 "src/mongo/db/cst/parser_gen.cpp"
+#line 2420 "parser_gen.cpp"
break;
- case 20:
-#line 468 "src/mongo/db/cst/grammar.yy"
+ case 20: // num: int
+#line 480 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2407 "src/mongo/db/cst/parser_gen.cpp"
+#line 2426 "parser_gen.cpp"
break;
- case 21:
-#line 468 "src/mongo/db/cst/grammar.yy"
+ case 21: // num: long
+#line 480 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2413 "src/mongo/db/cst/parser_gen.cpp"
+#line 2432 "parser_gen.cpp"
break;
- case 22:
-#line 468 "src/mongo/db/cst/grammar.yy"
+ case 22: // num: double
+#line 480 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2419 "src/mongo/db/cst/parser_gen.cpp"
+#line 2438 "parser_gen.cpp"
break;
- case 23:
-#line 468 "src/mongo/db/cst/grammar.yy"
+ case 23: // num: decimal
+#line 480 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2425 "src/mongo/db/cst/parser_gen.cpp"
+#line 2444 "parser_gen.cpp"
break;
- case 24:
-#line 472 "src/mongo/db/cst/grammar.yy"
+ case 24: // skip: STAGE_SKIP num
+#line 484 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
std::pair{KeyFieldname::skip, YY_MOVE(yystack_[0].value.as<CNode>())}}};
}
-#line 2433 "src/mongo/db/cst/parser_gen.cpp"
+#line 2452 "parser_gen.cpp"
break;
- case 25:
-#line 477 "src/mongo/db/cst/grammar.yy"
+ case 25: // limit: STAGE_LIMIT num
+#line 489 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{std::pair{
KeyFieldname::limit, YY_MOVE(yystack_[0].value.as<CNode>())}}};
}
-#line 2441 "src/mongo/db/cst/parser_gen.cpp"
+#line 2460 "parser_gen.cpp"
break;
- case 26:
-#line 482 "src/mongo/db/cst/grammar.yy"
+ case 26: // matchStage: STAGE_MATCH matchExpression
+#line 494 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{std::pair{
KeyFieldname::match, YY_MOVE(yystack_[0].value.as<CNode>())}}};
}
-#line 2449 "src/mongo/db/cst/parser_gen.cpp"
+#line 2468 "parser_gen.cpp"
break;
- case 27:
-#line 488 "src/mongo/db/cst/grammar.yy"
+ case 27: // project: STAGE_PROJECT "object" aggregationProjectFields "end of
+ // object"
+#line 500 "grammar.yy"
{
auto&& fields = YY_MOVE(yystack_[1].value.as<CNode>());
if (auto status =
@@ -2432,48 +2460,50 @@ int ParserGen::parse() {
// function.
error(yystack_[3].location, inclusion.getStatus().reason());
}
-#line 2470 "src/mongo/db/cst/parser_gen.cpp"
+#line 2489 "parser_gen.cpp"
break;
- case 28:
-#line 507 "src/mongo/db/cst/grammar.yy"
+ case 28: // aggregationProjectFields: %empty
+#line 519 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode::noopLeaf();
}
-#line 2478 "src/mongo/db/cst/parser_gen.cpp"
+#line 2497 "parser_gen.cpp"
break;
- case 29:
-#line 510 "src/mongo/db/cst/grammar.yy"
+ case 29: // aggregationProjectFields: aggregationProjectFields
+ // aggregationProjectField
+#line 522 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 2487 "src/mongo/db/cst/parser_gen.cpp"
+#line 2506 "parser_gen.cpp"
break;
- case 30:
-#line 517 "src/mongo/db/cst/grammar.yy"
+ case 30: // aggregationProjectField: ID topLevelAggregationProjection
+#line 529 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
KeyFieldname::id, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 2495 "src/mongo/db/cst/parser_gen.cpp"
+#line 2514 "parser_gen.cpp"
break;
- case 31:
-#line 520 "src/mongo/db/cst/grammar.yy"
+ case 31: // aggregationProjectField: aggregationProjectionFieldname
+ // topLevelAggregationProjection
+#line 532 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 2503 "src/mongo/db/cst/parser_gen.cpp"
+#line 2522 "parser_gen.cpp"
break;
- case 32:
-#line 526 "src/mongo/db/cst/grammar.yy"
+ case 32: // topLevelAggregationProjection: aggregationProjection
+#line 538 "grammar.yy"
{
auto projection = YY_MOVE(yystack_[0].value.as<CNode>());
yylhs.value.as<CNode>() =
@@ -2490,303 +2520,303 @@ int ParserGen::parse() {
"object project field cannot contain both "
"inclusion and exclusion indicators");
}
-#line 2519 "src/mongo/db/cst/parser_gen.cpp"
+#line 2538 "parser_gen.cpp"
break;
- case 33:
-#line 540 "src/mongo/db/cst/grammar.yy"
+ case 33: // aggregationProjection: projectionCommon
+#line 552 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2525 "src/mongo/db/cst/parser_gen.cpp"
+#line 2544 "parser_gen.cpp"
break;
- case 34:
-#line 541 "src/mongo/db/cst/grammar.yy"
+ case 34: // aggregationProjection: aggregationProjectionObject
+#line 553 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2531 "src/mongo/db/cst/parser_gen.cpp"
+#line 2550 "parser_gen.cpp"
break;
- case 35:
-#line 542 "src/mongo/db/cst/grammar.yy"
+ case 35: // aggregationProjection: aggregationOperator
+#line 554 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2537 "src/mongo/db/cst/parser_gen.cpp"
+#line 2556 "parser_gen.cpp"
break;
- case 36:
-#line 546 "src/mongo/db/cst/grammar.yy"
+ case 36: // projectionCommon: string
+#line 558 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2543 "src/mongo/db/cst/parser_gen.cpp"
+#line 2562 "parser_gen.cpp"
break;
- case 37:
-#line 547 "src/mongo/db/cst/grammar.yy"
+ case 37: // projectionCommon: binary
+#line 559 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2549 "src/mongo/db/cst/parser_gen.cpp"
+#line 2568 "parser_gen.cpp"
break;
- case 38:
-#line 548 "src/mongo/db/cst/grammar.yy"
+ case 38: // projectionCommon: undefined
+#line 560 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2555 "src/mongo/db/cst/parser_gen.cpp"
+#line 2574 "parser_gen.cpp"
break;
- case 39:
-#line 549 "src/mongo/db/cst/grammar.yy"
+ case 39: // projectionCommon: objectId
+#line 561 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2561 "src/mongo/db/cst/parser_gen.cpp"
+#line 2580 "parser_gen.cpp"
break;
- case 40:
-#line 550 "src/mongo/db/cst/grammar.yy"
+ case 40: // projectionCommon: date
+#line 562 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2567 "src/mongo/db/cst/parser_gen.cpp"
+#line 2586 "parser_gen.cpp"
break;
- case 41:
-#line 551 "src/mongo/db/cst/grammar.yy"
+ case 41: // projectionCommon: null
+#line 563 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2573 "src/mongo/db/cst/parser_gen.cpp"
+#line 2592 "parser_gen.cpp"
break;
- case 42:
-#line 552 "src/mongo/db/cst/grammar.yy"
+ case 42: // projectionCommon: regex
+#line 564 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2579 "src/mongo/db/cst/parser_gen.cpp"
+#line 2598 "parser_gen.cpp"
break;
- case 43:
-#line 553 "src/mongo/db/cst/grammar.yy"
+ case 43: // projectionCommon: dbPointer
+#line 565 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2585 "src/mongo/db/cst/parser_gen.cpp"
+#line 2604 "parser_gen.cpp"
break;
- case 44:
-#line 554 "src/mongo/db/cst/grammar.yy"
+ case 44: // projectionCommon: javascript
+#line 566 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2591 "src/mongo/db/cst/parser_gen.cpp"
+#line 2610 "parser_gen.cpp"
break;
- case 45:
-#line 555 "src/mongo/db/cst/grammar.yy"
+ case 45: // projectionCommon: symbol
+#line 567 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2597 "src/mongo/db/cst/parser_gen.cpp"
+#line 2616 "parser_gen.cpp"
break;
- case 46:
-#line 556 "src/mongo/db/cst/grammar.yy"
+ case 46: // projectionCommon: javascriptWScope
+#line 568 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2603 "src/mongo/db/cst/parser_gen.cpp"
+#line 2622 "parser_gen.cpp"
break;
- case 47:
-#line 557 "src/mongo/db/cst/grammar.yy"
+ case 47: // projectionCommon: "1 (int)"
+#line 569 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{NonZeroKey{1}};
}
-#line 2611 "src/mongo/db/cst/parser_gen.cpp"
+#line 2630 "parser_gen.cpp"
break;
- case 48:
-#line 560 "src/mongo/db/cst/grammar.yy"
+ case 48: // projectionCommon: "-1 (int)"
+#line 572 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{NonZeroKey{-1}};
}
-#line 2619 "src/mongo/db/cst/parser_gen.cpp"
+#line 2638 "parser_gen.cpp"
break;
- case 49:
-#line 563 "src/mongo/db/cst/grammar.yy"
+ case 49: // projectionCommon: "arbitrary integer"
+#line 575 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{NonZeroKey{YY_MOVE(yystack_[0].value.as<int>())}};
}
-#line 2627 "src/mongo/db/cst/parser_gen.cpp"
+#line 2646 "parser_gen.cpp"
break;
- case 50:
-#line 566 "src/mongo/db/cst/grammar.yy"
+ case 50: // projectionCommon: "zero (int)"
+#line 578 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::intZeroKey};
}
-#line 2635 "src/mongo/db/cst/parser_gen.cpp"
+#line 2654 "parser_gen.cpp"
break;
- case 51:
-#line 569 "src/mongo/db/cst/grammar.yy"
+ case 51: // projectionCommon: "1 (long)"
+#line 581 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{NonZeroKey{1ll}};
}
-#line 2643 "src/mongo/db/cst/parser_gen.cpp"
+#line 2662 "parser_gen.cpp"
break;
- case 52:
-#line 572 "src/mongo/db/cst/grammar.yy"
+ case 52: // projectionCommon: "-1 (long)"
+#line 584 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{NonZeroKey{-1ll}};
}
-#line 2651 "src/mongo/db/cst/parser_gen.cpp"
+#line 2670 "parser_gen.cpp"
break;
- case 53:
-#line 575 "src/mongo/db/cst/grammar.yy"
+ case 53: // projectionCommon: "arbitrary long"
+#line 587 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{NonZeroKey{YY_MOVE(yystack_[0].value.as<long long>())}};
}
-#line 2659 "src/mongo/db/cst/parser_gen.cpp"
+#line 2678 "parser_gen.cpp"
break;
- case 54:
-#line 578 "src/mongo/db/cst/grammar.yy"
+ case 54: // projectionCommon: "zero (long)"
+#line 590 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::longZeroKey};
}
-#line 2667 "src/mongo/db/cst/parser_gen.cpp"
+#line 2686 "parser_gen.cpp"
break;
- case 55:
-#line 581 "src/mongo/db/cst/grammar.yy"
+ case 55: // projectionCommon: "1 (double)"
+#line 593 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{NonZeroKey{1.0}};
}
-#line 2675 "src/mongo/db/cst/parser_gen.cpp"
+#line 2694 "parser_gen.cpp"
break;
- case 56:
-#line 584 "src/mongo/db/cst/grammar.yy"
+ case 56: // projectionCommon: "-1 (double)"
+#line 596 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{NonZeroKey{-1.0}};
}
-#line 2683 "src/mongo/db/cst/parser_gen.cpp"
+#line 2702 "parser_gen.cpp"
break;
- case 57:
-#line 587 "src/mongo/db/cst/grammar.yy"
+ case 57: // projectionCommon: "arbitrary double"
+#line 599 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{NonZeroKey{YY_MOVE(yystack_[0].value.as<double>())}};
}
-#line 2691 "src/mongo/db/cst/parser_gen.cpp"
+#line 2710 "parser_gen.cpp"
break;
- case 58:
-#line 590 "src/mongo/db/cst/grammar.yy"
+ case 58: // projectionCommon: "zero (double)"
+#line 602 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::doubleZeroKey};
}
-#line 2699 "src/mongo/db/cst/parser_gen.cpp"
+#line 2718 "parser_gen.cpp"
break;
- case 59:
-#line 593 "src/mongo/db/cst/grammar.yy"
+ case 59: // projectionCommon: "1 (decimal)"
+#line 605 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{NonZeroKey{Decimal128{1.0}}};
}
-#line 2707 "src/mongo/db/cst/parser_gen.cpp"
+#line 2726 "parser_gen.cpp"
break;
- case 60:
-#line 596 "src/mongo/db/cst/grammar.yy"
+ case 60: // projectionCommon: "-1 (decimal)"
+#line 608 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{NonZeroKey{Decimal128{-1.0}}};
}
-#line 2715 "src/mongo/db/cst/parser_gen.cpp"
+#line 2734 "parser_gen.cpp"
break;
- case 61:
-#line 599 "src/mongo/db/cst/grammar.yy"
+ case 61: // projectionCommon: "arbitrary decimal"
+#line 611 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{NonZeroKey{YY_MOVE(yystack_[0].value.as<Decimal128>())}};
}
-#line 2723 "src/mongo/db/cst/parser_gen.cpp"
+#line 2742 "parser_gen.cpp"
break;
- case 62:
-#line 602 "src/mongo/db/cst/grammar.yy"
+ case 62: // projectionCommon: "zero (decimal)"
+#line 614 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::decimalZeroKey};
}
-#line 2731 "src/mongo/db/cst/parser_gen.cpp"
+#line 2750 "parser_gen.cpp"
break;
- case 63:
-#line 605 "src/mongo/db/cst/grammar.yy"
+ case 63: // projectionCommon: "true"
+#line 617 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::trueKey};
}
-#line 2739 "src/mongo/db/cst/parser_gen.cpp"
+#line 2758 "parser_gen.cpp"
break;
- case 64:
-#line 608 "src/mongo/db/cst/grammar.yy"
+ case 64: // projectionCommon: "false"
+#line 620 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::falseKey};
}
-#line 2747 "src/mongo/db/cst/parser_gen.cpp"
+#line 2766 "parser_gen.cpp"
break;
- case 65:
-#line 611 "src/mongo/db/cst/grammar.yy"
+ case 65: // projectionCommon: timestamp
+#line 623 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2753 "src/mongo/db/cst/parser_gen.cpp"
+#line 2772 "parser_gen.cpp"
break;
- case 66:
-#line 612 "src/mongo/db/cst/grammar.yy"
+ case 66: // projectionCommon: minKey
+#line 624 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2759 "src/mongo/db/cst/parser_gen.cpp"
+#line 2778 "parser_gen.cpp"
break;
- case 67:
-#line 613 "src/mongo/db/cst/grammar.yy"
+ case 67: // projectionCommon: maxKey
+#line 625 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2765 "src/mongo/db/cst/parser_gen.cpp"
+#line 2784 "parser_gen.cpp"
break;
- case 68:
-#line 614 "src/mongo/db/cst/grammar.yy"
+ case 68: // projectionCommon: expressionArray
+#line 626 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2771 "src/mongo/db/cst/parser_gen.cpp"
+#line 2790 "parser_gen.cpp"
break;
- case 69:
-#line 619 "src/mongo/db/cst/grammar.yy"
+ case 69: // aggregationProjectionFieldname: projectionFieldname
+#line 631 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
@@ -2796,11 +2826,11 @@ int ParserGen::parse() {
"positional projection forbidden in $project aggregation "
"pipeline stage");
}
-#line 2781 "src/mongo/db/cst/parser_gen.cpp"
+#line 2800 "parser_gen.cpp"
break;
- case 70:
-#line 628 "src/mongo/db/cst/grammar.yy"
+ case 70: // projectionFieldname: "fieldname"
+#line 640 "grammar.yy"
{
auto components =
makeVector<std::string>(YY_MOVE(yystack_[0].value.as<std::string>()));
@@ -2815,20 +2845,20 @@ int ParserGen::parse() {
error(yystack_[0].location, positional.getStatus().reason());
}
}
-#line 2797 "src/mongo/db/cst/parser_gen.cpp"
+#line 2816 "parser_gen.cpp"
break;
- case 71:
-#line 639 "src/mongo/db/cst/grammar.yy"
+ case 71: // projectionFieldname: argAsProjectionPath
+#line 651 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 2803 "src/mongo/db/cst/parser_gen.cpp"
+#line 2822 "parser_gen.cpp"
break;
- case 72:
-#line 640 "src/mongo/db/cst/grammar.yy"
+ case 72: // projectionFieldname: "fieldname containing dotted path"
+#line 652 "grammar.yy"
{
auto components = YY_MOVE(yystack_[0].value.as<std::vector<std::string>>());
if (auto positional =
@@ -2842,271 +2872,275 @@ int ParserGen::parse() {
error(yystack_[0].location, positional.getStatus().reason());
}
}
-#line 2819 "src/mongo/db/cst/parser_gen.cpp"
+#line 2838 "parser_gen.cpp"
break;
- case 73:
-#line 655 "src/mongo/db/cst/grammar.yy"
+ case 73: // aggregationProjectionObject: "object"
+ // aggregationProjectionObjectFields "end of object"
+#line 667 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
}
-#line 2827 "src/mongo/db/cst/parser_gen.cpp"
+#line 2846 "parser_gen.cpp"
break;
- case 74:
-#line 662 "src/mongo/db/cst/grammar.yy"
+ case 74: // aggregationProjectionObjectFields: aggregationProjectionObjectField
+#line 674 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode::noopLeaf();
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 2836 "src/mongo/db/cst/parser_gen.cpp"
+#line 2855 "parser_gen.cpp"
break;
- case 75:
-#line 666 "src/mongo/db/cst/grammar.yy"
+ case 75: // aggregationProjectionObjectFields:
+ // aggregationProjectionObjectFields aggregationProjectionObjectField
+#line 678 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 2845 "src/mongo/db/cst/parser_gen.cpp"
+#line 2864 "parser_gen.cpp"
break;
- case 76:
-#line 674 "src/mongo/db/cst/grammar.yy"
+ case 76: // aggregationProjectionObjectField: idAsProjectionPath
+ // aggregationProjection
+#line 686 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 2853 "src/mongo/db/cst/parser_gen.cpp"
+#line 2872 "parser_gen.cpp"
break;
- case 77:
-#line 677 "src/mongo/db/cst/grammar.yy"
+ case 77: // aggregationProjectionObjectField: aggregationProjectionFieldname
+ // aggregationProjection
+#line 689 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 2861 "src/mongo/db/cst/parser_gen.cpp"
+#line 2880 "parser_gen.cpp"
break;
- case 78:
-#line 683 "src/mongo/db/cst/grammar.yy"
+ case 78: // matchExpression: "object" predicates "end of object"
+#line 695 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
}
-#line 2869 "src/mongo/db/cst/parser_gen.cpp"
+#line 2888 "parser_gen.cpp"
break;
- case 79:
-#line 689 "src/mongo/db/cst/grammar.yy"
+ case 79: // predicates: %empty
+#line 701 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode::noopLeaf();
}
-#line 2877 "src/mongo/db/cst/parser_gen.cpp"
+#line 2896 "parser_gen.cpp"
break;
- case 80:
-#line 692 "src/mongo/db/cst/grammar.yy"
+ case 80: // predicates: predicates predicate
+#line 704 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 2886 "src/mongo/db/cst/parser_gen.cpp"
+#line 2905 "parser_gen.cpp"
break;
- case 81:
-#line 699 "src/mongo/db/cst/grammar.yy"
+ case 81: // predicate: fieldPredicate
+#line 711 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2892 "src/mongo/db/cst/parser_gen.cpp"
+#line 2911 "parser_gen.cpp"
break;
- case 82:
-#line 700 "src/mongo/db/cst/grammar.yy"
+ case 82: // predicate: commentExpr
+#line 712 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2898 "src/mongo/db/cst/parser_gen.cpp"
+#line 2917 "parser_gen.cpp"
break;
- case 83:
-#line 703 "src/mongo/db/cst/grammar.yy"
+ case 83: // predicate: logicalExpr
+#line 715 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2904 "src/mongo/db/cst/parser_gen.cpp"
+#line 2923 "parser_gen.cpp"
break;
- case 84:
-#line 704 "src/mongo/db/cst/grammar.yy"
+ case 84: // predicate: matchExpr
+#line 716 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2910 "src/mongo/db/cst/parser_gen.cpp"
+#line 2929 "parser_gen.cpp"
break;
- case 85:
-#line 705 "src/mongo/db/cst/grammar.yy"
+ case 85: // predicate: matchText
+#line 717 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2916 "src/mongo/db/cst/parser_gen.cpp"
+#line 2935 "parser_gen.cpp"
break;
- case 86:
-#line 706 "src/mongo/db/cst/grammar.yy"
+ case 86: // predicate: matchWhere
+#line 718 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2922 "src/mongo/db/cst/parser_gen.cpp"
+#line 2941 "parser_gen.cpp"
break;
- case 87:
-#line 709 "src/mongo/db/cst/grammar.yy"
+ case 87: // fieldPredicate: predFieldname predValue
+#line 721 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 2930 "src/mongo/db/cst/parser_gen.cpp"
+#line 2949 "parser_gen.cpp"
break;
- case 88:
-#line 718 "src/mongo/db/cst/grammar.yy"
+ case 88: // predValue: simpleValue
+#line 730 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 2936 "src/mongo/db/cst/parser_gen.cpp"
+#line 2955 "parser_gen.cpp"
break;
- case 89:
-#line 719 "src/mongo/db/cst/grammar.yy"
+ case 89: // predValue: "object" compoundMatchExprs "end of object"
+#line 731 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
}
-#line 2944 "src/mongo/db/cst/parser_gen.cpp"
+#line 2963 "parser_gen.cpp"
break;
- case 90:
-#line 725 "src/mongo/db/cst/grammar.yy"
+ case 90: // compoundMatchExprs: %empty
+#line 737 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode::noopLeaf();
}
-#line 2952 "src/mongo/db/cst/parser_gen.cpp"
+#line 2971 "parser_gen.cpp"
break;
- case 91:
-#line 728 "src/mongo/db/cst/grammar.yy"
+ case 91: // compoundMatchExprs: compoundMatchExprs operatorExpression
+#line 740 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 2961 "src/mongo/db/cst/parser_gen.cpp"
+#line 2980 "parser_gen.cpp"
break;
- case 92:
-#line 736 "src/mongo/db/cst/grammar.yy"
+ case 92: // operatorExpression: notExpr
+#line 748 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2967 "src/mongo/db/cst/parser_gen.cpp"
+#line 2986 "parser_gen.cpp"
break;
- case 93:
-#line 736 "src/mongo/db/cst/grammar.yy"
+ case 93: // operatorExpression: existsExpr
+#line 748 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2973 "src/mongo/db/cst/parser_gen.cpp"
+#line 2992 "parser_gen.cpp"
break;
- case 94:
-#line 736 "src/mongo/db/cst/grammar.yy"
+ case 94: // operatorExpression: typeExpr
+#line 748 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2979 "src/mongo/db/cst/parser_gen.cpp"
+#line 2998 "parser_gen.cpp"
break;
- case 95:
-#line 736 "src/mongo/db/cst/grammar.yy"
+ case 95: // operatorExpression: matchMod
+#line 748 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>());
}
-#line 2985 "src/mongo/db/cst/parser_gen.cpp"
+#line 3004 "parser_gen.cpp"
break;
- case 96:
-#line 740 "src/mongo/db/cst/grammar.yy"
+ case 96: // existsExpr: EXISTS value
+#line 752 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::existsExpr, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 2993 "src/mongo/db/cst/parser_gen.cpp"
+#line 3012 "parser_gen.cpp"
break;
- case 97:
-#line 746 "src/mongo/db/cst/grammar.yy"
+ case 97: // typeArray: "array" typeValues "end of array"
+#line 758 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{YY_MOVE(yystack_[1].value.as<std::vector<CNode>>())};
}
-#line 3001 "src/mongo/db/cst/parser_gen.cpp"
+#line 3020 "parser_gen.cpp"
break;
- case 98:
-#line 752 "src/mongo/db/cst/grammar.yy"
+ case 98: // typeValues: %empty
+#line 764 "grammar.yy"
{
}
-#line 3007 "src/mongo/db/cst/parser_gen.cpp"
+#line 3026 "parser_gen.cpp"
break;
- case 99:
-#line 753 "src/mongo/db/cst/grammar.yy"
+ case 99: // typeValues: typeValues typeValue
+#line 765 "grammar.yy"
{
yylhs.value.as<std::vector<CNode>>() =
YY_MOVE(yystack_[1].value.as<std::vector<CNode>>());
yylhs.value.as<std::vector<CNode>>().emplace_back(
YY_MOVE(yystack_[0].value.as<CNode>()));
}
-#line 3016 "src/mongo/db/cst/parser_gen.cpp"
+#line 3035 "parser_gen.cpp"
break;
- case 100:
-#line 760 "src/mongo/db/cst/grammar.yy"
+ case 100: // typeValue: num
+#line 772 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 3022 "src/mongo/db/cst/parser_gen.cpp"
+#line 3041 "parser_gen.cpp"
break;
- case 101:
-#line 760 "src/mongo/db/cst/grammar.yy"
+ case 101: // typeValue: string
+#line 772 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 3028 "src/mongo/db/cst/parser_gen.cpp"
+#line 3047 "parser_gen.cpp"
break;
- case 102:
-#line 764 "src/mongo/db/cst/grammar.yy"
+ case 102: // typeExpr: TYPE typeValue
+#line 776 "grammar.yy"
{
auto&& type = YY_MOVE(yystack_[0].value.as<CNode>());
if (auto status = c_node_validation::validateTypeOperatorArgument(type);
@@ -3119,11 +3153,11 @@ int ParserGen::parse() {
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::type, std::move(type)};
}
-#line 3042 "src/mongo/db/cst/parser_gen.cpp"
+#line 3061 "parser_gen.cpp"
break;
- case 103:
-#line 773 "src/mongo/db/cst/grammar.yy"
+ case 103: // typeExpr: TYPE typeArray
+#line 785 "grammar.yy"
{
auto&& types = YY_MOVE(yystack_[0].value.as<CNode>());
if (auto status = c_node_validation::validateTypeOperatorArgument(types);
@@ -3133,29 +3167,30 @@ int ParserGen::parse() {
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::type, std::move(types)};
}
-#line 3054 "src/mongo/db/cst/parser_gen.cpp"
+#line 3073 "parser_gen.cpp"
break;
- case 104:
-#line 783 "src/mongo/db/cst/grammar.yy"
+ case 104: // commentExpr: COMMENT value
+#line 795 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::commentExpr, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 3062 "src/mongo/db/cst/parser_gen.cpp"
+#line 3081 "parser_gen.cpp"
break;
- case 105:
-#line 789 "src/mongo/db/cst/grammar.yy"
+ case 105: // notExpr: NOT regex
+#line 801 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::notExpr, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 3070 "src/mongo/db/cst/parser_gen.cpp"
+#line 3089 "parser_gen.cpp"
break;
- case 106:
-#line 794 "src/mongo/db/cst/grammar.yy"
+ case 106: // notExpr: NOT "object" compoundMatchExprs operatorExpression "end
+ // of object"
+#line 806 "grammar.yy"
{
auto&& exprs = YY_MOVE(yystack_[2].value.as<CNode>());
exprs.objectChildren().emplace_back(
@@ -3164,11 +3199,11 @@ int ParserGen::parse() {
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::notExpr, std::move(exprs)};
}
-#line 3081 "src/mongo/db/cst/parser_gen.cpp"
+#line 3100 "parser_gen.cpp"
break;
- case 107:
-#line 803 "src/mongo/db/cst/grammar.yy"
+ case 107: // matchMod: MOD "array" num num "end of array"
+#line 815 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
KeyFieldname::matchMod,
@@ -3177,11 +3212,12 @@ int ParserGen::parse() {
YY_MOVE(yystack_[1].value.as<CNode>()),
}}};
}
-#line 3092 "src/mongo/db/cst/parser_gen.cpp"
+#line 3111 "parser_gen.cpp"
break;
- case 108:
-#line 813 "src/mongo/db/cst/grammar.yy"
+ case 108: // logicalExpr: logicalExprField "array" additionalExprs
+ // matchExpression "end of array"
+#line 825 "grammar.yy"
{
auto&& children = YY_MOVE(yystack_[2].value.as<CNode>());
children.arrayChildren().emplace_back(
@@ -3189,98 +3225,100 @@ int ParserGen::parse() {
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[4].value.as<CNode::Fieldname>()), std::move(children)};
}
-#line 3102 "src/mongo/db/cst/parser_gen.cpp"
+#line 3121 "parser_gen.cpp"
break;
- case 109:
-#line 821 "src/mongo/db/cst/grammar.yy"
+ case 109: // logicalExprField: AND
+#line 833 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = KeyFieldname::andExpr;
}
-#line 3108 "src/mongo/db/cst/parser_gen.cpp"
+#line 3127 "parser_gen.cpp"
break;
- case 110:
-#line 822 "src/mongo/db/cst/grammar.yy"
+ case 110: // logicalExprField: OR
+#line 834 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = KeyFieldname::orExpr;
}
-#line 3114 "src/mongo/db/cst/parser_gen.cpp"
+#line 3133 "parser_gen.cpp"
break;
- case 111:
-#line 823 "src/mongo/db/cst/grammar.yy"
+ case 111: // logicalExprField: NOR
+#line 835 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = KeyFieldname::norExpr;
}
-#line 3120 "src/mongo/db/cst/parser_gen.cpp"
+#line 3139 "parser_gen.cpp"
break;
- case 112:
-#line 826 "src/mongo/db/cst/grammar.yy"
+ case 112: // additionalExprs: %empty
+#line 838 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ArrayChildren{}};
}
-#line 3128 "src/mongo/db/cst/parser_gen.cpp"
+#line 3147 "parser_gen.cpp"
break;
- case 113:
-#line 829 "src/mongo/db/cst/grammar.yy"
+ case 113: // additionalExprs: additionalExprs matchExpression
+#line 841 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().arrayChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<CNode>()));
}
-#line 3137 "src/mongo/db/cst/parser_gen.cpp"
+#line 3156 "parser_gen.cpp"
break;
- case 114:
-#line 836 "src/mongo/db/cst/grammar.yy"
+ case 114: // predFieldname: idAsUserFieldname
+#line 848 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 3143 "src/mongo/db/cst/parser_gen.cpp"
+#line 3162 "parser_gen.cpp"
break;
- case 115:
-#line 836 "src/mongo/db/cst/grammar.yy"
+ case 115: // predFieldname: argAsUserFieldname
+#line 848 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 3149 "src/mongo/db/cst/parser_gen.cpp"
+#line 3168 "parser_gen.cpp"
break;
- case 116:
-#line 836 "src/mongo/db/cst/grammar.yy"
+ case 116: // predFieldname: invariableUserFieldname
+#line 848 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 3155 "src/mongo/db/cst/parser_gen.cpp"
+#line 3174 "parser_gen.cpp"
break;
- case 117:
-#line 839 "src/mongo/db/cst/grammar.yy"
+ case 117: // invariableUserFieldname: "fieldname"
+#line 851 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
UserFieldname{YY_MOVE(yystack_[0].value.as<std::string>())};
}
-#line 3163 "src/mongo/db/cst/parser_gen.cpp"
+#line 3182 "parser_gen.cpp"
break;
- case 118:
-#line 845 "src/mongo/db/cst/grammar.yy"
+ case 118: // matchExpr: EXPR expression
+#line 857 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
KeyFieldname::expr, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 3171 "src/mongo/db/cst/parser_gen.cpp"
+#line 3190 "parser_gen.cpp"
break;
- case 119:
-#line 857 "src/mongo/db/cst/grammar.yy"
+ case 119: // matchText: TEXT START_ORDERED_OBJECT textArgCaseSensitive
+ // textArgDiacriticSensitive textArgLanguage textArgSearch "end of
+ // object"
+#line 869 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
KeyFieldname::text,
@@ -3293,151 +3331,151 @@ int ParserGen::parse() {
{KeyFieldname::search, YY_MOVE(yystack_[1].value.as<CNode>())},
}}};
}
-#line 3187 "src/mongo/db/cst/parser_gen.cpp"
+#line 3206 "parser_gen.cpp"
break;
- case 120:
-#line 870 "src/mongo/db/cst/grammar.yy"
+ case 120: // textArgCaseSensitive: %empty
+#line 882 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::absentKey};
}
-#line 3195 "src/mongo/db/cst/parser_gen.cpp"
+#line 3214 "parser_gen.cpp"
break;
- case 121:
-#line 873 "src/mongo/db/cst/grammar.yy"
+ case 121: // textArgCaseSensitive: "$caseSensitive argument" bool
+#line 885 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 3203 "src/mongo/db/cst/parser_gen.cpp"
+#line 3222 "parser_gen.cpp"
break;
- case 122:
-#line 878 "src/mongo/db/cst/grammar.yy"
+ case 122: // textArgDiacriticSensitive: %empty
+#line 890 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::absentKey};
}
-#line 3211 "src/mongo/db/cst/parser_gen.cpp"
+#line 3230 "parser_gen.cpp"
break;
- case 123:
-#line 881 "src/mongo/db/cst/grammar.yy"
+ case 123: // textArgDiacriticSensitive: "$diacriticSensitive argument" bool
+#line 893 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 3219 "src/mongo/db/cst/parser_gen.cpp"
+#line 3238 "parser_gen.cpp"
break;
- case 124:
-#line 886 "src/mongo/db/cst/grammar.yy"
+ case 124: // textArgLanguage: %empty
+#line 898 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::absentKey};
}
-#line 3227 "src/mongo/db/cst/parser_gen.cpp"
+#line 3246 "parser_gen.cpp"
break;
- case 125:
-#line 889 "src/mongo/db/cst/grammar.yy"
+ case 125: // textArgLanguage: "$language argument" string
+#line 901 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 3235 "src/mongo/db/cst/parser_gen.cpp"
+#line 3254 "parser_gen.cpp"
break;
- case 126:
-#line 894 "src/mongo/db/cst/grammar.yy"
+ case 126: // textArgSearch: "$search argument" string
+#line 906 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 3243 "src/mongo/db/cst/parser_gen.cpp"
+#line 3262 "parser_gen.cpp"
break;
- case 127:
-#line 900 "src/mongo/db/cst/grammar.yy"
+ case 127: // matchWhere: WHERE string
+#line 912 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
KeyFieldname::where, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 3249 "src/mongo/db/cst/parser_gen.cpp"
+#line 3268 "parser_gen.cpp"
break;
- case 128:
-#line 901 "src/mongo/db/cst/grammar.yy"
+ case 128: // matchWhere: WHERE javascript
+#line 913 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
KeyFieldname::where, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 3255 "src/mongo/db/cst/parser_gen.cpp"
+#line 3274 "parser_gen.cpp"
break;
- case 129:
-#line 907 "src/mongo/db/cst/grammar.yy"
+ case 129: // stageAsUserFieldname: STAGE_INHIBIT_OPTIMIZATION
+#line 919 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
UserFieldname{"$_internalInhibitOptimization"};
}
-#line 3263 "src/mongo/db/cst/parser_gen.cpp"
+#line 3282 "parser_gen.cpp"
break;
- case 130:
-#line 910 "src/mongo/db/cst/grammar.yy"
+ case 130: // stageAsUserFieldname: STAGE_UNION_WITH
+#line 922 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$unionWith"};
}
-#line 3271 "src/mongo/db/cst/parser_gen.cpp"
+#line 3290 "parser_gen.cpp"
break;
- case 131:
-#line 913 "src/mongo/db/cst/grammar.yy"
+ case 131: // stageAsUserFieldname: STAGE_SKIP
+#line 925 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$skip"};
}
-#line 3279 "src/mongo/db/cst/parser_gen.cpp"
+#line 3298 "parser_gen.cpp"
break;
- case 132:
-#line 916 "src/mongo/db/cst/grammar.yy"
+ case 132: // stageAsUserFieldname: STAGE_LIMIT
+#line 928 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$limit"};
}
-#line 3287 "src/mongo/db/cst/parser_gen.cpp"
+#line 3306 "parser_gen.cpp"
break;
- case 133:
-#line 919 "src/mongo/db/cst/grammar.yy"
+ case 133: // stageAsUserFieldname: STAGE_MATCH
+#line 931 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$match"};
}
-#line 3295 "src/mongo/db/cst/parser_gen.cpp"
+#line 3314 "parser_gen.cpp"
break;
- case 134:
-#line 922 "src/mongo/db/cst/grammar.yy"
+ case 134: // stageAsUserFieldname: STAGE_PROJECT
+#line 934 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$project"};
}
-#line 3303 "src/mongo/db/cst/parser_gen.cpp"
+#line 3322 "parser_gen.cpp"
break;
- case 135:
-#line 925 "src/mongo/db/cst/grammar.yy"
+ case 135: // stageAsUserFieldname: STAGE_SAMPLE
+#line 937 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$sample"};
}
-#line 3311 "src/mongo/db/cst/parser_gen.cpp"
+#line 3330 "parser_gen.cpp"
break;
- case 136:
-#line 931 "src/mongo/db/cst/grammar.yy"
+ case 136: // argAsUserFieldname: arg
+#line 943 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
UserFieldname{YY_MOVE(yystack_[0].value.as<std::string>())};
}
-#line 3319 "src/mongo/db/cst/parser_gen.cpp"
+#line 3338 "parser_gen.cpp"
break;
- case 137:
-#line 937 "src/mongo/db/cst/grammar.yy"
+ case 137: // argAsProjectionPath: arg
+#line 949 "grammar.yy"
{
auto components =
makeVector<std::string>(YY_MOVE(yystack_[0].value.as<std::string>()));
@@ -3451,1132 +3489,1212 @@ int ParserGen::parse() {
else
error(yystack_[0].location, positional.getStatus().reason());
}
-#line 3334 "src/mongo/db/cst/parser_gen.cpp"
+#line 3353 "parser_gen.cpp"
break;
- case 138:
-#line 953 "src/mongo/db/cst/grammar.yy"
+ case 138: // arg: "coll argument"
+#line 965 "grammar.yy"
{
yylhs.value.as<std::string>() = "coll";
}
-#line 3342 "src/mongo/db/cst/parser_gen.cpp"
+#line 3361 "parser_gen.cpp"
break;
- case 139:
-#line 956 "src/mongo/db/cst/grammar.yy"
+ case 139: // arg: "pipeline argument"
+#line 968 "grammar.yy"
{
yylhs.value.as<std::string>() = "pipeline";
}
-#line 3350 "src/mongo/db/cst/parser_gen.cpp"
+#line 3369 "parser_gen.cpp"
break;
- case 140:
-#line 959 "src/mongo/db/cst/grammar.yy"
+ case 140: // arg: "size argument"
+#line 971 "grammar.yy"
{
yylhs.value.as<std::string>() = "size";
}
-#line 3358 "src/mongo/db/cst/parser_gen.cpp"
+#line 3377 "parser_gen.cpp"
break;
- case 141:
-#line 962 "src/mongo/db/cst/grammar.yy"
+ case 141: // arg: "input argument"
+#line 974 "grammar.yy"
{
yylhs.value.as<std::string>() = "input";
}
-#line 3366 "src/mongo/db/cst/parser_gen.cpp"
+#line 3385 "parser_gen.cpp"
break;
- case 142:
-#line 965 "src/mongo/db/cst/grammar.yy"
+ case 142: // arg: "to argument"
+#line 977 "grammar.yy"
{
yylhs.value.as<std::string>() = "to";
}
-#line 3374 "src/mongo/db/cst/parser_gen.cpp"
+#line 3393 "parser_gen.cpp"
break;
- case 143:
-#line 968 "src/mongo/db/cst/grammar.yy"
+ case 143: // arg: "onError argument"
+#line 980 "grammar.yy"
{
yylhs.value.as<std::string>() = "onError";
}
-#line 3382 "src/mongo/db/cst/parser_gen.cpp"
+#line 3401 "parser_gen.cpp"
break;
- case 144:
-#line 971 "src/mongo/db/cst/grammar.yy"
+ case 144: // arg: "onNull argument"
+#line 983 "grammar.yy"
{
yylhs.value.as<std::string>() = "onNull";
}
-#line 3390 "src/mongo/db/cst/parser_gen.cpp"
+#line 3409 "parser_gen.cpp"
break;
- case 145:
-#line 974 "src/mongo/db/cst/grammar.yy"
+ case 145: // arg: "dateString argument"
+#line 986 "grammar.yy"
{
yylhs.value.as<std::string>() = "dateString";
}
-#line 3398 "src/mongo/db/cst/parser_gen.cpp"
+#line 3417 "parser_gen.cpp"
break;
- case 146:
-#line 977 "src/mongo/db/cst/grammar.yy"
+ case 146: // arg: "format argument"
+#line 989 "grammar.yy"
{
yylhs.value.as<std::string>() = "format";
}
-#line 3406 "src/mongo/db/cst/parser_gen.cpp"
+#line 3425 "parser_gen.cpp"
break;
- case 147:
-#line 980 "src/mongo/db/cst/grammar.yy"
+ case 147: // arg: "timezone argument"
+#line 992 "grammar.yy"
{
yylhs.value.as<std::string>() = "timezone";
}
-#line 3414 "src/mongo/db/cst/parser_gen.cpp"
+#line 3433 "parser_gen.cpp"
break;
- case 148:
-#line 983 "src/mongo/db/cst/grammar.yy"
+ case 148: // arg: "date argument"
+#line 995 "grammar.yy"
{
yylhs.value.as<std::string>() = "date";
}
-#line 3422 "src/mongo/db/cst/parser_gen.cpp"
+#line 3441 "parser_gen.cpp"
break;
- case 149:
-#line 986 "src/mongo/db/cst/grammar.yy"
+ case 149: // arg: "chars argument"
+#line 998 "grammar.yy"
{
yylhs.value.as<std::string>() = "chars";
}
-#line 3430 "src/mongo/db/cst/parser_gen.cpp"
+#line 3449 "parser_gen.cpp"
break;
- case 150:
-#line 989 "src/mongo/db/cst/grammar.yy"
+ case 150: // arg: "regex argument"
+#line 1001 "grammar.yy"
{
yylhs.value.as<std::string>() = "regex";
}
-#line 3438 "src/mongo/db/cst/parser_gen.cpp"
+#line 3457 "parser_gen.cpp"
break;
- case 151:
-#line 992 "src/mongo/db/cst/grammar.yy"
+ case 151: // arg: "options argument"
+#line 1004 "grammar.yy"
{
yylhs.value.as<std::string>() = "options";
}
-#line 3446 "src/mongo/db/cst/parser_gen.cpp"
+#line 3465 "parser_gen.cpp"
break;
- case 152:
-#line 995 "src/mongo/db/cst/grammar.yy"
+ case 152: // arg: "find argument"
+#line 1007 "grammar.yy"
{
yylhs.value.as<std::string>() = "find";
}
-#line 3454 "src/mongo/db/cst/parser_gen.cpp"
+#line 3473 "parser_gen.cpp"
break;
- case 153:
-#line 998 "src/mongo/db/cst/grammar.yy"
+ case 153: // arg: "replacement argument"
+#line 1010 "grammar.yy"
{
yylhs.value.as<std::string>() = "replacement";
}
-#line 3462 "src/mongo/db/cst/parser_gen.cpp"
+#line 3481 "parser_gen.cpp"
break;
- case 154:
-#line 1001 "src/mongo/db/cst/grammar.yy"
+ case 154: // arg: "hour argument"
+#line 1013 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"hour"};
}
-#line 3470 "src/mongo/db/cst/parser_gen.cpp"
+#line 3489 "parser_gen.cpp"
break;
- case 155:
-#line 1004 "src/mongo/db/cst/grammar.yy"
+ case 155: // arg: "year argument"
+#line 1016 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"year"};
}
-#line 3478 "src/mongo/db/cst/parser_gen.cpp"
+#line 3497 "parser_gen.cpp"
break;
- case 156:
-#line 1007 "src/mongo/db/cst/grammar.yy"
+ case 156: // arg: "minute argument"
+#line 1019 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"minute"};
}
-#line 3486 "src/mongo/db/cst/parser_gen.cpp"
+#line 3505 "parser_gen.cpp"
break;
- case 157:
-#line 1010 "src/mongo/db/cst/grammar.yy"
+ case 157: // arg: "second argument"
+#line 1022 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"second"};
}
-#line 3494 "src/mongo/db/cst/parser_gen.cpp"
+#line 3513 "parser_gen.cpp"
break;
- case 158:
-#line 1013 "src/mongo/db/cst/grammar.yy"
+ case 158: // arg: "millisecond argument"
+#line 1025 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"millisecond"};
}
-#line 3502 "src/mongo/db/cst/parser_gen.cpp"
+#line 3521 "parser_gen.cpp"
break;
- case 159:
-#line 1016 "src/mongo/db/cst/grammar.yy"
+ case 159: // arg: "day argument"
+#line 1028 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"day"};
}
-#line 3510 "src/mongo/db/cst/parser_gen.cpp"
+#line 3529 "parser_gen.cpp"
break;
- case 160:
-#line 1019 "src/mongo/db/cst/grammar.yy"
+ case 160: // arg: "ISO day of week argument"
+#line 1031 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"isoDayOfWeek"};
}
-#line 3518 "src/mongo/db/cst/parser_gen.cpp"
+#line 3537 "parser_gen.cpp"
break;
- case 161:
-#line 1022 "src/mongo/db/cst/grammar.yy"
+ case 161: // arg: "ISO week argument"
+#line 1034 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"isoWeek"};
}
-#line 3526 "src/mongo/db/cst/parser_gen.cpp"
+#line 3545 "parser_gen.cpp"
break;
- case 162:
-#line 1025 "src/mongo/db/cst/grammar.yy"
+ case 162: // arg: "ISO week year argument"
+#line 1037 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"isoWeekYear"};
}
-#line 3534 "src/mongo/db/cst/parser_gen.cpp"
+#line 3553 "parser_gen.cpp"
break;
- case 163:
-#line 1028 "src/mongo/db/cst/grammar.yy"
+ case 163: // arg: "ISO 8601 argument"
+#line 1040 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"iso8601"};
}
-#line 3542 "src/mongo/db/cst/parser_gen.cpp"
+#line 3561 "parser_gen.cpp"
break;
- case 164:
-#line 1031 "src/mongo/db/cst/grammar.yy"
+ case 164: // arg: "month argument"
+#line 1043 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"month"};
}
-#line 3550 "src/mongo/db/cst/parser_gen.cpp"
+#line 3569 "parser_gen.cpp"
break;
- case 165:
-#line 1034 "src/mongo/db/cst/grammar.yy"
+ case 165: // arg: "$search argument"
+#line 1046 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"$search"};
}
-#line 3558 "src/mongo/db/cst/parser_gen.cpp"
+#line 3577 "parser_gen.cpp"
break;
- case 166:
-#line 1037 "src/mongo/db/cst/grammar.yy"
+ case 166: // arg: "$language argument"
+#line 1049 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"$language"};
}
-#line 3566 "src/mongo/db/cst/parser_gen.cpp"
+#line 3585 "parser_gen.cpp"
break;
- case 167:
-#line 1040 "src/mongo/db/cst/grammar.yy"
+ case 167: // arg: "$caseSensitive argument"
+#line 1052 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"$caseSensitive"};
}
-#line 3574 "src/mongo/db/cst/parser_gen.cpp"
+#line 3593 "parser_gen.cpp"
break;
- case 168:
-#line 1043 "src/mongo/db/cst/grammar.yy"
+ case 168: // arg: "$diacriticSensitive argument"
+#line 1055 "grammar.yy"
{
yylhs.value.as<std::string>() = UserFieldname{"$diacriticSensitive"};
}
-#line 3582 "src/mongo/db/cst/parser_gen.cpp"
+#line 3601 "parser_gen.cpp"
+ break;
+
+ case 169: // arg: "as argument"
+#line 1058 "grammar.yy"
+ {
+ yylhs.value.as<std::string>() = UserFieldname{"as"};
+ }
+#line 3609 "parser_gen.cpp"
break;
- case 169:
-#line 1051 "src/mongo/db/cst/grammar.yy"
+ case 170: // arg: "cond argument"
+#line 1061 "grammar.yy"
+ {
+ yylhs.value.as<std::string>() = UserFieldname{"cond"};
+ }
+#line 3617 "parser_gen.cpp"
+ break;
+
+ case 171: // aggExprAsUserFieldname: ADD
+#line 1069 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$add"};
}
-#line 3590 "src/mongo/db/cst/parser_gen.cpp"
+#line 3625 "parser_gen.cpp"
break;
- case 170:
-#line 1054 "src/mongo/db/cst/grammar.yy"
+ case 172: // aggExprAsUserFieldname: ATAN2
+#line 1072 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$atan2"};
}
-#line 3598 "src/mongo/db/cst/parser_gen.cpp"
+#line 3633 "parser_gen.cpp"
break;
- case 171:
-#line 1057 "src/mongo/db/cst/grammar.yy"
+ case 173: // aggExprAsUserFieldname: AND
+#line 1075 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$and"};
}
-#line 3606 "src/mongo/db/cst/parser_gen.cpp"
+#line 3641 "parser_gen.cpp"
break;
- case 172:
-#line 1060 "src/mongo/db/cst/grammar.yy"
+ case 174: // aggExprAsUserFieldname: CONST_EXPR
+#line 1078 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$const"};
}
-#line 3614 "src/mongo/db/cst/parser_gen.cpp"
+#line 3649 "parser_gen.cpp"
break;
- case 173:
-#line 1063 "src/mongo/db/cst/grammar.yy"
+ case 175: // aggExprAsUserFieldname: LITERAL
+#line 1081 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$literal"};
}
-#line 3622 "src/mongo/db/cst/parser_gen.cpp"
+#line 3657 "parser_gen.cpp"
break;
- case 174:
-#line 1066 "src/mongo/db/cst/grammar.yy"
+ case 176: // aggExprAsUserFieldname: OR
+#line 1084 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$or"};
}
-#line 3630 "src/mongo/db/cst/parser_gen.cpp"
+#line 3665 "parser_gen.cpp"
break;
- case 175:
-#line 1069 "src/mongo/db/cst/grammar.yy"
+ case 177: // aggExprAsUserFieldname: NOT
+#line 1087 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$not"};
}
-#line 3638 "src/mongo/db/cst/parser_gen.cpp"
+#line 3673 "parser_gen.cpp"
break;
- case 176:
-#line 1072 "src/mongo/db/cst/grammar.yy"
+ case 178: // aggExprAsUserFieldname: CMP
+#line 1090 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$cmp"};
}
-#line 3646 "src/mongo/db/cst/parser_gen.cpp"
+#line 3681 "parser_gen.cpp"
break;
- case 177:
-#line 1075 "src/mongo/db/cst/grammar.yy"
+ case 179: // aggExprAsUserFieldname: EQ
+#line 1093 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$eq"};
}
-#line 3654 "src/mongo/db/cst/parser_gen.cpp"
+#line 3689 "parser_gen.cpp"
break;
- case 178:
-#line 1078 "src/mongo/db/cst/grammar.yy"
+ case 180: // aggExprAsUserFieldname: GT
+#line 1096 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$gt"};
}
-#line 3662 "src/mongo/db/cst/parser_gen.cpp"
+#line 3697 "parser_gen.cpp"
break;
- case 179:
-#line 1081 "src/mongo/db/cst/grammar.yy"
+ case 181: // aggExprAsUserFieldname: GTE
+#line 1099 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$gte"};
}
-#line 3670 "src/mongo/db/cst/parser_gen.cpp"
+#line 3705 "parser_gen.cpp"
break;
- case 180:
-#line 1084 "src/mongo/db/cst/grammar.yy"
+ case 182: // aggExprAsUserFieldname: LT
+#line 1102 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$lt"};
}
-#line 3678 "src/mongo/db/cst/parser_gen.cpp"
+#line 3713 "parser_gen.cpp"
break;
- case 181:
-#line 1087 "src/mongo/db/cst/grammar.yy"
+ case 183: // aggExprAsUserFieldname: LTE
+#line 1105 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$lte"};
}
-#line 3686 "src/mongo/db/cst/parser_gen.cpp"
+#line 3721 "parser_gen.cpp"
break;
- case 182:
-#line 1090 "src/mongo/db/cst/grammar.yy"
+ case 184: // aggExprAsUserFieldname: NE
+#line 1108 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$ne"};
}
-#line 3694 "src/mongo/db/cst/parser_gen.cpp"
+#line 3729 "parser_gen.cpp"
break;
- case 183:
-#line 1093 "src/mongo/db/cst/grammar.yy"
+ case 185: // aggExprAsUserFieldname: CONVERT
+#line 1111 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$convert"};
}
-#line 3702 "src/mongo/db/cst/parser_gen.cpp"
+#line 3737 "parser_gen.cpp"
break;
- case 184:
-#line 1096 "src/mongo/db/cst/grammar.yy"
+ case 186: // aggExprAsUserFieldname: TO_BOOL
+#line 1114 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toBool"};
}
-#line 3710 "src/mongo/db/cst/parser_gen.cpp"
+#line 3745 "parser_gen.cpp"
break;
- case 185:
-#line 1099 "src/mongo/db/cst/grammar.yy"
+ case 187: // aggExprAsUserFieldname: TO_DATE
+#line 1117 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toDate"};
}
-#line 3718 "src/mongo/db/cst/parser_gen.cpp"
+#line 3753 "parser_gen.cpp"
break;
- case 186:
-#line 1102 "src/mongo/db/cst/grammar.yy"
+ case 188: // aggExprAsUserFieldname: TO_DECIMAL
+#line 1120 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toDecimal"};
}
-#line 3726 "src/mongo/db/cst/parser_gen.cpp"
+#line 3761 "parser_gen.cpp"
break;
- case 187:
-#line 1105 "src/mongo/db/cst/grammar.yy"
+ case 189: // aggExprAsUserFieldname: TO_DOUBLE
+#line 1123 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toDouble"};
}
-#line 3734 "src/mongo/db/cst/parser_gen.cpp"
+#line 3769 "parser_gen.cpp"
break;
- case 188:
-#line 1108 "src/mongo/db/cst/grammar.yy"
+ case 190: // aggExprAsUserFieldname: TO_INT
+#line 1126 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toInt"};
}
-#line 3742 "src/mongo/db/cst/parser_gen.cpp"
+#line 3777 "parser_gen.cpp"
break;
- case 189:
-#line 1111 "src/mongo/db/cst/grammar.yy"
+ case 191: // aggExprAsUserFieldname: TO_LONG
+#line 1129 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toLong"};
}
-#line 3750 "src/mongo/db/cst/parser_gen.cpp"
+#line 3785 "parser_gen.cpp"
break;
- case 190:
-#line 1114 "src/mongo/db/cst/grammar.yy"
+ case 192: // aggExprAsUserFieldname: TO_OBJECT_ID
+#line 1132 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toObjectId"};
}
-#line 3758 "src/mongo/db/cst/parser_gen.cpp"
+#line 3793 "parser_gen.cpp"
break;
- case 191:
-#line 1117 "src/mongo/db/cst/grammar.yy"
+ case 193: // aggExprAsUserFieldname: TO_STRING
+#line 1135 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toString"};
}
-#line 3766 "src/mongo/db/cst/parser_gen.cpp"
+#line 3801 "parser_gen.cpp"
break;
- case 192:
-#line 1120 "src/mongo/db/cst/grammar.yy"
+ case 194: // aggExprAsUserFieldname: TYPE
+#line 1138 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$type"};
}
-#line 3774 "src/mongo/db/cst/parser_gen.cpp"
+#line 3809 "parser_gen.cpp"
break;
- case 193:
-#line 1123 "src/mongo/db/cst/grammar.yy"
+ case 195: // aggExprAsUserFieldname: ABS
+#line 1141 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$abs"};
}
-#line 3782 "src/mongo/db/cst/parser_gen.cpp"
+#line 3817 "parser_gen.cpp"
break;
- case 194:
-#line 1126 "src/mongo/db/cst/grammar.yy"
+ case 196: // aggExprAsUserFieldname: CEIL
+#line 1144 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$ceil"};
}
-#line 3790 "src/mongo/db/cst/parser_gen.cpp"
+#line 3825 "parser_gen.cpp"
break;
- case 195:
-#line 1129 "src/mongo/db/cst/grammar.yy"
+ case 197: // aggExprAsUserFieldname: DIVIDE
+#line 1147 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$divide"};
}
-#line 3798 "src/mongo/db/cst/parser_gen.cpp"
+#line 3833 "parser_gen.cpp"
break;
- case 196:
-#line 1132 "src/mongo/db/cst/grammar.yy"
+ case 198: // aggExprAsUserFieldname: EXPONENT
+#line 1150 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$exp"};
}
-#line 3806 "src/mongo/db/cst/parser_gen.cpp"
+#line 3841 "parser_gen.cpp"
break;
- case 197:
-#line 1135 "src/mongo/db/cst/grammar.yy"
+ case 199: // aggExprAsUserFieldname: FLOOR
+#line 1153 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$floor"};
}
-#line 3814 "src/mongo/db/cst/parser_gen.cpp"
+#line 3849 "parser_gen.cpp"
break;
- case 198:
-#line 1138 "src/mongo/db/cst/grammar.yy"
+ case 200: // aggExprAsUserFieldname: LN
+#line 1156 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$ln"};
}
-#line 3822 "src/mongo/db/cst/parser_gen.cpp"
+#line 3857 "parser_gen.cpp"
break;
- case 199:
-#line 1141 "src/mongo/db/cst/grammar.yy"
+ case 201: // aggExprAsUserFieldname: LOG
+#line 1159 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$log"};
}
-#line 3830 "src/mongo/db/cst/parser_gen.cpp"
+#line 3865 "parser_gen.cpp"
break;
- case 200:
-#line 1144 "src/mongo/db/cst/grammar.yy"
+ case 202: // aggExprAsUserFieldname: LOGTEN
+#line 1162 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$log10"};
}
-#line 3838 "src/mongo/db/cst/parser_gen.cpp"
+#line 3873 "parser_gen.cpp"
break;
- case 201:
-#line 1147 "src/mongo/db/cst/grammar.yy"
+ case 203: // aggExprAsUserFieldname: MOD
+#line 1165 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$mod"};
}
-#line 3846 "src/mongo/db/cst/parser_gen.cpp"
+#line 3881 "parser_gen.cpp"
break;
- case 202:
-#line 1150 "src/mongo/db/cst/grammar.yy"
+ case 204: // aggExprAsUserFieldname: MULTIPLY
+#line 1168 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$multiply"};
}
-#line 3854 "src/mongo/db/cst/parser_gen.cpp"
+#line 3889 "parser_gen.cpp"
break;
- case 203:
-#line 1153 "src/mongo/db/cst/grammar.yy"
+ case 205: // aggExprAsUserFieldname: POW
+#line 1171 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$pow"};
}
-#line 3862 "src/mongo/db/cst/parser_gen.cpp"
+#line 3897 "parser_gen.cpp"
break;
- case 204:
-#line 1156 "src/mongo/db/cst/grammar.yy"
+ case 206: // aggExprAsUserFieldname: ROUND
+#line 1174 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$round"};
}
-#line 3870 "src/mongo/db/cst/parser_gen.cpp"
+#line 3905 "parser_gen.cpp"
break;
- case 205:
-#line 1159 "src/mongo/db/cst/grammar.yy"
+ case 207: // aggExprAsUserFieldname: "slice"
+#line 1177 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$slice"};
}
-#line 3878 "src/mongo/db/cst/parser_gen.cpp"
+#line 3913 "parser_gen.cpp"
break;
- case 206:
-#line 1162 "src/mongo/db/cst/grammar.yy"
+ case 208: // aggExprAsUserFieldname: SQRT
+#line 1180 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$sqrt"};
}
-#line 3886 "src/mongo/db/cst/parser_gen.cpp"
+#line 3921 "parser_gen.cpp"
break;
- case 207:
-#line 1165 "src/mongo/db/cst/grammar.yy"
+ case 209: // aggExprAsUserFieldname: SUBTRACT
+#line 1183 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$subtract"};
}
-#line 3894 "src/mongo/db/cst/parser_gen.cpp"
+#line 3929 "parser_gen.cpp"
break;
- case 208:
-#line 1168 "src/mongo/db/cst/grammar.yy"
+ case 210: // aggExprAsUserFieldname: TRUNC
+#line 1186 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$trunc"};
}
-#line 3902 "src/mongo/db/cst/parser_gen.cpp"
+#line 3937 "parser_gen.cpp"
break;
- case 209:
-#line 1171 "src/mongo/db/cst/grammar.yy"
+ case 211: // aggExprAsUserFieldname: CONCAT
+#line 1189 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$concat"};
}
-#line 3910 "src/mongo/db/cst/parser_gen.cpp"
+#line 3945 "parser_gen.cpp"
break;
- case 210:
-#line 1174 "src/mongo/db/cst/grammar.yy"
+ case 212: // aggExprAsUserFieldname: DATE_FROM_PARTS
+#line 1192 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$dateFromParts"};
}
-#line 3918 "src/mongo/db/cst/parser_gen.cpp"
+#line 3953 "parser_gen.cpp"
break;
- case 211:
-#line 1177 "src/mongo/db/cst/grammar.yy"
+ case 213: // aggExprAsUserFieldname: DATE_TO_PARTS
+#line 1195 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$dateToParts"};
}
-#line 3926 "src/mongo/db/cst/parser_gen.cpp"
+#line 3961 "parser_gen.cpp"
break;
- case 212:
-#line 1180 "src/mongo/db/cst/grammar.yy"
+ case 214: // aggExprAsUserFieldname: DAY_OF_MONTH
+#line 1198 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$dayOfMonth"};
}
-#line 3934 "src/mongo/db/cst/parser_gen.cpp"
+#line 3969 "parser_gen.cpp"
break;
- case 213:
-#line 1183 "src/mongo/db/cst/grammar.yy"
+ case 215: // aggExprAsUserFieldname: DAY_OF_WEEK
+#line 1201 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$dayOfWeek"};
}
-#line 3942 "src/mongo/db/cst/parser_gen.cpp"
+#line 3977 "parser_gen.cpp"
break;
- case 214:
-#line 1186 "src/mongo/db/cst/grammar.yy"
+ case 216: // aggExprAsUserFieldname: DAY_OF_YEAR
+#line 1204 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$dayOfYear"};
}
-#line 3950 "src/mongo/db/cst/parser_gen.cpp"
+#line 3985 "parser_gen.cpp"
break;
- case 215:
-#line 1189 "src/mongo/db/cst/grammar.yy"
+ case 217: // aggExprAsUserFieldname: HOUR
+#line 1207 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$hour"};
}
-#line 3958 "src/mongo/db/cst/parser_gen.cpp"
+#line 3993 "parser_gen.cpp"
break;
- case 216:
-#line 1192 "src/mongo/db/cst/grammar.yy"
+ case 218: // aggExprAsUserFieldname: ISO_DAY_OF_WEEK
+#line 1210 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$isoDayOfWeek"};
}
-#line 3966 "src/mongo/db/cst/parser_gen.cpp"
+#line 4001 "parser_gen.cpp"
break;
- case 217:
-#line 1195 "src/mongo/db/cst/grammar.yy"
+ case 219: // aggExprAsUserFieldname: ISO_WEEK
+#line 1213 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$isoWeek"};
}
-#line 3974 "src/mongo/db/cst/parser_gen.cpp"
+#line 4009 "parser_gen.cpp"
break;
- case 218:
-#line 1198 "src/mongo/db/cst/grammar.yy"
+ case 220: // aggExprAsUserFieldname: ISO_WEEK_YEAR
+#line 1216 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$isoWeekYear"};
}
-#line 3982 "src/mongo/db/cst/parser_gen.cpp"
+#line 4017 "parser_gen.cpp"
break;
- case 219:
-#line 1201 "src/mongo/db/cst/grammar.yy"
+ case 221: // aggExprAsUserFieldname: MILLISECOND
+#line 1219 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$millisecond"};
}
-#line 3990 "src/mongo/db/cst/parser_gen.cpp"
+#line 4025 "parser_gen.cpp"
break;
- case 220:
-#line 1204 "src/mongo/db/cst/grammar.yy"
+ case 222: // aggExprAsUserFieldname: MINUTE
+#line 1222 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$minute"};
}
-#line 3998 "src/mongo/db/cst/parser_gen.cpp"
+#line 4033 "parser_gen.cpp"
break;
- case 221:
-#line 1207 "src/mongo/db/cst/grammar.yy"
+ case 223: // aggExprAsUserFieldname: MONTH
+#line 1225 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$month"};
}
-#line 4006 "src/mongo/db/cst/parser_gen.cpp"
+#line 4041 "parser_gen.cpp"
break;
- case 222:
-#line 1210 "src/mongo/db/cst/grammar.yy"
+ case 224: // aggExprAsUserFieldname: SECOND
+#line 1228 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$second"};
}
-#line 4014 "src/mongo/db/cst/parser_gen.cpp"
+#line 4049 "parser_gen.cpp"
break;
- case 223:
-#line 1213 "src/mongo/db/cst/grammar.yy"
+ case 225: // aggExprAsUserFieldname: WEEK
+#line 1231 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$week"};
}
-#line 4022 "src/mongo/db/cst/parser_gen.cpp"
+#line 4057 "parser_gen.cpp"
break;
- case 224:
-#line 1216 "src/mongo/db/cst/grammar.yy"
+ case 226: // aggExprAsUserFieldname: YEAR
+#line 1234 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$year"};
}
-#line 4030 "src/mongo/db/cst/parser_gen.cpp"
+#line 4065 "parser_gen.cpp"
break;
- case 225:
-#line 1219 "src/mongo/db/cst/grammar.yy"
+ case 227: // aggExprAsUserFieldname: DATE_FROM_STRING
+#line 1237 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$dateFromString"};
}
-#line 4038 "src/mongo/db/cst/parser_gen.cpp"
+#line 4073 "parser_gen.cpp"
break;
- case 226:
-#line 1222 "src/mongo/db/cst/grammar.yy"
+ case 228: // aggExprAsUserFieldname: DATE_TO_STRING
+#line 1240 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$dateToString"};
}
-#line 4046 "src/mongo/db/cst/parser_gen.cpp"
+#line 4081 "parser_gen.cpp"
break;
- case 227:
-#line 1225 "src/mongo/db/cst/grammar.yy"
+ case 229: // aggExprAsUserFieldname: INDEX_OF_BYTES
+#line 1243 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$indexOfBytes"};
}
-#line 4054 "src/mongo/db/cst/parser_gen.cpp"
+#line 4089 "parser_gen.cpp"
break;
- case 228:
-#line 1228 "src/mongo/db/cst/grammar.yy"
+ case 230: // aggExprAsUserFieldname: INDEX_OF_CP
+#line 1246 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$indexOfCP"};
}
-#line 4062 "src/mongo/db/cst/parser_gen.cpp"
+#line 4097 "parser_gen.cpp"
break;
- case 229:
-#line 1231 "src/mongo/db/cst/grammar.yy"
+ case 231: // aggExprAsUserFieldname: LTRIM
+#line 1249 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$ltrim"};
}
-#line 4070 "src/mongo/db/cst/parser_gen.cpp"
+#line 4105 "parser_gen.cpp"
break;
- case 230:
-#line 1234 "src/mongo/db/cst/grammar.yy"
+ case 232: // aggExprAsUserFieldname: META
+#line 1252 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$meta"};
}
-#line 4078 "src/mongo/db/cst/parser_gen.cpp"
+#line 4113 "parser_gen.cpp"
break;
- case 231:
-#line 1237 "src/mongo/db/cst/grammar.yy"
+ case 233: // aggExprAsUserFieldname: REGEX_FIND
+#line 1255 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$regexFind"};
}
-#line 4086 "src/mongo/db/cst/parser_gen.cpp"
+#line 4121 "parser_gen.cpp"
break;
- case 232:
-#line 1240 "src/mongo/db/cst/grammar.yy"
+ case 234: // aggExprAsUserFieldname: REGEX_FIND_ALL
+#line 1258 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$regexFindAll"};
}
-#line 4094 "src/mongo/db/cst/parser_gen.cpp"
+#line 4129 "parser_gen.cpp"
break;
- case 233:
-#line 1243 "src/mongo/db/cst/grammar.yy"
+ case 235: // aggExprAsUserFieldname: REGEX_MATCH
+#line 1261 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$regexMatch"};
}
-#line 4102 "src/mongo/db/cst/parser_gen.cpp"
+#line 4137 "parser_gen.cpp"
break;
- case 234:
-#line 1246 "src/mongo/db/cst/grammar.yy"
+ case 236: // aggExprAsUserFieldname: REPLACE_ONE
+#line 1264 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$replaceOne"};
}
-#line 4110 "src/mongo/db/cst/parser_gen.cpp"
+#line 4145 "parser_gen.cpp"
break;
- case 235:
-#line 1249 "src/mongo/db/cst/grammar.yy"
+ case 237: // aggExprAsUserFieldname: REPLACE_ALL
+#line 1267 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$replaceAll"};
}
-#line 4118 "src/mongo/db/cst/parser_gen.cpp"
+#line 4153 "parser_gen.cpp"
break;
- case 236:
-#line 1252 "src/mongo/db/cst/grammar.yy"
+ case 238: // aggExprAsUserFieldname: RTRIM
+#line 1270 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$rtrim"};
}
-#line 4126 "src/mongo/db/cst/parser_gen.cpp"
+#line 4161 "parser_gen.cpp"
break;
- case 237:
-#line 1255 "src/mongo/db/cst/grammar.yy"
+ case 239: // aggExprAsUserFieldname: SPLIT
+#line 1273 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$split"};
}
-#line 4134 "src/mongo/db/cst/parser_gen.cpp"
+#line 4169 "parser_gen.cpp"
break;
- case 238:
-#line 1258 "src/mongo/db/cst/grammar.yy"
+ case 240: // aggExprAsUserFieldname: STR_LEN_BYTES
+#line 1276 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$strLenBytes"};
}
-#line 4142 "src/mongo/db/cst/parser_gen.cpp"
+#line 4177 "parser_gen.cpp"
break;
- case 239:
-#line 1261 "src/mongo/db/cst/grammar.yy"
+ case 241: // aggExprAsUserFieldname: STR_LEN_CP
+#line 1279 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$strLenCP"};
}
-#line 4150 "src/mongo/db/cst/parser_gen.cpp"
+#line 4185 "parser_gen.cpp"
break;
- case 240:
-#line 1264 "src/mongo/db/cst/grammar.yy"
+ case 242: // aggExprAsUserFieldname: STR_CASE_CMP
+#line 1282 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$strcasecmp"};
}
-#line 4158 "src/mongo/db/cst/parser_gen.cpp"
+#line 4193 "parser_gen.cpp"
break;
- case 241:
-#line 1267 "src/mongo/db/cst/grammar.yy"
+ case 243: // aggExprAsUserFieldname: SUBSTR
+#line 1285 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$substr"};
}
-#line 4166 "src/mongo/db/cst/parser_gen.cpp"
+#line 4201 "parser_gen.cpp"
break;
- case 242:
-#line 1270 "src/mongo/db/cst/grammar.yy"
+ case 244: // aggExprAsUserFieldname: SUBSTR_BYTES
+#line 1288 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$substrBytes"};
}
-#line 4174 "src/mongo/db/cst/parser_gen.cpp"
+#line 4209 "parser_gen.cpp"
break;
- case 243:
-#line 1273 "src/mongo/db/cst/grammar.yy"
+ case 245: // aggExprAsUserFieldname: SUBSTR_CP
+#line 1291 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$substrCP"};
}
-#line 4182 "src/mongo/db/cst/parser_gen.cpp"
+#line 4217 "parser_gen.cpp"
break;
- case 244:
-#line 1276 "src/mongo/db/cst/grammar.yy"
+ case 246: // aggExprAsUserFieldname: TO_LOWER
+#line 1294 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toLower"};
}
-#line 4190 "src/mongo/db/cst/parser_gen.cpp"
+#line 4225 "parser_gen.cpp"
break;
- case 245:
-#line 1279 "src/mongo/db/cst/grammar.yy"
+ case 247: // aggExprAsUserFieldname: TRIM
+#line 1297 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$trim"};
}
-#line 4198 "src/mongo/db/cst/parser_gen.cpp"
+#line 4233 "parser_gen.cpp"
break;
- case 246:
-#line 1282 "src/mongo/db/cst/grammar.yy"
+ case 248: // aggExprAsUserFieldname: TO_UPPER
+#line 1300 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$toUpper"};
}
-#line 4206 "src/mongo/db/cst/parser_gen.cpp"
+#line 4241 "parser_gen.cpp"
break;
- case 247:
-#line 1285 "src/mongo/db/cst/grammar.yy"
+ case 249: // aggExprAsUserFieldname: "allElementsTrue"
+#line 1303 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$allElementsTrue"};
}
-#line 4214 "src/mongo/db/cst/parser_gen.cpp"
+#line 4249 "parser_gen.cpp"
break;
- case 248:
-#line 1288 "src/mongo/db/cst/grammar.yy"
+ case 250: // aggExprAsUserFieldname: "anyElementTrue"
+#line 1306 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$anyElementTrue"};
}
-#line 4222 "src/mongo/db/cst/parser_gen.cpp"
+#line 4257 "parser_gen.cpp"
break;
- case 249:
-#line 1291 "src/mongo/db/cst/grammar.yy"
+ case 251: // aggExprAsUserFieldname: "setDifference"
+#line 1309 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$setDifference"};
}
-#line 4230 "src/mongo/db/cst/parser_gen.cpp"
+#line 4265 "parser_gen.cpp"
break;
- case 250:
-#line 1294 "src/mongo/db/cst/grammar.yy"
+ case 252: // aggExprAsUserFieldname: "setEquals"
+#line 1312 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$setEquals"};
}
-#line 4238 "src/mongo/db/cst/parser_gen.cpp"
+#line 4273 "parser_gen.cpp"
break;
- case 251:
-#line 1297 "src/mongo/db/cst/grammar.yy"
+ case 253: // aggExprAsUserFieldname: "setIntersection"
+#line 1315 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$setIntersection"};
}
-#line 4246 "src/mongo/db/cst/parser_gen.cpp"
+#line 4281 "parser_gen.cpp"
break;
- case 252:
-#line 1300 "src/mongo/db/cst/grammar.yy"
+ case 254: // aggExprAsUserFieldname: "setIsSubset"
+#line 1318 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$setIsSubset"};
}
-#line 4254 "src/mongo/db/cst/parser_gen.cpp"
+#line 4289 "parser_gen.cpp"
break;
- case 253:
-#line 1303 "src/mongo/db/cst/grammar.yy"
+ case 255: // aggExprAsUserFieldname: "setUnion"
+#line 1321 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$setUnion"};
}
-#line 4262 "src/mongo/db/cst/parser_gen.cpp"
+#line 4297 "parser_gen.cpp"
break;
- case 254:
-#line 1306 "src/mongo/db/cst/grammar.yy"
+ case 256: // aggExprAsUserFieldname: SIN
+#line 1324 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$sin"};
}
-#line 4270 "src/mongo/db/cst/parser_gen.cpp"
+#line 4305 "parser_gen.cpp"
break;
- case 255:
-#line 1309 "src/mongo/db/cst/grammar.yy"
+ case 257: // aggExprAsUserFieldname: COS
+#line 1327 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$cos"};
}
-#line 4278 "src/mongo/db/cst/parser_gen.cpp"
+#line 4313 "parser_gen.cpp"
break;
- case 256:
-#line 1312 "src/mongo/db/cst/grammar.yy"
+ case 258: // aggExprAsUserFieldname: TAN
+#line 1330 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$tan"};
}
-#line 4286 "src/mongo/db/cst/parser_gen.cpp"
+#line 4321 "parser_gen.cpp"
break;
- case 257:
-#line 1315 "src/mongo/db/cst/grammar.yy"
+ case 259: // aggExprAsUserFieldname: SINH
+#line 1333 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$sinh"};
}
-#line 4294 "src/mongo/db/cst/parser_gen.cpp"
+#line 4329 "parser_gen.cpp"
break;
- case 258:
-#line 1318 "src/mongo/db/cst/grammar.yy"
+ case 260: // aggExprAsUserFieldname: COSH
+#line 1336 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$cosh"};
}
-#line 4302 "src/mongo/db/cst/parser_gen.cpp"
+#line 4337 "parser_gen.cpp"
break;
- case 259:
-#line 1321 "src/mongo/db/cst/grammar.yy"
+ case 261: // aggExprAsUserFieldname: TANH
+#line 1339 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$tanh"};
}
-#line 4310 "src/mongo/db/cst/parser_gen.cpp"
+#line 4345 "parser_gen.cpp"
break;
- case 260:
-#line 1324 "src/mongo/db/cst/grammar.yy"
+ case 262: // aggExprAsUserFieldname: ASIN
+#line 1342 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$asin"};
}
-#line 4318 "src/mongo/db/cst/parser_gen.cpp"
+#line 4353 "parser_gen.cpp"
break;
- case 261:
-#line 1327 "src/mongo/db/cst/grammar.yy"
+ case 263: // aggExprAsUserFieldname: ACOS
+#line 1345 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$acos"};
}
-#line 4326 "src/mongo/db/cst/parser_gen.cpp"
+#line 4361 "parser_gen.cpp"
break;
- case 262:
-#line 1330 "src/mongo/db/cst/grammar.yy"
+ case 264: // aggExprAsUserFieldname: ATAN
+#line 1348 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$atan"};
}
-#line 4334 "src/mongo/db/cst/parser_gen.cpp"
+#line 4369 "parser_gen.cpp"
break;
- case 263:
-#line 1333 "src/mongo/db/cst/grammar.yy"
+ case 265: // aggExprAsUserFieldname: ASINH
+#line 1351 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$asinh"};
}
-#line 4342 "src/mongo/db/cst/parser_gen.cpp"
+#line 4377 "parser_gen.cpp"
break;
- case 264:
-#line 1336 "src/mongo/db/cst/grammar.yy"
+ case 266: // aggExprAsUserFieldname: ACOSH
+#line 1354 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$acosh"};
}
-#line 4350 "src/mongo/db/cst/parser_gen.cpp"
+#line 4385 "parser_gen.cpp"
break;
- case 265:
-#line 1339 "src/mongo/db/cst/grammar.yy"
+ case 267: // aggExprAsUserFieldname: ATANH
+#line 1357 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$atanh"};
}
-#line 4358 "src/mongo/db/cst/parser_gen.cpp"
+#line 4393 "parser_gen.cpp"
break;
- case 266:
-#line 1342 "src/mongo/db/cst/grammar.yy"
+ case 268: // aggExprAsUserFieldname: DEGREES_TO_RADIANS
+#line 1360 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$degreesToRadians"};
}
-#line 4366 "src/mongo/db/cst/parser_gen.cpp"
+#line 4401 "parser_gen.cpp"
break;
- case 267:
-#line 1345 "src/mongo/db/cst/grammar.yy"
+ case 269: // aggExprAsUserFieldname: RADIANS_TO_DEGREES
+#line 1363 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$radiansToDegrees"};
}
-#line 4374 "src/mongo/db/cst/parser_gen.cpp"
+#line 4409 "parser_gen.cpp"
+ break;
+
+ case 270: // aggExprAsUserFieldname: ARRAY_ELEM_AT
+#line 1366 "grammar.yy"
+ {
+ yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$arrayElemAt"};
+ }
+#line 4417 "parser_gen.cpp"
+ break;
+
+ case 271: // aggExprAsUserFieldname: ARRAY_TO_OBJECT
+#line 1369 "grammar.yy"
+ {
+ yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$arrayToObject"};
+ }
+#line 4425 "parser_gen.cpp"
+ break;
+
+ case 272: // aggExprAsUserFieldname: CONCAT_ARRAYS
+#line 1372 "grammar.yy"
+ {
+ yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$concatArrays"};
+ }
+#line 4433 "parser_gen.cpp"
+ break;
+
+ case 273: // aggExprAsUserFieldname: FILTER
+#line 1375 "grammar.yy"
+ {
+ yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$filter"};
+ }
+#line 4441 "parser_gen.cpp"
+ break;
+
+ case 274: // aggExprAsUserFieldname: FIRST
+#line 1378 "grammar.yy"
+ {
+ yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$first"};
+ }
+#line 4449 "parser_gen.cpp"
+ break;
+
+ case 275: // aggExprAsUserFieldname: IN
+#line 1381 "grammar.yy"
+ {
+ yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$in"};
+ }
+#line 4457 "parser_gen.cpp"
+ break;
+
+ case 276: // aggExprAsUserFieldname: INDEX_OF_ARRAY
+#line 1384 "grammar.yy"
+ {
+ yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$indexOfArray"};
+ }
+#line 4465 "parser_gen.cpp"
+ break;
+
+ case 277: // aggExprAsUserFieldname: IS_ARRAY
+#line 1387 "grammar.yy"
+ {
+ yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$isArray"};
+ }
+#line 4473 "parser_gen.cpp"
break;
- case 268:
-#line 1352 "src/mongo/db/cst/grammar.yy"
+ case 278: // string: "string"
+#line 1394 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserString{YY_MOVE(yystack_[0].value.as<std::string>())}};
}
-#line 4382 "src/mongo/db/cst/parser_gen.cpp"
+#line 4481 "parser_gen.cpp"
break;
- case 269:
-#line 1357 "src/mongo/db/cst/grammar.yy"
+ case 279: // string: "geoNearDistance"
+#line 1399 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserString{"geoNearDistance"}};
}
-#line 4390 "src/mongo/db/cst/parser_gen.cpp"
+#line 4489 "parser_gen.cpp"
break;
- case 270:
-#line 1360 "src/mongo/db/cst/grammar.yy"
+ case 280: // string: "geoNearPoint"
+#line 1402 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserString{"geoNearPoint"}};
}
-#line 4398 "src/mongo/db/cst/parser_gen.cpp"
+#line 4497 "parser_gen.cpp"
break;
- case 271:
-#line 1363 "src/mongo/db/cst/grammar.yy"
+ case 281: // string: "indexKey"
+#line 1405 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserString{"indexKey"}};
}
-#line 4406 "src/mongo/db/cst/parser_gen.cpp"
+#line 4505 "parser_gen.cpp"
break;
- case 272:
-#line 1366 "src/mongo/db/cst/grammar.yy"
+ case 282: // string: "randVal"
+#line 1408 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserString{"randVal"}};
}
-#line 4414 "src/mongo/db/cst/parser_gen.cpp"
+#line 4513 "parser_gen.cpp"
break;
- case 273:
-#line 1369 "src/mongo/db/cst/grammar.yy"
+ case 283: // string: "recordId"
+#line 1411 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserString{"recordId"}};
}
-#line 4422 "src/mongo/db/cst/parser_gen.cpp"
+#line 4521 "parser_gen.cpp"
break;
- case 274:
-#line 1372 "src/mongo/db/cst/grammar.yy"
+ case 284: // string: "searchHighlights"
+#line 1414 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserString{"searchHighlights"}};
}
-#line 4430 "src/mongo/db/cst/parser_gen.cpp"
+#line 4529 "parser_gen.cpp"
break;
- case 275:
-#line 1375 "src/mongo/db/cst/grammar.yy"
+ case 285: // string: "searchScore"
+#line 1417 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserString{"searchScore"}};
}
-#line 4438 "src/mongo/db/cst/parser_gen.cpp"
+#line 4537 "parser_gen.cpp"
break;
- case 276:
-#line 1378 "src/mongo/db/cst/grammar.yy"
+ case 286: // string: "sortKey"
+#line 1420 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserString{"sortKey"}};
}
-#line 4446 "src/mongo/db/cst/parser_gen.cpp"
+#line 4545 "parser_gen.cpp"
break;
- case 277:
-#line 1381 "src/mongo/db/cst/grammar.yy"
+ case 287: // string: "textScore"
+#line 1423 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserString{"textScore"}};
}
-#line 4454 "src/mongo/db/cst/parser_gen.cpp"
+#line 4553 "parser_gen.cpp"
break;
- case 278:
-#line 1387 "src/mongo/db/cst/grammar.yy"
+ case 288: // aggregationFieldPath: "$-prefixed string"
+#line 1429 "grammar.yy"
{
auto str = YY_MOVE(yystack_[0].value.as<std::string>());
auto components = std::vector<std::string>{};
@@ -4587,11 +4705,11 @@ int ParserGen::parse() {
error(yystack_[0].location, status.reason());
yylhs.value.as<CNode>() = CNode{AggregationPath{std::move(components)}};
}
-#line 4470 "src/mongo/db/cst/parser_gen.cpp"
+#line 4569 "parser_gen.cpp"
break;
- case 279:
-#line 1401 "src/mongo/db/cst/grammar.yy"
+ case 289: // variable: "$$-prefixed string"
+#line 1443 "grammar.yy"
{
auto str = YY_MOVE(yystack_[0].value.as<std::string>());
auto components = std::vector<std::string>{};
@@ -4605,1230 +4723,1243 @@ int ParserGen::parse() {
yylhs.value.as<CNode>() =
CNode{AggregationVariablePath{std::move(components)}};
}
-#line 4486 "src/mongo/db/cst/parser_gen.cpp"
+#line 4585 "parser_gen.cpp"
break;
- case 280:
-#line 1415 "src/mongo/db/cst/grammar.yy"
+ case 290: // binary: "BinData"
+#line 1457 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserBinary{YY_MOVE(yystack_[0].value.as<BSONBinData>())}};
}
-#line 4494 "src/mongo/db/cst/parser_gen.cpp"
+#line 4593 "parser_gen.cpp"
break;
- case 281:
-#line 1421 "src/mongo/db/cst/grammar.yy"
+ case 291: // undefined: "undefined"
+#line 1463 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserUndefined{}};
}
-#line 4502 "src/mongo/db/cst/parser_gen.cpp"
+#line 4601 "parser_gen.cpp"
break;
- case 282:
-#line 1427 "src/mongo/db/cst/grammar.yy"
+ case 292: // objectId: "ObjectID"
+#line 1469 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserObjectId{}};
}
-#line 4510 "src/mongo/db/cst/parser_gen.cpp"
+#line 4609 "parser_gen.cpp"
break;
- case 283:
-#line 1433 "src/mongo/db/cst/grammar.yy"
+ case 293: // date: "Date"
+#line 1475 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserDate{YY_MOVE(yystack_[0].value.as<Date_t>())}};
}
-#line 4518 "src/mongo/db/cst/parser_gen.cpp"
+#line 4617 "parser_gen.cpp"
break;
- case 284:
-#line 1439 "src/mongo/db/cst/grammar.yy"
+ case 294: // null: "null"
+#line 1481 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserNull{}};
}
-#line 4526 "src/mongo/db/cst/parser_gen.cpp"
+#line 4625 "parser_gen.cpp"
break;
- case 285:
-#line 1445 "src/mongo/db/cst/grammar.yy"
+ case 295: // regex: "regex"
+#line 1487 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserRegex{YY_MOVE(yystack_[0].value.as<BSONRegEx>())}};
}
-#line 4534 "src/mongo/db/cst/parser_gen.cpp"
+#line 4633 "parser_gen.cpp"
break;
- case 286:
-#line 1451 "src/mongo/db/cst/grammar.yy"
+ case 296: // dbPointer: "dbPointer"
+#line 1493 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserDBPointer{YY_MOVE(yystack_[0].value.as<BSONDBRef>())}};
}
-#line 4542 "src/mongo/db/cst/parser_gen.cpp"
+#line 4641 "parser_gen.cpp"
break;
- case 287:
-#line 1457 "src/mongo/db/cst/grammar.yy"
+ case 297: // javascript: "Code"
+#line 1499 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserJavascript{YY_MOVE(yystack_[0].value.as<BSONCode>())}};
}
-#line 4550 "src/mongo/db/cst/parser_gen.cpp"
+#line 4649 "parser_gen.cpp"
break;
- case 288:
-#line 1463 "src/mongo/db/cst/grammar.yy"
+ case 298: // symbol: "Symbol"
+#line 1505 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserSymbol{YY_MOVE(yystack_[0].value.as<BSONSymbol>())}};
}
-#line 4558 "src/mongo/db/cst/parser_gen.cpp"
+#line 4657 "parser_gen.cpp"
break;
- case 289:
-#line 1469 "src/mongo/db/cst/grammar.yy"
+ case 299: // javascriptWScope: "CodeWScope"
+#line 1511 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserJavascriptWithScope{
YY_MOVE(yystack_[0].value.as<BSONCodeWScope>())}};
}
-#line 4566 "src/mongo/db/cst/parser_gen.cpp"
+#line 4665 "parser_gen.cpp"
break;
- case 290:
-#line 1475 "src/mongo/db/cst/grammar.yy"
+ case 300: // timestamp: "Timestamp"
+#line 1517 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserTimestamp{YY_MOVE(yystack_[0].value.as<Timestamp>())}};
}
-#line 4574 "src/mongo/db/cst/parser_gen.cpp"
+#line 4673 "parser_gen.cpp"
break;
- case 291:
-#line 1481 "src/mongo/db/cst/grammar.yy"
+ case 301: // minKey: "minKey"
+#line 1523 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserMinKey{YY_MOVE(yystack_[0].value.as<UserMinKey>())}};
}
-#line 4582 "src/mongo/db/cst/parser_gen.cpp"
+#line 4681 "parser_gen.cpp"
break;
- case 292:
-#line 1487 "src/mongo/db/cst/grammar.yy"
+ case 302: // maxKey: "maxKey"
+#line 1529 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserMaxKey{YY_MOVE(yystack_[0].value.as<UserMaxKey>())}};
}
-#line 4590 "src/mongo/db/cst/parser_gen.cpp"
+#line 4689 "parser_gen.cpp"
break;
- case 293:
-#line 1493 "src/mongo/db/cst/grammar.yy"
+ case 303: // int: "arbitrary integer"
+#line 1535 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserInt{YY_MOVE(yystack_[0].value.as<int>())}};
}
-#line 4598 "src/mongo/db/cst/parser_gen.cpp"
+#line 4697 "parser_gen.cpp"
break;
- case 294:
-#line 1496 "src/mongo/db/cst/grammar.yy"
+ case 304: // int: "zero (int)"
+#line 1538 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserInt{0}};
}
-#line 4606 "src/mongo/db/cst/parser_gen.cpp"
+#line 4705 "parser_gen.cpp"
break;
- case 295:
-#line 1499 "src/mongo/db/cst/grammar.yy"
+ case 305: // int: "1 (int)"
+#line 1541 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserInt{1}};
}
-#line 4614 "src/mongo/db/cst/parser_gen.cpp"
+#line 4713 "parser_gen.cpp"
break;
- case 296:
-#line 1502 "src/mongo/db/cst/grammar.yy"
+ case 306: // int: "-1 (int)"
+#line 1544 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserInt{-1}};
}
-#line 4622 "src/mongo/db/cst/parser_gen.cpp"
+#line 4721 "parser_gen.cpp"
break;
- case 297:
-#line 1508 "src/mongo/db/cst/grammar.yy"
+ case 307: // long: "arbitrary long"
+#line 1550 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserLong{YY_MOVE(yystack_[0].value.as<long long>())}};
}
-#line 4630 "src/mongo/db/cst/parser_gen.cpp"
+#line 4729 "parser_gen.cpp"
break;
- case 298:
-#line 1511 "src/mongo/db/cst/grammar.yy"
+ case 308: // long: "zero (long)"
+#line 1553 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserLong{0ll}};
}
-#line 4638 "src/mongo/db/cst/parser_gen.cpp"
+#line 4737 "parser_gen.cpp"
break;
- case 299:
-#line 1514 "src/mongo/db/cst/grammar.yy"
+ case 309: // long: "1 (long)"
+#line 1556 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserLong{1ll}};
}
-#line 4646 "src/mongo/db/cst/parser_gen.cpp"
+#line 4745 "parser_gen.cpp"
break;
- case 300:
-#line 1517 "src/mongo/db/cst/grammar.yy"
+ case 310: // long: "-1 (long)"
+#line 1559 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserLong{-1ll}};
}
-#line 4654 "src/mongo/db/cst/parser_gen.cpp"
+#line 4753 "parser_gen.cpp"
break;
- case 301:
-#line 1523 "src/mongo/db/cst/grammar.yy"
+ case 311: // double: "arbitrary double"
+#line 1565 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserDouble{YY_MOVE(yystack_[0].value.as<double>())}};
}
-#line 4662 "src/mongo/db/cst/parser_gen.cpp"
+#line 4761 "parser_gen.cpp"
break;
- case 302:
-#line 1526 "src/mongo/db/cst/grammar.yy"
+ case 312: // double: "zero (double)"
+#line 1568 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserDouble{0.0}};
}
-#line 4670 "src/mongo/db/cst/parser_gen.cpp"
+#line 4769 "parser_gen.cpp"
break;
- case 303:
-#line 1529 "src/mongo/db/cst/grammar.yy"
+ case 313: // double: "1 (double)"
+#line 1571 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserDouble{1.0}};
}
-#line 4678 "src/mongo/db/cst/parser_gen.cpp"
+#line 4777 "parser_gen.cpp"
break;
- case 304:
-#line 1532 "src/mongo/db/cst/grammar.yy"
+ case 314: // double: "-1 (double)"
+#line 1574 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserDouble{-1.0}};
}
-#line 4686 "src/mongo/db/cst/parser_gen.cpp"
+#line 4785 "parser_gen.cpp"
break;
- case 305:
-#line 1538 "src/mongo/db/cst/grammar.yy"
+ case 315: // decimal: "arbitrary decimal"
+#line 1580 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{UserDecimal{YY_MOVE(yystack_[0].value.as<Decimal128>())}};
}
-#line 4694 "src/mongo/db/cst/parser_gen.cpp"
+#line 4793 "parser_gen.cpp"
break;
- case 306:
-#line 1541 "src/mongo/db/cst/grammar.yy"
+ case 316: // decimal: "zero (decimal)"
+#line 1583 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserDecimal{0.0}};
}
-#line 4702 "src/mongo/db/cst/parser_gen.cpp"
+#line 4801 "parser_gen.cpp"
break;
- case 307:
-#line 1544 "src/mongo/db/cst/grammar.yy"
+ case 317: // decimal: "1 (decimal)"
+#line 1586 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserDecimal{1.0}};
}
-#line 4710 "src/mongo/db/cst/parser_gen.cpp"
+#line 4809 "parser_gen.cpp"
break;
- case 308:
-#line 1547 "src/mongo/db/cst/grammar.yy"
+ case 318: // decimal: "-1 (decimal)"
+#line 1589 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserDecimal{-1.0}};
}
-#line 4718 "src/mongo/db/cst/parser_gen.cpp"
+#line 4817 "parser_gen.cpp"
break;
- case 309:
-#line 1553 "src/mongo/db/cst/grammar.yy"
+ case 319: // bool: "true"
+#line 1595 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserBoolean{true}};
}
-#line 4726 "src/mongo/db/cst/parser_gen.cpp"
+#line 4825 "parser_gen.cpp"
break;
- case 310:
-#line 1556 "src/mongo/db/cst/grammar.yy"
+ case 320: // bool: "false"
+#line 1598 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{UserBoolean{false}};
}
-#line 4734 "src/mongo/db/cst/parser_gen.cpp"
+#line 4833 "parser_gen.cpp"
break;
- case 311:
-#line 1562 "src/mongo/db/cst/grammar.yy"
+ case 321: // simpleValue: string
+#line 1604 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4740 "src/mongo/db/cst/parser_gen.cpp"
+#line 4839 "parser_gen.cpp"
break;
- case 312:
-#line 1563 "src/mongo/db/cst/grammar.yy"
+ case 322: // simpleValue: aggregationFieldPath
+#line 1605 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4746 "src/mongo/db/cst/parser_gen.cpp"
+#line 4845 "parser_gen.cpp"
break;
- case 313:
-#line 1564 "src/mongo/db/cst/grammar.yy"
+ case 323: // simpleValue: variable
+#line 1606 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4752 "src/mongo/db/cst/parser_gen.cpp"
+#line 4851 "parser_gen.cpp"
break;
- case 314:
-#line 1565 "src/mongo/db/cst/grammar.yy"
+ case 324: // simpleValue: binary
+#line 1607 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4758 "src/mongo/db/cst/parser_gen.cpp"
+#line 4857 "parser_gen.cpp"
break;
- case 315:
-#line 1566 "src/mongo/db/cst/grammar.yy"
+ case 325: // simpleValue: undefined
+#line 1608 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4764 "src/mongo/db/cst/parser_gen.cpp"
+#line 4863 "parser_gen.cpp"
break;
- case 316:
-#line 1567 "src/mongo/db/cst/grammar.yy"
+ case 326: // simpleValue: objectId
+#line 1609 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4770 "src/mongo/db/cst/parser_gen.cpp"
+#line 4869 "parser_gen.cpp"
break;
- case 317:
-#line 1568 "src/mongo/db/cst/grammar.yy"
+ case 327: // simpleValue: date
+#line 1610 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4776 "src/mongo/db/cst/parser_gen.cpp"
+#line 4875 "parser_gen.cpp"
break;
- case 318:
-#line 1569 "src/mongo/db/cst/grammar.yy"
+ case 328: // simpleValue: null
+#line 1611 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4782 "src/mongo/db/cst/parser_gen.cpp"
+#line 4881 "parser_gen.cpp"
break;
- case 319:
-#line 1570 "src/mongo/db/cst/grammar.yy"
+ case 329: // simpleValue: regex
+#line 1612 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4788 "src/mongo/db/cst/parser_gen.cpp"
+#line 4887 "parser_gen.cpp"
break;
- case 320:
-#line 1571 "src/mongo/db/cst/grammar.yy"
+ case 330: // simpleValue: dbPointer
+#line 1613 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4794 "src/mongo/db/cst/parser_gen.cpp"
+#line 4893 "parser_gen.cpp"
break;
- case 321:
-#line 1572 "src/mongo/db/cst/grammar.yy"
+ case 331: // simpleValue: javascript
+#line 1614 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4800 "src/mongo/db/cst/parser_gen.cpp"
+#line 4899 "parser_gen.cpp"
break;
- case 322:
-#line 1573 "src/mongo/db/cst/grammar.yy"
+ case 332: // simpleValue: symbol
+#line 1615 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4806 "src/mongo/db/cst/parser_gen.cpp"
+#line 4905 "parser_gen.cpp"
break;
- case 323:
-#line 1574 "src/mongo/db/cst/grammar.yy"
+ case 333: // simpleValue: javascriptWScope
+#line 1616 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4812 "src/mongo/db/cst/parser_gen.cpp"
+#line 4911 "parser_gen.cpp"
break;
- case 324:
-#line 1575 "src/mongo/db/cst/grammar.yy"
+ case 334: // simpleValue: int
+#line 1617 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4818 "src/mongo/db/cst/parser_gen.cpp"
+#line 4917 "parser_gen.cpp"
break;
- case 325:
-#line 1576 "src/mongo/db/cst/grammar.yy"
+ case 335: // simpleValue: long
+#line 1618 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4824 "src/mongo/db/cst/parser_gen.cpp"
+#line 4923 "parser_gen.cpp"
break;
- case 326:
-#line 1577 "src/mongo/db/cst/grammar.yy"
+ case 336: // simpleValue: double
+#line 1619 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4830 "src/mongo/db/cst/parser_gen.cpp"
+#line 4929 "parser_gen.cpp"
break;
- case 327:
-#line 1578 "src/mongo/db/cst/grammar.yy"
+ case 337: // simpleValue: decimal
+#line 1620 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4836 "src/mongo/db/cst/parser_gen.cpp"
+#line 4935 "parser_gen.cpp"
break;
- case 328:
-#line 1579 "src/mongo/db/cst/grammar.yy"
+ case 338: // simpleValue: bool
+#line 1621 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4842 "src/mongo/db/cst/parser_gen.cpp"
+#line 4941 "parser_gen.cpp"
break;
- case 329:
-#line 1580 "src/mongo/db/cst/grammar.yy"
+ case 339: // simpleValue: timestamp
+#line 1622 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4848 "src/mongo/db/cst/parser_gen.cpp"
+#line 4947 "parser_gen.cpp"
break;
- case 330:
-#line 1581 "src/mongo/db/cst/grammar.yy"
+ case 340: // simpleValue: minKey
+#line 1623 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4854 "src/mongo/db/cst/parser_gen.cpp"
+#line 4953 "parser_gen.cpp"
break;
- case 331:
-#line 1582 "src/mongo/db/cst/grammar.yy"
+ case 341: // simpleValue: maxKey
+#line 1624 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4860 "src/mongo/db/cst/parser_gen.cpp"
+#line 4959 "parser_gen.cpp"
break;
- case 332:
-#line 1589 "src/mongo/db/cst/grammar.yy"
+ case 342: // expressions: %empty
+#line 1631 "grammar.yy"
{
}
-#line 4866 "src/mongo/db/cst/parser_gen.cpp"
+#line 4965 "parser_gen.cpp"
break;
- case 333:
-#line 1590 "src/mongo/db/cst/grammar.yy"
+ case 343: // expressions: expressions expression
+#line 1632 "grammar.yy"
{
yylhs.value.as<std::vector<CNode>>() =
YY_MOVE(yystack_[1].value.as<std::vector<CNode>>());
yylhs.value.as<std::vector<CNode>>().emplace_back(
YY_MOVE(yystack_[0].value.as<CNode>()));
}
-#line 4875 "src/mongo/db/cst/parser_gen.cpp"
+#line 4974 "parser_gen.cpp"
break;
- case 334:
-#line 1597 "src/mongo/db/cst/grammar.yy"
+ case 344: // expression: simpleValue
+#line 1639 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4881 "src/mongo/db/cst/parser_gen.cpp"
+#line 4980 "parser_gen.cpp"
break;
- case 335:
-#line 1597 "src/mongo/db/cst/grammar.yy"
+ case 345: // expression: expressionObject
+#line 1639 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4887 "src/mongo/db/cst/parser_gen.cpp"
+#line 4986 "parser_gen.cpp"
break;
- case 336:
-#line 1597 "src/mongo/db/cst/grammar.yy"
+ case 346: // expression: expressionArray
+#line 1639 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4893 "src/mongo/db/cst/parser_gen.cpp"
+#line 4992 "parser_gen.cpp"
break;
- case 337:
-#line 1597 "src/mongo/db/cst/grammar.yy"
+ case 347: // expression: aggregationOperator
+#line 1639 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4899 "src/mongo/db/cst/parser_gen.cpp"
+#line 4998 "parser_gen.cpp"
break;
- case 338:
-#line 1601 "src/mongo/db/cst/grammar.yy"
+ case 348: // nonArrayExpression: simpleValue
+#line 1643 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4905 "src/mongo/db/cst/parser_gen.cpp"
+#line 5004 "parser_gen.cpp"
break;
- case 339:
-#line 1601 "src/mongo/db/cst/grammar.yy"
+ case 349: // nonArrayExpression: nonArrayCompoundExpression
+#line 1643 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4911 "src/mongo/db/cst/parser_gen.cpp"
+#line 5010 "parser_gen.cpp"
break;
- case 340:
-#line 1605 "src/mongo/db/cst/grammar.yy"
+ case 350: // nonArrayNonObjExpression: simpleValue
+#line 1647 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4917 "src/mongo/db/cst/parser_gen.cpp"
+#line 5016 "parser_gen.cpp"
break;
- case 341:
-#line 1605 "src/mongo/db/cst/grammar.yy"
+ case 351: // nonArrayNonObjExpression: aggregationOperator
+#line 1647 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4923 "src/mongo/db/cst/parser_gen.cpp"
+#line 5022 "parser_gen.cpp"
break;
- case 342:
-#line 1609 "src/mongo/db/cst/grammar.yy"
+ case 352: // nonArrayCompoundExpression: expressionObject
+#line 1651 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4929 "src/mongo/db/cst/parser_gen.cpp"
+#line 5028 "parser_gen.cpp"
break;
- case 343:
-#line 1609 "src/mongo/db/cst/grammar.yy"
+ case 353: // nonArrayCompoundExpression: aggregationOperator
+#line 1651 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4935 "src/mongo/db/cst/parser_gen.cpp"
+#line 5034 "parser_gen.cpp"
break;
- case 344:
-#line 1613 "src/mongo/db/cst/grammar.yy"
+ case 354: // aggregationOperator: aggregationOperatorWithoutSlice
+#line 1655 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4941 "src/mongo/db/cst/parser_gen.cpp"
+#line 5040 "parser_gen.cpp"
break;
- case 345:
-#line 1613 "src/mongo/db/cst/grammar.yy"
+ case 355: // aggregationOperator: slice
+#line 1655 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4947 "src/mongo/db/cst/parser_gen.cpp"
+#line 5046 "parser_gen.cpp"
break;
- case 346:
-#line 1617 "src/mongo/db/cst/grammar.yy"
+ case 356: // aggregationOperatorWithoutSlice: maths
+#line 1659 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4953 "src/mongo/db/cst/parser_gen.cpp"
+#line 5052 "parser_gen.cpp"
break;
- case 347:
-#line 1617 "src/mongo/db/cst/grammar.yy"
+ case 357: // aggregationOperatorWithoutSlice: boolExprs
+#line 1659 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4959 "src/mongo/db/cst/parser_gen.cpp"
+#line 5058 "parser_gen.cpp"
break;
- case 348:
-#line 1617 "src/mongo/db/cst/grammar.yy"
+ case 358: // aggregationOperatorWithoutSlice: literalEscapes
+#line 1659 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4965 "src/mongo/db/cst/parser_gen.cpp"
+#line 5064 "parser_gen.cpp"
break;
- case 349:
-#line 1617 "src/mongo/db/cst/grammar.yy"
+ case 359: // aggregationOperatorWithoutSlice: compExprs
+#line 1659 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4971 "src/mongo/db/cst/parser_gen.cpp"
+#line 5070 "parser_gen.cpp"
break;
- case 350:
-#line 1617 "src/mongo/db/cst/grammar.yy"
+ case 360: // aggregationOperatorWithoutSlice: typeExpression
+#line 1659 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4977 "src/mongo/db/cst/parser_gen.cpp"
+#line 5076 "parser_gen.cpp"
break;
- case 351:
-#line 1617 "src/mongo/db/cst/grammar.yy"
+ case 361: // aggregationOperatorWithoutSlice: stringExps
+#line 1659 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4983 "src/mongo/db/cst/parser_gen.cpp"
+#line 5082 "parser_gen.cpp"
break;
- case 352:
-#line 1617 "src/mongo/db/cst/grammar.yy"
+ case 362: // aggregationOperatorWithoutSlice: setExpression
+#line 1659 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4989 "src/mongo/db/cst/parser_gen.cpp"
+#line 5088 "parser_gen.cpp"
break;
- case 353:
-#line 1618 "src/mongo/db/cst/grammar.yy"
+ case 363: // aggregationOperatorWithoutSlice: trig
+#line 1660 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 4995 "src/mongo/db/cst/parser_gen.cpp"
+#line 5094 "parser_gen.cpp"
break;
- case 354:
-#line 1618 "src/mongo/db/cst/grammar.yy"
+ case 364: // aggregationOperatorWithoutSlice: meta
+#line 1660 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5001 "src/mongo/db/cst/parser_gen.cpp"
+#line 5100 "parser_gen.cpp"
break;
- case 355:
-#line 1618 "src/mongo/db/cst/grammar.yy"
+ case 365: // aggregationOperatorWithoutSlice: dateExps
+#line 1660 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5007 "src/mongo/db/cst/parser_gen.cpp"
+#line 5106 "parser_gen.cpp"
break;
- case 356:
-#line 1623 "src/mongo/db/cst/grammar.yy"
+ case 366: // aggregationOperatorWithoutSlice: arrayExps
+#line 1660 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
+ }
+#line 5112 "parser_gen.cpp"
+ break;
+
+ case 367: // exprFixedTwoArg: "array" expression expression "end of array"
+#line 1665 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[2].value.as<CNode>()),
YY_MOVE(yystack_[1].value.as<CNode>())}};
}
-#line 5015 "src/mongo/db/cst/parser_gen.cpp"
+#line 5120 "parser_gen.cpp"
break;
- case 357:
-#line 1630 "src/mongo/db/cst/grammar.yy"
+ case 368: // exprFixedThreeArg: "array" expression expression expression "end
+ // of array"
+#line 1672 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>()),
YY_MOVE(yystack_[1].value.as<CNode>())}};
}
-#line 5023 "src/mongo/db/cst/parser_gen.cpp"
+#line 5128 "parser_gen.cpp"
break;
- case 358:
-#line 1636 "src/mongo/db/cst/grammar.yy"
+ case 369: // slice: "object" "slice" exprFixedTwoArg "end of object"
+#line 1678 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::slice, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5032 "src/mongo/db/cst/parser_gen.cpp"
+#line 5137 "parser_gen.cpp"
break;
- case 359:
-#line 1640 "src/mongo/db/cst/grammar.yy"
+ case 370: // slice: "object" "slice" exprFixedThreeArg "end of object"
+#line 1682 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::slice, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5041 "src/mongo/db/cst/parser_gen.cpp"
+#line 5146 "parser_gen.cpp"
break;
- case 360:
-#line 1649 "src/mongo/db/cst/grammar.yy"
+ case 371: // expressionArray: "array" expressions "end of array"
+#line 1691 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{YY_MOVE(yystack_[1].value.as<std::vector<CNode>>())};
}
-#line 5049 "src/mongo/db/cst/parser_gen.cpp"
+#line 5154 "parser_gen.cpp"
break;
- case 361:
-#line 1656 "src/mongo/db/cst/grammar.yy"
+ case 372: // expressionSingletonArray: "array" expression "end of array"
+#line 1698 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[1].value.as<CNode>())}};
}
-#line 5057 "src/mongo/db/cst/parser_gen.cpp"
+#line 5162 "parser_gen.cpp"
break;
- case 362:
-#line 1661 "src/mongo/db/cst/grammar.yy"
+ case 373: // singleArgExpression: nonArrayExpression
+#line 1703 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5063 "src/mongo/db/cst/parser_gen.cpp"
+#line 5168 "parser_gen.cpp"
break;
- case 363:
-#line 1661 "src/mongo/db/cst/grammar.yy"
+ case 374: // singleArgExpression: expressionSingletonArray
+#line 1703 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5069 "src/mongo/db/cst/parser_gen.cpp"
+#line 5174 "parser_gen.cpp"
break;
- case 364:
-#line 1666 "src/mongo/db/cst/grammar.yy"
+ case 375: // expressionObject: "object" expressionFields "end of object"
+#line 1708 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
}
-#line 5077 "src/mongo/db/cst/parser_gen.cpp"
+#line 5182 "parser_gen.cpp"
break;
- case 365:
-#line 1672 "src/mongo/db/cst/grammar.yy"
+ case 376: // expressionFields: %empty
+#line 1714 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode::noopLeaf();
}
-#line 5085 "src/mongo/db/cst/parser_gen.cpp"
+#line 5190 "parser_gen.cpp"
break;
- case 366:
-#line 1675 "src/mongo/db/cst/grammar.yy"
+ case 377: // expressionFields: expressionFields expressionField
+#line 1717 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 5094 "src/mongo/db/cst/parser_gen.cpp"
+#line 5199 "parser_gen.cpp"
break;
- case 367:
-#line 1682 "src/mongo/db/cst/grammar.yy"
+ case 378: // expressionField: expressionFieldname expression
+#line 1724 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 5102 "src/mongo/db/cst/parser_gen.cpp"
+#line 5207 "parser_gen.cpp"
break;
- case 368:
-#line 1689 "src/mongo/db/cst/grammar.yy"
+ case 379: // expressionFieldname: invariableUserFieldname
+#line 1731 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 5108 "src/mongo/db/cst/parser_gen.cpp"
+#line 5213 "parser_gen.cpp"
break;
- case 369:
-#line 1689 "src/mongo/db/cst/grammar.yy"
+ case 380: // expressionFieldname: argAsUserFieldname
+#line 1731 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 5114 "src/mongo/db/cst/parser_gen.cpp"
+#line 5219 "parser_gen.cpp"
break;
- case 370:
-#line 1689 "src/mongo/db/cst/grammar.yy"
+ case 381: // expressionFieldname: idAsUserFieldname
+#line 1731 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 5120 "src/mongo/db/cst/parser_gen.cpp"
+#line 5225 "parser_gen.cpp"
break;
- case 371:
-#line 1693 "src/mongo/db/cst/grammar.yy"
+ case 382: // idAsUserFieldname: ID
+#line 1735 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"_id"};
}
-#line 5128 "src/mongo/db/cst/parser_gen.cpp"
+#line 5233 "parser_gen.cpp"
break;
- case 372:
-#line 1699 "src/mongo/db/cst/grammar.yy"
+ case 383: // elemMatchAsUserFieldname: "elemMatch operator"
+#line 1741 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() = UserFieldname{"$elemMatch"};
}
-#line 5136 "src/mongo/db/cst/parser_gen.cpp"
+#line 5241 "parser_gen.cpp"
break;
- case 373:
-#line 1705 "src/mongo/db/cst/grammar.yy"
+ case 384: // idAsProjectionPath: ID
+#line 1747 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
ProjectionPath{makeVector<std::string>("_id")};
}
-#line 5144 "src/mongo/db/cst/parser_gen.cpp"
+#line 5249 "parser_gen.cpp"
break;
- case 374:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 385: // maths: add
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5150 "src/mongo/db/cst/parser_gen.cpp"
+#line 5255 "parser_gen.cpp"
break;
- case 375:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 386: // maths: abs
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5156 "src/mongo/db/cst/parser_gen.cpp"
+#line 5261 "parser_gen.cpp"
break;
- case 376:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 387: // maths: ceil
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5162 "src/mongo/db/cst/parser_gen.cpp"
+#line 5267 "parser_gen.cpp"
break;
- case 377:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 388: // maths: divide
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5168 "src/mongo/db/cst/parser_gen.cpp"
+#line 5273 "parser_gen.cpp"
break;
- case 378:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 389: // maths: exponent
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5174 "src/mongo/db/cst/parser_gen.cpp"
+#line 5279 "parser_gen.cpp"
break;
- case 379:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 390: // maths: floor
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5180 "src/mongo/db/cst/parser_gen.cpp"
+#line 5285 "parser_gen.cpp"
break;
- case 380:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 391: // maths: ln
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5186 "src/mongo/db/cst/parser_gen.cpp"
+#line 5291 "parser_gen.cpp"
break;
- case 381:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 392: // maths: log
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5192 "src/mongo/db/cst/parser_gen.cpp"
+#line 5297 "parser_gen.cpp"
break;
- case 382:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 393: // maths: logten
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5198 "src/mongo/db/cst/parser_gen.cpp"
+#line 5303 "parser_gen.cpp"
break;
- case 383:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 394: // maths: mod
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5204 "src/mongo/db/cst/parser_gen.cpp"
+#line 5309 "parser_gen.cpp"
break;
- case 384:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 395: // maths: multiply
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5210 "src/mongo/db/cst/parser_gen.cpp"
+#line 5315 "parser_gen.cpp"
break;
- case 385:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 396: // maths: pow
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5216 "src/mongo/db/cst/parser_gen.cpp"
+#line 5321 "parser_gen.cpp"
break;
- case 386:
-#line 1711 "src/mongo/db/cst/grammar.yy"
+ case 397: // maths: round
+#line 1753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5222 "src/mongo/db/cst/parser_gen.cpp"
+#line 5327 "parser_gen.cpp"
break;
- case 387:
-#line 1712 "src/mongo/db/cst/grammar.yy"
+ case 398: // maths: sqrt
+#line 1754 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5228 "src/mongo/db/cst/parser_gen.cpp"
+#line 5333 "parser_gen.cpp"
break;
- case 388:
-#line 1712 "src/mongo/db/cst/grammar.yy"
+ case 399: // maths: subtract
+#line 1754 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5234 "src/mongo/db/cst/parser_gen.cpp"
+#line 5339 "parser_gen.cpp"
break;
- case 389:
-#line 1712 "src/mongo/db/cst/grammar.yy"
+ case 400: // maths: trunc
+#line 1754 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5240 "src/mongo/db/cst/parser_gen.cpp"
+#line 5345 "parser_gen.cpp"
break;
- case 390:
-#line 1716 "src/mongo/db/cst/grammar.yy"
+ case 401: // meta: "object" META "geoNearDistance" "end of object"
+#line 1758 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::meta, CNode{KeyValue::geoNearDistance}}}};
}
-#line 5248 "src/mongo/db/cst/parser_gen.cpp"
+#line 5353 "parser_gen.cpp"
break;
- case 391:
-#line 1719 "src/mongo/db/cst/grammar.yy"
+ case 402: // meta: "object" META "geoNearPoint" "end of object"
+#line 1761 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::meta, CNode{KeyValue::geoNearPoint}}}};
}
-#line 5256 "src/mongo/db/cst/parser_gen.cpp"
+#line 5361 "parser_gen.cpp"
break;
- case 392:
-#line 1722 "src/mongo/db/cst/grammar.yy"
+ case 403: // meta: "object" META "indexKey" "end of object"
+#line 1764 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{
CNode::ObjectChildren{{KeyFieldname::meta, CNode{KeyValue::indexKey}}}};
}
-#line 5264 "src/mongo/db/cst/parser_gen.cpp"
+#line 5369 "parser_gen.cpp"
break;
- case 393:
-#line 1725 "src/mongo/db/cst/grammar.yy"
+ case 404: // meta: "object" META "randVal" "end of object"
+#line 1767 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{
CNode::ObjectChildren{{KeyFieldname::meta, CNode{KeyValue::randVal}}}};
}
-#line 5272 "src/mongo/db/cst/parser_gen.cpp"
+#line 5377 "parser_gen.cpp"
break;
- case 394:
-#line 1728 "src/mongo/db/cst/grammar.yy"
+ case 405: // meta: "object" META "recordId" "end of object"
+#line 1770 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{
CNode::ObjectChildren{{KeyFieldname::meta, CNode{KeyValue::recordId}}}};
}
-#line 5280 "src/mongo/db/cst/parser_gen.cpp"
+#line 5385 "parser_gen.cpp"
break;
- case 395:
-#line 1731 "src/mongo/db/cst/grammar.yy"
+ case 406: // meta: "object" META "searchHighlights" "end of object"
+#line 1773 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::meta, CNode{KeyValue::searchHighlights}}}};
}
-#line 5288 "src/mongo/db/cst/parser_gen.cpp"
+#line 5393 "parser_gen.cpp"
break;
- case 396:
-#line 1734 "src/mongo/db/cst/grammar.yy"
+ case 407: // meta: "object" META "searchScore" "end of object"
+#line 1776 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::meta, CNode{KeyValue::searchScore}}}};
}
-#line 5296 "src/mongo/db/cst/parser_gen.cpp"
+#line 5401 "parser_gen.cpp"
break;
- case 397:
-#line 1737 "src/mongo/db/cst/grammar.yy"
+ case 408: // meta: "object" META "sortKey" "end of object"
+#line 1779 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{
CNode::ObjectChildren{{KeyFieldname::meta, CNode{KeyValue::sortKey}}}};
}
-#line 5304 "src/mongo/db/cst/parser_gen.cpp"
+#line 5409 "parser_gen.cpp"
break;
- case 398:
-#line 1740 "src/mongo/db/cst/grammar.yy"
+ case 409: // meta: "object" META "textScore" "end of object"
+#line 1782 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::meta, CNode{KeyValue::textScore}}}};
}
-#line 5312 "src/mongo/db/cst/parser_gen.cpp"
+#line 5417 "parser_gen.cpp"
break;
- case 399:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 410: // trig: sin
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5318 "src/mongo/db/cst/parser_gen.cpp"
+#line 5423 "parser_gen.cpp"
break;
- case 400:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 411: // trig: cos
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5324 "src/mongo/db/cst/parser_gen.cpp"
+#line 5429 "parser_gen.cpp"
break;
- case 401:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 412: // trig: tan
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5330 "src/mongo/db/cst/parser_gen.cpp"
+#line 5435 "parser_gen.cpp"
break;
- case 402:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 413: // trig: sinh
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5336 "src/mongo/db/cst/parser_gen.cpp"
+#line 5441 "parser_gen.cpp"
break;
- case 403:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 414: // trig: cosh
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5342 "src/mongo/db/cst/parser_gen.cpp"
+#line 5447 "parser_gen.cpp"
break;
- case 404:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 415: // trig: tanh
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5348 "src/mongo/db/cst/parser_gen.cpp"
+#line 5453 "parser_gen.cpp"
break;
- case 405:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 416: // trig: asin
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5354 "src/mongo/db/cst/parser_gen.cpp"
+#line 5459 "parser_gen.cpp"
break;
- case 406:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 417: // trig: acos
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5360 "src/mongo/db/cst/parser_gen.cpp"
+#line 5465 "parser_gen.cpp"
break;
- case 407:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 418: // trig: atan
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5366 "src/mongo/db/cst/parser_gen.cpp"
+#line 5471 "parser_gen.cpp"
break;
- case 408:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 419: // trig: atan2
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5372 "src/mongo/db/cst/parser_gen.cpp"
+#line 5477 "parser_gen.cpp"
break;
- case 409:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 420: // trig: asinh
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5378 "src/mongo/db/cst/parser_gen.cpp"
+#line 5483 "parser_gen.cpp"
break;
- case 410:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 421: // trig: acosh
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5384 "src/mongo/db/cst/parser_gen.cpp"
+#line 5489 "parser_gen.cpp"
break;
- case 411:
-#line 1745 "src/mongo/db/cst/grammar.yy"
+ case 422: // trig: atanh
+#line 1787 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5390 "src/mongo/db/cst/parser_gen.cpp"
+#line 5495 "parser_gen.cpp"
break;
- case 412:
-#line 1746 "src/mongo/db/cst/grammar.yy"
+ case 423: // trig: degreesToRadians
+#line 1788 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5396 "src/mongo/db/cst/parser_gen.cpp"
+#line 5501 "parser_gen.cpp"
break;
- case 413:
-#line 1746 "src/mongo/db/cst/grammar.yy"
+ case 424: // trig: radiansToDegrees
+#line 1788 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5402 "src/mongo/db/cst/parser_gen.cpp"
+#line 5507 "parser_gen.cpp"
break;
- case 414:
-#line 1750 "src/mongo/db/cst/grammar.yy"
+ case 425: // add: "object" ADD expressionArray "end of object"
+#line 1792 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::add, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5411 "src/mongo/db/cst/parser_gen.cpp"
+#line 5516 "parser_gen.cpp"
break;
- case 415:
-#line 1757 "src/mongo/db/cst/grammar.yy"
+ case 426: // atan2: "object" ATAN2 exprFixedTwoArg "end of object"
+#line 1799 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::atan2, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5420 "src/mongo/db/cst/parser_gen.cpp"
+#line 5525 "parser_gen.cpp"
break;
- case 416:
-#line 1763 "src/mongo/db/cst/grammar.yy"
+ case 427: // abs: "object" ABS singleArgExpression "end of object"
+#line 1805 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::abs, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5428 "src/mongo/db/cst/parser_gen.cpp"
+#line 5533 "parser_gen.cpp"
break;
- case 417:
-#line 1768 "src/mongo/db/cst/grammar.yy"
+ case 428: // ceil: "object" CEIL singleArgExpression "end of object"
+#line 1810 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::ceil, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5436 "src/mongo/db/cst/parser_gen.cpp"
+#line 5541 "parser_gen.cpp"
break;
- case 418:
-#line 1773 "src/mongo/db/cst/grammar.yy"
+ case 429: // divide: "object" DIVIDE "array" expression expression "end of
+ // array" "end of object"
+#line 1815 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::divide,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 5445 "src/mongo/db/cst/parser_gen.cpp"
+#line 5550 "parser_gen.cpp"
break;
- case 419:
-#line 1779 "src/mongo/db/cst/grammar.yy"
+ case 430: // exponent: "object" EXPONENT singleArgExpression "end of object"
+#line 1821 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::exponent, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5453 "src/mongo/db/cst/parser_gen.cpp"
+#line 5558 "parser_gen.cpp"
break;
- case 420:
-#line 1784 "src/mongo/db/cst/grammar.yy"
+ case 431: // floor: "object" FLOOR singleArgExpression "end of object"
+#line 1826 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::floor, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5461 "src/mongo/db/cst/parser_gen.cpp"
+#line 5566 "parser_gen.cpp"
break;
- case 421:
-#line 1789 "src/mongo/db/cst/grammar.yy"
+ case 432: // ln: "object" LN singleArgExpression "end of object"
+#line 1831 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::ln, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5469 "src/mongo/db/cst/parser_gen.cpp"
+#line 5574 "parser_gen.cpp"
break;
- case 422:
-#line 1794 "src/mongo/db/cst/grammar.yy"
+ case 433: // log: "object" LOG "array" expression expression "end of array"
+ // "end of object"
+#line 1836 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::log,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 5478 "src/mongo/db/cst/parser_gen.cpp"
+#line 5583 "parser_gen.cpp"
break;
- case 423:
-#line 1800 "src/mongo/db/cst/grammar.yy"
+ case 434: // logten: "object" LOGTEN singleArgExpression "end of object"
+#line 1842 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::logten, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5486 "src/mongo/db/cst/parser_gen.cpp"
+#line 5591 "parser_gen.cpp"
break;
- case 424:
-#line 1805 "src/mongo/db/cst/grammar.yy"
+ case 435: // mod: "object" MOD "array" expression expression "end of array"
+ // "end of object"
+#line 1847 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::mod,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 5495 "src/mongo/db/cst/parser_gen.cpp"
+#line 5600 "parser_gen.cpp"
break;
- case 425:
-#line 1811 "src/mongo/db/cst/grammar.yy"
+ case 436: // multiply: "object" MULTIPLY "array" expression expression
+ // expressions "end of array" "end of object"
+#line 1853 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::multiply,
@@ -5839,469 +5970,666 @@ int ParserGen::parse() {
yylhs.value.as<CNode>().objectChildren()[0].second.arrayChildren();
array.insert(array.end(), others.begin(), others.end());
}
-#line 5507 "src/mongo/db/cst/parser_gen.cpp"
+#line 5612 "parser_gen.cpp"
break;
- case 426:
-#line 1820 "src/mongo/db/cst/grammar.yy"
+ case 437: // pow: "object" POW "array" expression expression "end of array"
+ // "end of object"
+#line 1862 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::pow,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 5516 "src/mongo/db/cst/parser_gen.cpp"
+#line 5621 "parser_gen.cpp"
break;
- case 427:
-#line 1826 "src/mongo/db/cst/grammar.yy"
+ case 438: // round: "object" ROUND "array" expression expression "end of array"
+ // "end of object"
+#line 1868 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::round,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 5525 "src/mongo/db/cst/parser_gen.cpp"
+#line 5630 "parser_gen.cpp"
break;
- case 428:
-#line 1832 "src/mongo/db/cst/grammar.yy"
+ case 439: // sqrt: "object" SQRT singleArgExpression "end of object"
+#line 1874 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::sqrt, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5533 "src/mongo/db/cst/parser_gen.cpp"
+#line 5638 "parser_gen.cpp"
break;
- case 429:
-#line 1837 "src/mongo/db/cst/grammar.yy"
+ case 440: // subtract: "object" SUBTRACT "array" expression expression "end of
+ // array" "end of object"
+#line 1879 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::subtract,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 5542 "src/mongo/db/cst/parser_gen.cpp"
+#line 5647 "parser_gen.cpp"
break;
- case 430:
-#line 1843 "src/mongo/db/cst/grammar.yy"
+ case 441: // trunc: "object" TRUNC "array" expression expression "end of array"
+ // "end of object"
+#line 1885 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::trunc,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 5551 "src/mongo/db/cst/parser_gen.cpp"
+#line 5656 "parser_gen.cpp"
break;
- case 431:
-#line 1849 "src/mongo/db/cst/grammar.yy"
+ case 442: // sin: "object" SIN singleArgExpression "end of object"
+#line 1891 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::sin, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5559 "src/mongo/db/cst/parser_gen.cpp"
+#line 5664 "parser_gen.cpp"
break;
- case 432:
-#line 1854 "src/mongo/db/cst/grammar.yy"
+ case 443: // cos: "object" COS singleArgExpression "end of object"
+#line 1896 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::cos, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5567 "src/mongo/db/cst/parser_gen.cpp"
+#line 5672 "parser_gen.cpp"
break;
- case 433:
-#line 1859 "src/mongo/db/cst/grammar.yy"
+ case 444: // tan: "object" TAN singleArgExpression "end of object"
+#line 1901 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::tan, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5575 "src/mongo/db/cst/parser_gen.cpp"
+#line 5680 "parser_gen.cpp"
break;
- case 434:
-#line 1864 "src/mongo/db/cst/grammar.yy"
+ case 445: // sinh: "object" SINH singleArgExpression "end of object"
+#line 1906 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::sinh, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5583 "src/mongo/db/cst/parser_gen.cpp"
+#line 5688 "parser_gen.cpp"
break;
- case 435:
-#line 1869 "src/mongo/db/cst/grammar.yy"
+ case 446: // cosh: "object" COSH singleArgExpression "end of object"
+#line 1911 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::cosh, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5591 "src/mongo/db/cst/parser_gen.cpp"
+#line 5696 "parser_gen.cpp"
break;
- case 436:
-#line 1874 "src/mongo/db/cst/grammar.yy"
+ case 447: // tanh: "object" TANH singleArgExpression "end of object"
+#line 1916 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::tanh, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5599 "src/mongo/db/cst/parser_gen.cpp"
+#line 5704 "parser_gen.cpp"
break;
- case 437:
-#line 1879 "src/mongo/db/cst/grammar.yy"
+ case 448: // asin: "object" ASIN singleArgExpression "end of object"
+#line 1921 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::asin, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5607 "src/mongo/db/cst/parser_gen.cpp"
+#line 5712 "parser_gen.cpp"
break;
- case 438:
-#line 1884 "src/mongo/db/cst/grammar.yy"
+ case 449: // acos: "object" ACOS singleArgExpression "end of object"
+#line 1926 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::acos, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5615 "src/mongo/db/cst/parser_gen.cpp"
+#line 5720 "parser_gen.cpp"
break;
- case 439:
-#line 1889 "src/mongo/db/cst/grammar.yy"
+ case 450: // atan: "object" ATAN singleArgExpression "end of object"
+#line 1931 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::atan, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5623 "src/mongo/db/cst/parser_gen.cpp"
+#line 5728 "parser_gen.cpp"
break;
- case 440:
-#line 1894 "src/mongo/db/cst/grammar.yy"
+ case 451: // asinh: "object" ASINH singleArgExpression "end of object"
+#line 1936 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::asinh, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5631 "src/mongo/db/cst/parser_gen.cpp"
+#line 5736 "parser_gen.cpp"
break;
- case 441:
-#line 1899 "src/mongo/db/cst/grammar.yy"
+ case 452: // acosh: "object" ACOSH singleArgExpression "end of object"
+#line 1941 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::acosh, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5639 "src/mongo/db/cst/parser_gen.cpp"
+#line 5744 "parser_gen.cpp"
break;
- case 442:
-#line 1904 "src/mongo/db/cst/grammar.yy"
+ case 453: // atanh: "object" ATANH singleArgExpression "end of object"
+#line 1946 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::atanh, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5647 "src/mongo/db/cst/parser_gen.cpp"
+#line 5752 "parser_gen.cpp"
break;
- case 443:
-#line 1909 "src/mongo/db/cst/grammar.yy"
+ case 454: // degreesToRadians: "object" DEGREES_TO_RADIANS singleArgExpression
+ // "end of object"
+#line 1951 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{CNode::ObjectChildren{{KeyFieldname::degreesToRadians,
YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5655 "src/mongo/db/cst/parser_gen.cpp"
+#line 5760 "parser_gen.cpp"
break;
- case 444:
-#line 1914 "src/mongo/db/cst/grammar.yy"
+ case 455: // radiansToDegrees: "object" RADIANS_TO_DEGREES singleArgExpression
+ // "end of object"
+#line 1956 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{CNode::ObjectChildren{{KeyFieldname::radiansToDegrees,
YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5663 "src/mongo/db/cst/parser_gen.cpp"
+#line 5768 "parser_gen.cpp"
break;
- case 445:
-#line 1920 "src/mongo/db/cst/grammar.yy"
+ case 456: // boolExprs: and
+#line 1962 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5669 "src/mongo/db/cst/parser_gen.cpp"
+#line 5774 "parser_gen.cpp"
break;
- case 446:
-#line 1920 "src/mongo/db/cst/grammar.yy"
+ case 457: // boolExprs: or
+#line 1962 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5675 "src/mongo/db/cst/parser_gen.cpp"
+#line 5780 "parser_gen.cpp"
break;
- case 447:
-#line 1920 "src/mongo/db/cst/grammar.yy"
+ case 458: // boolExprs: not
+#line 1962 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5681 "src/mongo/db/cst/parser_gen.cpp"
+#line 5786 "parser_gen.cpp"
break;
- case 448:
-#line 1924 "src/mongo/db/cst/grammar.yy"
+ case 459: // and: "object" AND expressionArray "end of object"
+#line 1966 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::andExpr, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5690 "src/mongo/db/cst/parser_gen.cpp"
+#line 5795 "parser_gen.cpp"
break;
- case 449:
-#line 1931 "src/mongo/db/cst/grammar.yy"
+ case 460: // or: "object" OR expressionArray "end of object"
+#line 1973 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::orExpr, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 5699 "src/mongo/db/cst/parser_gen.cpp"
+#line 5804 "parser_gen.cpp"
break;
- case 450:
-#line 1938 "src/mongo/db/cst/grammar.yy"
+ case 461: // not: "object" NOT "array" expression "end of array" "end of
+ // object"
+#line 1980 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::notExpr,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 5708 "src/mongo/db/cst/parser_gen.cpp"
+#line 5813 "parser_gen.cpp"
break;
- case 451:
-#line 1945 "src/mongo/db/cst/grammar.yy"
+ case 462: // arrayExps: arrayElemAt
+#line 1987 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5714 "src/mongo/db/cst/parser_gen.cpp"
+#line 5819 "parser_gen.cpp"
break;
- case 452:
-#line 1945 "src/mongo/db/cst/grammar.yy"
+ case 463: // arrayExps: arrayToObject
+#line 1987 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5720 "src/mongo/db/cst/parser_gen.cpp"
+#line 5825 "parser_gen.cpp"
break;
- case 453:
-#line 1945 "src/mongo/db/cst/grammar.yy"
+ case 464: // arrayExps: concatArrays
+#line 1987 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5726 "src/mongo/db/cst/parser_gen.cpp"
+#line 5831 "parser_gen.cpp"
break;
- case 454:
-#line 1945 "src/mongo/db/cst/grammar.yy"
+ case 465: // arrayExps: filter
+#line 1987 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5732 "src/mongo/db/cst/parser_gen.cpp"
+#line 5837 "parser_gen.cpp"
break;
- case 455:
-#line 1945 "src/mongo/db/cst/grammar.yy"
+ case 466: // arrayExps: first
+#line 1987 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5738 "src/mongo/db/cst/parser_gen.cpp"
+#line 5843 "parser_gen.cpp"
break;
- case 456:
-#line 1945 "src/mongo/db/cst/grammar.yy"
+ case 467: // arrayExps: in
+#line 1987 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5744 "src/mongo/db/cst/parser_gen.cpp"
+#line 5849 "parser_gen.cpp"
break;
- case 457:
-#line 1945 "src/mongo/db/cst/grammar.yy"
+ case 468: // arrayExps: indexOfArray
+#line 1987 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5750 "src/mongo/db/cst/parser_gen.cpp"
+#line 5855 "parser_gen.cpp"
break;
- case 458:
-#line 1946 "src/mongo/db/cst/grammar.yy"
+ case 469: // arrayExps: isArray
+#line 1987 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5756 "src/mongo/db/cst/parser_gen.cpp"
+#line 5861 "parser_gen.cpp"
+ break;
+
+ case 470: // arrayElemAt: "object" ARRAY_ELEM_AT exprFixedTwoArg "end of
+ // object"
+#line 1991 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::arrayElemAt, YY_MOVE(yystack_[1].value.as<CNode>())}}};
+ }
+#line 5870 "parser_gen.cpp"
+ break;
+
+ case 471: // arrayToObject: "object" ARRAY_TO_OBJECT expression "end of object"
+#line 1998 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::arrayToObject, YY_MOVE(yystack_[1].value.as<CNode>())}}};
+ }
+#line 5878 "parser_gen.cpp"
+ break;
+
+ case 472: // concatArrays: "object" CONCAT_ARRAYS "array" expressions "end of
+ // array" "end of object"
+#line 2004 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::concatArrays,
+ CNode{YY_MOVE(yystack_[2].value.as<std::vector<CNode>>())}}}};
+ }
+#line 5887 "parser_gen.cpp"
+ break;
+
+ case 473: // asArg: %empty
+#line 2011 "grammar.yy"
+ {
+ yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
+ std::pair{KeyFieldname::asArg, CNode{KeyValue::absentKey}};
+ }
+#line 5895 "parser_gen.cpp"
+ break;
+
+ case 474: // asArg: "as argument" string
+#line 2014 "grammar.yy"
+ {
+ yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
+ std::pair{KeyFieldname::asArg, YY_MOVE(yystack_[0].value.as<CNode>())};
+ }
+#line 5903 "parser_gen.cpp"
+ break;
+
+ case 475: // filter: "object" FILTER START_ORDERED_OBJECT asArg "cond argument"
+ // expression "input argument" expression "end of object" "end of
+ // object"
+#line 2020 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::filter,
+ CNode{CNode::ObjectChildren{
+ YY_MOVE(
+ yystack_[6].value.as<std::pair<CNode::Fieldname, CNode>>()),
+ {KeyFieldname::condArg, YY_MOVE(yystack_[4].value.as<CNode>())},
+ {KeyFieldname::inputArg,
+ YY_MOVE(yystack_[2].value.as<CNode>())}}}}}};
+ }
+#line 5912 "parser_gen.cpp"
+ break;
+
+ case 476: // first: "object" FIRST expression "end of object"
+#line 2027 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::first, YY_MOVE(yystack_[1].value.as<CNode>())}}};
+ }
+#line 5920 "parser_gen.cpp"
+ break;
+
+ case 477: // in: "object" IN exprFixedTwoArg "end of object"
+#line 2033 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::in, YY_MOVE(yystack_[1].value.as<CNode>())}}};
+ }
+#line 5929 "parser_gen.cpp"
+ break;
+
+ case 478: // indexOfArray: "object" INDEX_OF_ARRAY "array" expression
+ // expression expression expression "end of array" "end of object"
+#line 2041 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::indexOfArray,
+ CNode{CNode::ArrayChildren{YY_MOVE(yystack_[5].value.as<CNode>()),
+ YY_MOVE(yystack_[4].value.as<CNode>()),
+ YY_MOVE(yystack_[3].value.as<CNode>()),
+ YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
+ }
+#line 5938 "parser_gen.cpp"
+ break;
+
+ case 479: // indexOfArray: "object" INDEX_OF_ARRAY exprFixedTwoArg "end of
+ // object"
+#line 2045 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::indexOfArray, YY_MOVE(yystack_[1].value.as<CNode>())}}};
+ }
+#line 5947 "parser_gen.cpp"
break;
- case 459:
-#line 1946 "src/mongo/db/cst/grammar.yy"
+ case 480: // indexOfArray: "object" INDEX_OF_ARRAY exprFixedThreeArg "end of
+ // object"
+#line 2049 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::indexOfArray, YY_MOVE(yystack_[1].value.as<CNode>())}}};
+ }
+#line 5956 "parser_gen.cpp"
+ break;
+
+ case 481: // isArray: "object" IS_ARRAY singleArgExpression "end of object"
+#line 2056 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
+ {KeyFieldname::isArray, YY_MOVE(yystack_[1].value.as<CNode>())}}};
+ }
+#line 5964 "parser_gen.cpp"
+ break;
+
+ case 482: // stringExps: concat
+#line 2062 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
+ }
+#line 5970 "parser_gen.cpp"
+ break;
+
+ case 483: // stringExps: dateFromString
+#line 2062 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
+ }
+#line 5976 "parser_gen.cpp"
+ break;
+
+ case 484: // stringExps: dateToString
+#line 2062 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
+ }
+#line 5982 "parser_gen.cpp"
+ break;
+
+ case 485: // stringExps: indexOfBytes
+#line 2062 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
+ }
+#line 5988 "parser_gen.cpp"
+ break;
+
+ case 486: // stringExps: indexOfCP
+#line 2062 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
+ }
+#line 5994 "parser_gen.cpp"
+ break;
+
+ case 487: // stringExps: ltrim
+#line 2062 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
+ }
+#line 6000 "parser_gen.cpp"
+ break;
+
+ case 488: // stringExps: regexFind
+#line 2062 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
+ }
+#line 6006 "parser_gen.cpp"
+ break;
+
+ case 489: // stringExps: regexFindAll
+#line 2063 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5762 "src/mongo/db/cst/parser_gen.cpp"
+#line 6012 "parser_gen.cpp"
break;
- case 460:
-#line 1946 "src/mongo/db/cst/grammar.yy"
+ case 490: // stringExps: regexMatch
+#line 2063 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5768 "src/mongo/db/cst/parser_gen.cpp"
+#line 6018 "parser_gen.cpp"
break;
- case 461:
-#line 1946 "src/mongo/db/cst/grammar.yy"
+ case 491: // stringExps: replaceOne
+#line 2063 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5774 "src/mongo/db/cst/parser_gen.cpp"
+#line 6024 "parser_gen.cpp"
break;
- case 462:
-#line 1946 "src/mongo/db/cst/grammar.yy"
+ case 492: // stringExps: replaceAll
+#line 2063 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5780 "src/mongo/db/cst/parser_gen.cpp"
+#line 6030 "parser_gen.cpp"
break;
- case 463:
-#line 1946 "src/mongo/db/cst/grammar.yy"
+ case 493: // stringExps: rtrim
+#line 2063 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5786 "src/mongo/db/cst/parser_gen.cpp"
+#line 6036 "parser_gen.cpp"
break;
- case 464:
-#line 1946 "src/mongo/db/cst/grammar.yy"
+ case 494: // stringExps: split
+#line 2063 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5792 "src/mongo/db/cst/parser_gen.cpp"
+#line 6042 "parser_gen.cpp"
break;
- case 465:
-#line 1946 "src/mongo/db/cst/grammar.yy"
+ case 495: // stringExps: strLenBytes
+#line 2063 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5798 "src/mongo/db/cst/parser_gen.cpp"
+#line 6048 "parser_gen.cpp"
break;
- case 466:
-#line 1947 "src/mongo/db/cst/grammar.yy"
+ case 496: // stringExps: strLenCP
+#line 2063 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5804 "src/mongo/db/cst/parser_gen.cpp"
+#line 6054 "parser_gen.cpp"
break;
- case 467:
-#line 1947 "src/mongo/db/cst/grammar.yy"
+ case 497: // stringExps: strcasecmp
+#line 2064 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5810 "src/mongo/db/cst/parser_gen.cpp"
+#line 6060 "parser_gen.cpp"
break;
- case 468:
-#line 1947 "src/mongo/db/cst/grammar.yy"
+ case 498: // stringExps: substr
+#line 2064 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5816 "src/mongo/db/cst/parser_gen.cpp"
+#line 6066 "parser_gen.cpp"
break;
- case 469:
-#line 1947 "src/mongo/db/cst/grammar.yy"
+ case 499: // stringExps: substrBytes
+#line 2064 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5822 "src/mongo/db/cst/parser_gen.cpp"
+#line 6072 "parser_gen.cpp"
break;
- case 470:
-#line 1947 "src/mongo/db/cst/grammar.yy"
+ case 500: // stringExps: substrCP
+#line 2064 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5828 "src/mongo/db/cst/parser_gen.cpp"
+#line 6078 "parser_gen.cpp"
break;
- case 471:
-#line 1947 "src/mongo/db/cst/grammar.yy"
+ case 501: // stringExps: toLower
+#line 2064 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5834 "src/mongo/db/cst/parser_gen.cpp"
+#line 6084 "parser_gen.cpp"
break;
- case 472:
-#line 1947 "src/mongo/db/cst/grammar.yy"
+ case 502: // stringExps: trim
+#line 2064 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5840 "src/mongo/db/cst/parser_gen.cpp"
+#line 6090 "parser_gen.cpp"
break;
- case 473:
-#line 1951 "src/mongo/db/cst/grammar.yy"
+ case 503: // stringExps: toUpper
+#line 2064 "grammar.yy"
+ {
+ yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
+ }
+#line 6096 "parser_gen.cpp"
+ break;
+
+ case 504: // concat: "object" CONCAT "array" expressions "end of array" "end of
+ // object"
+#line 2068 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
- {KeyFieldname::concat, CNode{CNode::ArrayChildren{}}}}};
- auto&& others = YY_MOVE(yystack_[2].value.as<std::vector<CNode>>());
- auto&& array =
- yylhs.value.as<CNode>().objectChildren()[0].second.arrayChildren();
- array.insert(array.end(), others.begin(), others.end());
+ {KeyFieldname::concat,
+ CNode{YY_MOVE(yystack_[2].value.as<std::vector<CNode>>())}}}};
}
-#line 5852 "src/mongo/db/cst/parser_gen.cpp"
+#line 6105 "parser_gen.cpp"
break;
- case 474:
-#line 1961 "src/mongo/db/cst/grammar.yy"
+ case 505: // formatArg: %empty
+#line 2075 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::formatArg, CNode{KeyValue::absentKey}};
}
-#line 5860 "src/mongo/db/cst/parser_gen.cpp"
+#line 6113 "parser_gen.cpp"
break;
- case 475:
-#line 1964 "src/mongo/db/cst/grammar.yy"
+ case 506: // formatArg: "format argument" expression
+#line 2078 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::formatArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 5868 "src/mongo/db/cst/parser_gen.cpp"
+#line 6121 "parser_gen.cpp"
break;
- case 476:
-#line 1970 "src/mongo/db/cst/grammar.yy"
+ case 507: // timezoneArg: %empty
+#line 2084 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::timezoneArg, CNode{KeyValue::absentKey}};
}
-#line 5876 "src/mongo/db/cst/parser_gen.cpp"
+#line 6129 "parser_gen.cpp"
break;
- case 477:
-#line 1973 "src/mongo/db/cst/grammar.yy"
+ case 508: // timezoneArg: "timezone argument" expression
+#line 2087 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::timezoneArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 5884 "src/mongo/db/cst/parser_gen.cpp"
+#line 6137 "parser_gen.cpp"
break;
- case 478:
-#line 1981 "src/mongo/db/cst/grammar.yy"
+ case 509: // dateFromString: "object" DATE_FROM_STRING START_ORDERED_OBJECT
+ // "dateString argument" expression formatArg timezoneArg onErrorArg
+ // onNullArg "end of object" "end of object"
+#line 2095 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dateFromString,
@@ -6317,11 +6645,13 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 5894 "src/mongo/db/cst/parser_gen.cpp"
+#line 6147 "parser_gen.cpp"
break;
- case 479:
-#line 1990 "src/mongo/db/cst/grammar.yy"
+ case 510: // dateToString: "object" DATE_TO_STRING START_ORDERED_OBJECT "date
+ // argument" expression formatArg timezoneArg onNullArg "end of
+ // object" "end of object"
+#line 2104 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dateToString,
@@ -6334,293 +6664,296 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 5904 "src/mongo/db/cst/parser_gen.cpp"
+#line 6157 "parser_gen.cpp"
break;
- case 480:
-#line 1998 "src/mongo/db/cst/grammar.yy"
+ case 511: // dateExps: dateFromParts
+#line 2112 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5910 "src/mongo/db/cst/parser_gen.cpp"
+#line 6163 "parser_gen.cpp"
break;
- case 481:
-#line 1998 "src/mongo/db/cst/grammar.yy"
+ case 512: // dateExps: dateToParts
+#line 2112 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5916 "src/mongo/db/cst/parser_gen.cpp"
+#line 6169 "parser_gen.cpp"
break;
- case 482:
-#line 1998 "src/mongo/db/cst/grammar.yy"
+ case 513: // dateExps: dayOfMonth
+#line 2112 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5922 "src/mongo/db/cst/parser_gen.cpp"
+#line 6175 "parser_gen.cpp"
break;
- case 483:
-#line 1998 "src/mongo/db/cst/grammar.yy"
+ case 514: // dateExps: dayOfWeek
+#line 2112 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5928 "src/mongo/db/cst/parser_gen.cpp"
+#line 6181 "parser_gen.cpp"
break;
- case 484:
-#line 1998 "src/mongo/db/cst/grammar.yy"
+ case 515: // dateExps: dayOfYear
+#line 2112 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5934 "src/mongo/db/cst/parser_gen.cpp"
+#line 6187 "parser_gen.cpp"
break;
- case 485:
-#line 1998 "src/mongo/db/cst/grammar.yy"
+ case 516: // dateExps: hour
+#line 2112 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5940 "src/mongo/db/cst/parser_gen.cpp"
+#line 6193 "parser_gen.cpp"
break;
- case 486:
-#line 1998 "src/mongo/db/cst/grammar.yy"
+ case 517: // dateExps: isoDayOfWeek
+#line 2112 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5946 "src/mongo/db/cst/parser_gen.cpp"
+#line 6199 "parser_gen.cpp"
break;
- case 487:
-#line 1998 "src/mongo/db/cst/grammar.yy"
+ case 518: // dateExps: isoWeek
+#line 2112 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5952 "src/mongo/db/cst/parser_gen.cpp"
+#line 6205 "parser_gen.cpp"
break;
- case 488:
-#line 1998 "src/mongo/db/cst/grammar.yy"
+ case 519: // dateExps: isoWeekYear
+#line 2112 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5958 "src/mongo/db/cst/parser_gen.cpp"
+#line 6211 "parser_gen.cpp"
break;
- case 489:
-#line 1999 "src/mongo/db/cst/grammar.yy"
+ case 520: // dateExps: millisecond
+#line 2113 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5964 "src/mongo/db/cst/parser_gen.cpp"
+#line 6217 "parser_gen.cpp"
break;
- case 490:
-#line 1999 "src/mongo/db/cst/grammar.yy"
+ case 521: // dateExps: minute
+#line 2113 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5970 "src/mongo/db/cst/parser_gen.cpp"
+#line 6223 "parser_gen.cpp"
break;
- case 491:
-#line 1999 "src/mongo/db/cst/grammar.yy"
+ case 522: // dateExps: month
+#line 2113 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5976 "src/mongo/db/cst/parser_gen.cpp"
+#line 6229 "parser_gen.cpp"
break;
- case 492:
-#line 1999 "src/mongo/db/cst/grammar.yy"
+ case 523: // dateExps: second
+#line 2113 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5982 "src/mongo/db/cst/parser_gen.cpp"
+#line 6235 "parser_gen.cpp"
break;
- case 493:
-#line 1999 "src/mongo/db/cst/grammar.yy"
+ case 524: // dateExps: week
+#line 2113 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5988 "src/mongo/db/cst/parser_gen.cpp"
+#line 6241 "parser_gen.cpp"
break;
- case 494:
-#line 1999 "src/mongo/db/cst/grammar.yy"
+ case 525: // dateExps: year
+#line 2113 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 5994 "src/mongo/db/cst/parser_gen.cpp"
+#line 6247 "parser_gen.cpp"
break;
- case 495:
-#line 2003 "src/mongo/db/cst/grammar.yy"
+ case 526: // hourArg: %empty
+#line 2117 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::hourArg, CNode{KeyValue::absentKey}};
}
-#line 6002 "src/mongo/db/cst/parser_gen.cpp"
+#line 6255 "parser_gen.cpp"
break;
- case 496:
-#line 2006 "src/mongo/db/cst/grammar.yy"
+ case 527: // hourArg: "hour argument" expression
+#line 2120 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::hourArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6010 "src/mongo/db/cst/parser_gen.cpp"
+#line 6263 "parser_gen.cpp"
break;
- case 497:
-#line 2012 "src/mongo/db/cst/grammar.yy"
+ case 528: // minuteArg: %empty
+#line 2126 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::minuteArg, CNode{KeyValue::absentKey}};
}
-#line 6018 "src/mongo/db/cst/parser_gen.cpp"
+#line 6271 "parser_gen.cpp"
break;
- case 498:
-#line 2015 "src/mongo/db/cst/grammar.yy"
+ case 529: // minuteArg: "minute argument" expression
+#line 2129 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::minuteArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6026 "src/mongo/db/cst/parser_gen.cpp"
+#line 6279 "parser_gen.cpp"
break;
- case 499:
-#line 2021 "src/mongo/db/cst/grammar.yy"
+ case 530: // secondArg: %empty
+#line 2135 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::secondArg, CNode{KeyValue::absentKey}};
}
-#line 6034 "src/mongo/db/cst/parser_gen.cpp"
+#line 6287 "parser_gen.cpp"
break;
- case 500:
-#line 2024 "src/mongo/db/cst/grammar.yy"
+ case 531: // secondArg: "second argument" expression
+#line 2138 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::secondArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6042 "src/mongo/db/cst/parser_gen.cpp"
+#line 6295 "parser_gen.cpp"
break;
- case 501:
-#line 2030 "src/mongo/db/cst/grammar.yy"
+ case 532: // millisecondArg: %empty
+#line 2144 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::millisecondArg, CNode{KeyValue::absentKey}};
}
-#line 6050 "src/mongo/db/cst/parser_gen.cpp"
+#line 6303 "parser_gen.cpp"
break;
- case 502:
-#line 2033 "src/mongo/db/cst/grammar.yy"
+ case 533: // millisecondArg: "millisecond argument" expression
+#line 2147 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::millisecondArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6058 "src/mongo/db/cst/parser_gen.cpp"
+#line 6311 "parser_gen.cpp"
break;
- case 503:
-#line 2039 "src/mongo/db/cst/grammar.yy"
+ case 534: // dayArg: %empty
+#line 2153 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::dayArg, CNode{KeyValue::absentKey}};
}
-#line 6066 "src/mongo/db/cst/parser_gen.cpp"
+#line 6319 "parser_gen.cpp"
break;
- case 504:
-#line 2042 "src/mongo/db/cst/grammar.yy"
+ case 535: // dayArg: "day argument" expression
+#line 2156 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::dayArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6074 "src/mongo/db/cst/parser_gen.cpp"
+#line 6327 "parser_gen.cpp"
break;
- case 505:
-#line 2048 "src/mongo/db/cst/grammar.yy"
+ case 536: // isoDayOfWeekArg: %empty
+#line 2162 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::isoDayOfWeekArg, CNode{KeyValue::absentKey}};
}
-#line 6082 "src/mongo/db/cst/parser_gen.cpp"
+#line 6335 "parser_gen.cpp"
break;
- case 506:
-#line 2051 "src/mongo/db/cst/grammar.yy"
+ case 537: // isoDayOfWeekArg: "ISO day of week argument" expression
+#line 2165 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::isoDayOfWeekArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6090 "src/mongo/db/cst/parser_gen.cpp"
+#line 6343 "parser_gen.cpp"
break;
- case 507:
-#line 2057 "src/mongo/db/cst/grammar.yy"
+ case 538: // isoWeekArg: %empty
+#line 2171 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::isoWeekArg, CNode{KeyValue::absentKey}};
}
-#line 6098 "src/mongo/db/cst/parser_gen.cpp"
+#line 6351 "parser_gen.cpp"
break;
- case 508:
-#line 2060 "src/mongo/db/cst/grammar.yy"
+ case 539: // isoWeekArg: "ISO week argument" expression
+#line 2174 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::isoWeekArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6106 "src/mongo/db/cst/parser_gen.cpp"
+#line 6359 "parser_gen.cpp"
break;
- case 509:
-#line 2066 "src/mongo/db/cst/grammar.yy"
+ case 540: // iso8601Arg: %empty
+#line 2180 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::iso8601Arg, CNode{KeyValue::falseKey}};
}
-#line 6114 "src/mongo/db/cst/parser_gen.cpp"
+#line 6367 "parser_gen.cpp"
break;
- case 510:
-#line 2069 "src/mongo/db/cst/grammar.yy"
+ case 541: // iso8601Arg: "ISO 8601 argument" bool
+#line 2183 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::iso8601Arg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6122 "src/mongo/db/cst/parser_gen.cpp"
+#line 6375 "parser_gen.cpp"
break;
- case 511:
-#line 2075 "src/mongo/db/cst/grammar.yy"
+ case 542: // monthArg: %empty
+#line 2189 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::monthArg, CNode{KeyValue::absentKey}};
}
-#line 6130 "src/mongo/db/cst/parser_gen.cpp"
+#line 6383 "parser_gen.cpp"
break;
- case 512:
-#line 2078 "src/mongo/db/cst/grammar.yy"
+ case 543: // monthArg: "month argument" expression
+#line 2192 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::monthArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6138 "src/mongo/db/cst/parser_gen.cpp"
+#line 6391 "parser_gen.cpp"
break;
- case 513:
-#line 2085 "src/mongo/db/cst/grammar.yy"
+ case 544: // dateFromParts: "object" DATE_FROM_PARTS START_ORDERED_OBJECT
+ // dayArg hourArg millisecondArg minuteArg monthArg secondArg
+ // timezoneArg "year argument" expression "end of object" "end of
+ // object"
+#line 2199 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dateFromParts,
@@ -6641,11 +6974,14 @@ int ParserGen::parse() {
YY_MOVE(yystack_[4]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6148 "src/mongo/db/cst/parser_gen.cpp"
+#line 6401 "parser_gen.cpp"
break;
- case 514:
-#line 2091 "src/mongo/db/cst/grammar.yy"
+ case 545: // dateFromParts: "object" DATE_FROM_PARTS START_ORDERED_OBJECT
+ // dayArg hourArg isoDayOfWeekArg isoWeekArg "ISO week year argument"
+ // expression millisecondArg minuteArg monthArg secondArg timezoneArg
+ // "end of object" "end of object"
+#line 2205 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dateFromParts,
@@ -6667,11 +7003,13 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6158 "src/mongo/db/cst/parser_gen.cpp"
+#line 6411 "parser_gen.cpp"
break;
- case 515:
-#line 2099 "src/mongo/db/cst/grammar.yy"
+ case 546: // dateToParts: "object" DATE_TO_PARTS START_ORDERED_OBJECT "date
+ // argument" expression iso8601Arg timezoneArg "end of object" "end
+ // of object"
+#line 2213 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dateToParts,
@@ -6682,20 +7020,22 @@ int ParserGen::parse() {
YY_MOVE(yystack_[3]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6168 "src/mongo/db/cst/parser_gen.cpp"
+#line 6421 "parser_gen.cpp"
break;
- case 516:
-#line 2107 "src/mongo/db/cst/grammar.yy"
+ case 547: // dayOfMonth: "object" DAY_OF_MONTH nonArrayNonObjExpression "end of
+ // object"
+#line 2221 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dayOfMonth, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6176 "src/mongo/db/cst/parser_gen.cpp"
+#line 6429 "parser_gen.cpp"
break;
- case 517:
-#line 2110 "src/mongo/db/cst/grammar.yy"
+ case 548: // dayOfMonth: "object" DAY_OF_MONTH START_ORDERED_OBJECT "date
+ // argument" expression timezoneArg "end of object" "end of object"
+#line 2224 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dayOfMonth,
@@ -6704,30 +7044,33 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6185 "src/mongo/db/cst/parser_gen.cpp"
+#line 6438 "parser_gen.cpp"
break;
- case 518:
-#line 2114 "src/mongo/db/cst/grammar.yy"
+ case 549: // dayOfMonth: "object" DAY_OF_MONTH expressionSingletonArray "end of
+ // object"
+#line 2228 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dayOfMonth, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6193 "src/mongo/db/cst/parser_gen.cpp"
+#line 6446 "parser_gen.cpp"
break;
- case 519:
-#line 2120 "src/mongo/db/cst/grammar.yy"
+ case 550: // dayOfWeek: "object" DAY_OF_WEEK nonArrayNonObjExpression "end of
+ // object"
+#line 2234 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dayOfWeek, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6202 "src/mongo/db/cst/parser_gen.cpp"
+#line 6455 "parser_gen.cpp"
break;
- case 520:
-#line 2124 "src/mongo/db/cst/grammar.yy"
+ case 551: // dayOfWeek: "object" DAY_OF_WEEK START_ORDERED_OBJECT "date
+ // argument" expression timezoneArg "end of object" "end of object"
+#line 2238 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dayOfWeek,
@@ -6736,30 +7079,33 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6211 "src/mongo/db/cst/parser_gen.cpp"
+#line 6464 "parser_gen.cpp"
break;
- case 521:
-#line 2128 "src/mongo/db/cst/grammar.yy"
+ case 552: // dayOfWeek: "object" DAY_OF_WEEK expressionSingletonArray "end of
+ // object"
+#line 2242 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dayOfWeek, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6219 "src/mongo/db/cst/parser_gen.cpp"
+#line 6472 "parser_gen.cpp"
break;
- case 522:
-#line 2134 "src/mongo/db/cst/grammar.yy"
+ case 553: // isoDayOfWeek: "object" ISO_DAY_OF_WEEK nonArrayNonObjExpression
+ // "end of object"
+#line 2248 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::isoDayOfWeek, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6228 "src/mongo/db/cst/parser_gen.cpp"
+#line 6481 "parser_gen.cpp"
break;
- case 523:
-#line 2138 "src/mongo/db/cst/grammar.yy"
+ case 554: // isoDayOfWeek: "object" ISO_DAY_OF_WEEK START_ORDERED_OBJECT "date
+ // argument" expression timezoneArg "end of object" "end of object"
+#line 2252 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::isoDayOfWeek,
@@ -6768,30 +7114,33 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6237 "src/mongo/db/cst/parser_gen.cpp"
+#line 6490 "parser_gen.cpp"
break;
- case 524:
-#line 2142 "src/mongo/db/cst/grammar.yy"
+ case 555: // isoDayOfWeek: "object" ISO_DAY_OF_WEEK expressionSingletonArray
+ // "end of object"
+#line 2256 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::isoDayOfWeek, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6245 "src/mongo/db/cst/parser_gen.cpp"
+#line 6498 "parser_gen.cpp"
break;
- case 525:
-#line 2148 "src/mongo/db/cst/grammar.yy"
+ case 556: // dayOfYear: "object" DAY_OF_YEAR nonArrayNonObjExpression "end of
+ // object"
+#line 2262 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dayOfYear, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6254 "src/mongo/db/cst/parser_gen.cpp"
+#line 6507 "parser_gen.cpp"
break;
- case 526:
-#line 2152 "src/mongo/db/cst/grammar.yy"
+ case 557: // dayOfYear: "object" DAY_OF_YEAR START_ORDERED_OBJECT "date
+ // argument" expression timezoneArg "end of object" "end of object"
+#line 2266 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dayOfYear,
@@ -6800,30 +7149,32 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6263 "src/mongo/db/cst/parser_gen.cpp"
+#line 6516 "parser_gen.cpp"
break;
- case 527:
-#line 2156 "src/mongo/db/cst/grammar.yy"
+ case 558: // dayOfYear: "object" DAY_OF_YEAR expressionSingletonArray "end of
+ // object"
+#line 2270 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::dayOfYear, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6271 "src/mongo/db/cst/parser_gen.cpp"
+#line 6524 "parser_gen.cpp"
break;
- case 528:
-#line 2162 "src/mongo/db/cst/grammar.yy"
+ case 559: // hour: "object" HOUR nonArrayNonObjExpression "end of object"
+#line 2276 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::hour, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6280 "src/mongo/db/cst/parser_gen.cpp"
+#line 6533 "parser_gen.cpp"
break;
- case 529:
-#line 2166 "src/mongo/db/cst/grammar.yy"
+ case 560: // hour: "object" HOUR START_ORDERED_OBJECT "date argument"
+ // expression timezoneArg "end of object" "end of object"
+#line 2280 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::hour,
@@ -6832,30 +7183,31 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6289 "src/mongo/db/cst/parser_gen.cpp"
+#line 6542 "parser_gen.cpp"
break;
- case 530:
-#line 2170 "src/mongo/db/cst/grammar.yy"
+ case 561: // hour: "object" HOUR expressionSingletonArray "end of object"
+#line 2284 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::hour, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6297 "src/mongo/db/cst/parser_gen.cpp"
+#line 6550 "parser_gen.cpp"
break;
- case 531:
-#line 2176 "src/mongo/db/cst/grammar.yy"
+ case 562: // month: "object" MONTH nonArrayNonObjExpression "end of object"
+#line 2290 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::month, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6306 "src/mongo/db/cst/parser_gen.cpp"
+#line 6559 "parser_gen.cpp"
break;
- case 532:
-#line 2180 "src/mongo/db/cst/grammar.yy"
+ case 563: // month: "object" MONTH START_ORDERED_OBJECT "date argument"
+ // expression timezoneArg "end of object" "end of object"
+#line 2294 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::month,
@@ -6864,30 +7216,31 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6315 "src/mongo/db/cst/parser_gen.cpp"
+#line 6568 "parser_gen.cpp"
break;
- case 533:
-#line 2184 "src/mongo/db/cst/grammar.yy"
+ case 564: // month: "object" MONTH expressionSingletonArray "end of object"
+#line 2298 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::month, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6323 "src/mongo/db/cst/parser_gen.cpp"
+#line 6576 "parser_gen.cpp"
break;
- case 534:
-#line 2190 "src/mongo/db/cst/grammar.yy"
+ case 565: // week: "object" WEEK nonArrayNonObjExpression "end of object"
+#line 2304 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::week, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6332 "src/mongo/db/cst/parser_gen.cpp"
+#line 6585 "parser_gen.cpp"
break;
- case 535:
-#line 2194 "src/mongo/db/cst/grammar.yy"
+ case 566: // week: "object" WEEK START_ORDERED_OBJECT "date argument"
+ // expression timezoneArg "end of object" "end of object"
+#line 2308 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::week,
@@ -6896,30 +7249,32 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6341 "src/mongo/db/cst/parser_gen.cpp"
+#line 6594 "parser_gen.cpp"
break;
- case 536:
-#line 2198 "src/mongo/db/cst/grammar.yy"
+ case 567: // week: "object" WEEK expressionSingletonArray "end of object"
+#line 2312 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::week, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6349 "src/mongo/db/cst/parser_gen.cpp"
+#line 6602 "parser_gen.cpp"
break;
- case 537:
-#line 2204 "src/mongo/db/cst/grammar.yy"
+ case 568: // isoWeek: "object" ISO_WEEK nonArrayNonObjExpression "end of
+ // object"
+#line 2318 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::isoWeek, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6358 "src/mongo/db/cst/parser_gen.cpp"
+#line 6611 "parser_gen.cpp"
break;
- case 538:
-#line 2208 "src/mongo/db/cst/grammar.yy"
+ case 569: // isoWeek: "object" ISO_WEEK START_ORDERED_OBJECT "date argument"
+ // expression timezoneArg "end of object" "end of object"
+#line 2322 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::isoWeek,
@@ -6928,30 +7283,33 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6367 "src/mongo/db/cst/parser_gen.cpp"
+#line 6620 "parser_gen.cpp"
break;
- case 539:
-#line 2212 "src/mongo/db/cst/grammar.yy"
+ case 570: // isoWeek: "object" ISO_WEEK expressionSingletonArray "end of
+ // object"
+#line 2326 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::isoWeek, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6375 "src/mongo/db/cst/parser_gen.cpp"
+#line 6628 "parser_gen.cpp"
break;
- case 540:
-#line 2218 "src/mongo/db/cst/grammar.yy"
+ case 571: // isoWeekYear: "object" ISO_WEEK_YEAR nonArrayNonObjExpression "end
+ // of object"
+#line 2332 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::isoWeekYear, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6384 "src/mongo/db/cst/parser_gen.cpp"
+#line 6637 "parser_gen.cpp"
break;
- case 541:
-#line 2222 "src/mongo/db/cst/grammar.yy"
+ case 572: // isoWeekYear: "object" ISO_WEEK_YEAR START_ORDERED_OBJECT "date
+ // argument" expression timezoneArg "end of object" "end of object"
+#line 2336 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::isoWeekYear,
@@ -6960,30 +7318,32 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6393 "src/mongo/db/cst/parser_gen.cpp"
+#line 6646 "parser_gen.cpp"
break;
- case 542:
-#line 2226 "src/mongo/db/cst/grammar.yy"
+ case 573: // isoWeekYear: "object" ISO_WEEK_YEAR expressionSingletonArray "end
+ // of object"
+#line 2340 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::isoWeekYear, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6401 "src/mongo/db/cst/parser_gen.cpp"
+#line 6654 "parser_gen.cpp"
break;
- case 543:
-#line 2232 "src/mongo/db/cst/grammar.yy"
+ case 574: // year: "object" YEAR nonArrayNonObjExpression "end of object"
+#line 2346 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::year, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6410 "src/mongo/db/cst/parser_gen.cpp"
+#line 6663 "parser_gen.cpp"
break;
- case 544:
-#line 2236 "src/mongo/db/cst/grammar.yy"
+ case 575: // year: "object" YEAR START_ORDERED_OBJECT "date argument"
+ // expression timezoneArg "end of object" "end of object"
+#line 2350 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::year,
@@ -6992,30 +7352,31 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6419 "src/mongo/db/cst/parser_gen.cpp"
+#line 6672 "parser_gen.cpp"
break;
- case 545:
-#line 2240 "src/mongo/db/cst/grammar.yy"
+ case 576: // year: "object" YEAR expressionSingletonArray "end of object"
+#line 2354 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::year, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6427 "src/mongo/db/cst/parser_gen.cpp"
+#line 6680 "parser_gen.cpp"
break;
- case 546:
-#line 2246 "src/mongo/db/cst/grammar.yy"
+ case 577: // second: "object" SECOND nonArrayNonObjExpression "end of object"
+#line 2360 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::second, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6436 "src/mongo/db/cst/parser_gen.cpp"
+#line 6689 "parser_gen.cpp"
break;
- case 547:
-#line 2250 "src/mongo/db/cst/grammar.yy"
+ case 578: // second: "object" SECOND START_ORDERED_OBJECT "date argument"
+ // expression timezoneArg "end of object" "end of object"
+#line 2364 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::second,
@@ -7024,30 +7385,32 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6445 "src/mongo/db/cst/parser_gen.cpp"
+#line 6698 "parser_gen.cpp"
break;
- case 548:
-#line 2254 "src/mongo/db/cst/grammar.yy"
+ case 579: // second: "object" SECOND expressionSingletonArray "end of object"
+#line 2368 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::second, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6453 "src/mongo/db/cst/parser_gen.cpp"
+#line 6706 "parser_gen.cpp"
break;
- case 549:
-#line 2260 "src/mongo/db/cst/grammar.yy"
+ case 580: // millisecond: "object" MILLISECOND nonArrayNonObjExpression "end of
+ // object"
+#line 2374 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::millisecond, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6462 "src/mongo/db/cst/parser_gen.cpp"
+#line 6715 "parser_gen.cpp"
break;
- case 550:
-#line 2264 "src/mongo/db/cst/grammar.yy"
+ case 581: // millisecond: "object" MILLISECOND START_ORDERED_OBJECT "date
+ // argument" expression timezoneArg "end of object" "end of object"
+#line 2378 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::millisecond,
@@ -7056,30 +7419,32 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6471 "src/mongo/db/cst/parser_gen.cpp"
+#line 6724 "parser_gen.cpp"
break;
- case 551:
-#line 2268 "src/mongo/db/cst/grammar.yy"
+ case 582: // millisecond: "object" MILLISECOND expressionSingletonArray "end of
+ // object"
+#line 2382 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::millisecond, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6479 "src/mongo/db/cst/parser_gen.cpp"
+#line 6732 "parser_gen.cpp"
break;
- case 552:
-#line 2274 "src/mongo/db/cst/grammar.yy"
+ case 583: // minute: "object" MINUTE nonArrayNonObjExpression "end of object"
+#line 2388 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::minute, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6488 "src/mongo/db/cst/parser_gen.cpp"
+#line 6741 "parser_gen.cpp"
break;
- case 553:
-#line 2278 "src/mongo/db/cst/grammar.yy"
+ case 584: // minute: "object" MINUTE START_ORDERED_OBJECT "date argument"
+ // expression timezoneArg "end of object" "end of object"
+#line 2392 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::minute,
@@ -7088,47 +7453,48 @@ int ParserGen::parse() {
YY_MOVE(yystack_[2]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6497 "src/mongo/db/cst/parser_gen.cpp"
+#line 6750 "parser_gen.cpp"
break;
- case 554:
-#line 2282 "src/mongo/db/cst/grammar.yy"
+ case 585: // minute: "object" MINUTE expressionSingletonArray "end of object"
+#line 2396 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::minute, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6505 "src/mongo/db/cst/parser_gen.cpp"
+#line 6758 "parser_gen.cpp"
break;
- case 555:
-#line 2288 "src/mongo/db/cst/grammar.yy"
+ case 586: // exprZeroToTwo: %empty
+#line 2402 "grammar.yy"
{
yylhs.value.as<std::vector<CNode>>() = CNode::ArrayChildren{};
}
-#line 6513 "src/mongo/db/cst/parser_gen.cpp"
+#line 6766 "parser_gen.cpp"
break;
- case 556:
-#line 2291 "src/mongo/db/cst/grammar.yy"
+ case 587: // exprZeroToTwo: expression
+#line 2405 "grammar.yy"
{
yylhs.value.as<std::vector<CNode>>() =
CNode::ArrayChildren{YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6521 "src/mongo/db/cst/parser_gen.cpp"
+#line 6774 "parser_gen.cpp"
break;
- case 557:
-#line 2294 "src/mongo/db/cst/grammar.yy"
+ case 588: // exprZeroToTwo: expression expression
+#line 2408 "grammar.yy"
{
yylhs.value.as<std::vector<CNode>>() =
CNode::ArrayChildren{YY_MOVE(yystack_[1].value.as<CNode>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6529 "src/mongo/db/cst/parser_gen.cpp"
+#line 6782 "parser_gen.cpp"
break;
- case 558:
-#line 2301 "src/mongo/db/cst/grammar.yy"
+ case 589: // indexOfBytes: "object" INDEX_OF_BYTES "array" expression
+ // expression exprZeroToTwo "end of array" "end of object"
+#line 2415 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::indexOfBytes,
@@ -7139,11 +7505,12 @@ int ParserGen::parse() {
yylhs.value.as<CNode>().objectChildren()[0].second.arrayChildren();
array.insert(array.end(), others.begin(), others.end());
}
-#line 6541 "src/mongo/db/cst/parser_gen.cpp"
+#line 6794 "parser_gen.cpp"
break;
- case 559:
-#line 2312 "src/mongo/db/cst/grammar.yy"
+ case 590: // indexOfCP: "object" INDEX_OF_CP "array" expression expression
+ // exprZeroToTwo "end of array" "end of object"
+#line 2426 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::indexOfCP,
@@ -7154,29 +7521,30 @@ int ParserGen::parse() {
yylhs.value.as<CNode>().objectChildren()[0].second.arrayChildren();
array.insert(array.end(), others.begin(), others.end());
}
-#line 6553 "src/mongo/db/cst/parser_gen.cpp"
+#line 6806 "parser_gen.cpp"
break;
- case 560:
-#line 2322 "src/mongo/db/cst/grammar.yy"
+ case 591: // charsArg: %empty
+#line 2436 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::charsArg, CNode{KeyValue::absentKey}};
}
-#line 6561 "src/mongo/db/cst/parser_gen.cpp"
+#line 6814 "parser_gen.cpp"
break;
- case 561:
-#line 2325 "src/mongo/db/cst/grammar.yy"
+ case 592: // charsArg: "chars argument" expression
+#line 2439 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::charsArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6569 "src/mongo/db/cst/parser_gen.cpp"
+#line 6822 "parser_gen.cpp"
break;
- case 562:
-#line 2331 "src/mongo/db/cst/grammar.yy"
+ case 593: // ltrim: "object" LTRIM START_ORDERED_OBJECT charsArg "input
+ // argument" expression "end of object" "end of object"
+#line 2445 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::ltrim,
@@ -7185,11 +7553,12 @@ int ParserGen::parse() {
YY_MOVE(yystack_[4]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6579 "src/mongo/db/cst/parser_gen.cpp"
+#line 6832 "parser_gen.cpp"
break;
- case 563:
-#line 2339 "src/mongo/db/cst/grammar.yy"
+ case 594: // rtrim: "object" RTRIM START_ORDERED_OBJECT charsArg "input
+ // argument" expression "end of object" "end of object"
+#line 2453 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::rtrim,
@@ -7198,11 +7567,12 @@ int ParserGen::parse() {
YY_MOVE(yystack_[4]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6589 "src/mongo/db/cst/parser_gen.cpp"
+#line 6842 "parser_gen.cpp"
break;
- case 564:
-#line 2347 "src/mongo/db/cst/grammar.yy"
+ case 595: // trim: "object" TRIM START_ORDERED_OBJECT charsArg "input argument"
+ // expression "end of object" "end of object"
+#line 2461 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::trim,
@@ -7211,29 +7581,30 @@ int ParserGen::parse() {
YY_MOVE(yystack_[4]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 6599 "src/mongo/db/cst/parser_gen.cpp"
+#line 6852 "parser_gen.cpp"
break;
- case 565:
-#line 2355 "src/mongo/db/cst/grammar.yy"
+ case 596: // optionsArg: %empty
+#line 2469 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::optionsArg, CNode{KeyValue::absentKey}};
}
-#line 6607 "src/mongo/db/cst/parser_gen.cpp"
+#line 6860 "parser_gen.cpp"
break;
- case 566:
-#line 2358 "src/mongo/db/cst/grammar.yy"
+ case 597: // optionsArg: "options argument" expression
+#line 2472 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::optionsArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6615 "src/mongo/db/cst/parser_gen.cpp"
+#line 6868 "parser_gen.cpp"
break;
- case 567:
-#line 2363 "src/mongo/db/cst/grammar.yy"
+ case 598: // regexArgs: START_ORDERED_OBJECT "input argument" expression
+ // optionsArg "regex argument" expression "end of object"
+#line 2477 "grammar.yy"
{
// Note that the order of these arguments must match the constructor for the
// regex expression.
@@ -7242,38 +7613,40 @@ int ParserGen::parse() {
{KeyFieldname::regexArg, YY_MOVE(yystack_[1].value.as<CNode>())},
YY_MOVE(yystack_[3].value.as<std::pair<CNode::Fieldname, CNode>>())}};
}
-#line 6627 "src/mongo/db/cst/parser_gen.cpp"
+#line 6880 "parser_gen.cpp"
break;
- case 568:
-#line 2372 "src/mongo/db/cst/grammar.yy"
+ case 599: // regexFind: "object" REGEX_FIND regexArgs "end of object"
+#line 2486 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::regexFind, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6635 "src/mongo/db/cst/parser_gen.cpp"
+#line 6888 "parser_gen.cpp"
break;
- case 569:
-#line 2378 "src/mongo/db/cst/grammar.yy"
+ case 600: // regexFindAll: "object" REGEX_FIND_ALL regexArgs "end of object"
+#line 2492 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::regexFindAll, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6643 "src/mongo/db/cst/parser_gen.cpp"
+#line 6896 "parser_gen.cpp"
break;
- case 570:
-#line 2384 "src/mongo/db/cst/grammar.yy"
+ case 601: // regexMatch: "object" REGEX_MATCH regexArgs "end of object"
+#line 2498 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::regexMatch, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6651 "src/mongo/db/cst/parser_gen.cpp"
+#line 6904 "parser_gen.cpp"
break;
- case 571:
-#line 2391 "src/mongo/db/cst/grammar.yy"
+ case 602: // replaceOne: "object" REPLACE_ONE START_ORDERED_OBJECT "find
+ // argument" expression "input argument" expression "replacement
+ // argument" expression "end of object" "end of object"
+#line 2505 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::replaceOne,
@@ -7283,11 +7656,13 @@ int ParserGen::parse() {
{KeyFieldname::replacementArg,
YY_MOVE(yystack_[2].value.as<CNode>())}}}}}};
}
-#line 6662 "src/mongo/db/cst/parser_gen.cpp"
+#line 6915 "parser_gen.cpp"
break;
- case 572:
-#line 2401 "src/mongo/db/cst/grammar.yy"
+ case 603: // replaceAll: "object" REPLACE_ALL START_ORDERED_OBJECT "find
+ // argument" expression "input argument" expression "replacement
+ // argument" expression "end of object" "end of object"
+#line 2515 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::replaceAll,
@@ -7297,51 +7672,54 @@ int ParserGen::parse() {
{KeyFieldname::replacementArg,
YY_MOVE(yystack_[2].value.as<CNode>())}}}}}};
}
-#line 6673 "src/mongo/db/cst/parser_gen.cpp"
+#line 6926 "parser_gen.cpp"
break;
- case 573:
-#line 2410 "src/mongo/db/cst/grammar.yy"
+ case 604: // split: "object" SPLIT "array" expression expression "end of array"
+ // "end of object"
+#line 2524 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::split,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 6682 "src/mongo/db/cst/parser_gen.cpp"
+#line 6935 "parser_gen.cpp"
break;
- case 574:
-#line 2417 "src/mongo/db/cst/grammar.yy"
+ case 605: // strLenBytes: "object" STR_LEN_BYTES expression "end of object"
+#line 2531 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::strLenBytes, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6691 "src/mongo/db/cst/parser_gen.cpp"
+#line 6944 "parser_gen.cpp"
break;
- case 575:
-#line 2424 "src/mongo/db/cst/grammar.yy"
+ case 606: // strLenCP: "object" STR_LEN_CP expression "end of object"
+#line 2538 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::strLenCP, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6700 "src/mongo/db/cst/parser_gen.cpp"
+#line 6953 "parser_gen.cpp"
break;
- case 576:
-#line 2432 "src/mongo/db/cst/grammar.yy"
+ case 607: // strcasecmp: "object" STR_CASE_CMP "array" expression expression
+ // "end of array" "end of object"
+#line 2546 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::strcasecmp,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 6709 "src/mongo/db/cst/parser_gen.cpp"
+#line 6962 "parser_gen.cpp"
break;
- case 577:
-#line 2440 "src/mongo/db/cst/grammar.yy"
+ case 608: // substr: "object" SUBSTR "array" expression expression expression
+ // "end of array" "end of object"
+#line 2554 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::substr,
@@ -7349,11 +7727,12 @@ int ParserGen::parse() {
YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 6718 "src/mongo/db/cst/parser_gen.cpp"
+#line 6971 "parser_gen.cpp"
break;
- case 578:
-#line 2448 "src/mongo/db/cst/grammar.yy"
+ case 609: // substrBytes: "object" SUBSTR_BYTES "array" expression expression
+ // expression "end of array" "end of object"
+#line 2562 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::substrBytes,
@@ -7361,11 +7740,12 @@ int ParserGen::parse() {
YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 6727 "src/mongo/db/cst/parser_gen.cpp"
+#line 6980 "parser_gen.cpp"
break;
- case 579:
-#line 2456 "src/mongo/db/cst/grammar.yy"
+ case 610: // substrCP: "object" SUBSTR_CP "array" expression expression
+ // expression "end of array" "end of object"
+#line 2570 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::substrCP,
@@ -7373,154 +7753,154 @@ int ParserGen::parse() {
YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 6736 "src/mongo/db/cst/parser_gen.cpp"
+#line 6989 "parser_gen.cpp"
break;
- case 580:
-#line 2463 "src/mongo/db/cst/grammar.yy"
+ case 611: // toLower: "object" TO_LOWER expression "end of object"
+#line 2577 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toLower, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6744 "src/mongo/db/cst/parser_gen.cpp"
+#line 6997 "parser_gen.cpp"
break;
- case 581:
-#line 2469 "src/mongo/db/cst/grammar.yy"
+ case 612: // toUpper: "object" TO_UPPER expression "end of object"
+#line 2583 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toUpper, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6752 "src/mongo/db/cst/parser_gen.cpp"
+#line 7005 "parser_gen.cpp"
break;
- case 582:
-#line 2475 "src/mongo/db/cst/grammar.yy"
+ case 613: // metaSortKeyword: "randVal"
+#line 2589 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::randVal};
}
-#line 6760 "src/mongo/db/cst/parser_gen.cpp"
+#line 7013 "parser_gen.cpp"
break;
- case 583:
-#line 2478 "src/mongo/db/cst/grammar.yy"
+ case 614: // metaSortKeyword: "textScore"
+#line 2592 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::textScore};
}
-#line 6768 "src/mongo/db/cst/parser_gen.cpp"
+#line 7021 "parser_gen.cpp"
break;
- case 584:
-#line 2484 "src/mongo/db/cst/grammar.yy"
+ case 615: // metaSort: "object" META metaSortKeyword "end of object"
+#line 2598 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::meta, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 6776 "src/mongo/db/cst/parser_gen.cpp"
+#line 7029 "parser_gen.cpp"
break;
- case 585:
-#line 2490 "src/mongo/db/cst/grammar.yy"
+ case 616: // sortSpecs: "object" specList "end of object"
+#line 2604 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
}
-#line 6784 "src/mongo/db/cst/parser_gen.cpp"
+#line 7037 "parser_gen.cpp"
break;
- case 586:
-#line 2495 "src/mongo/db/cst/grammar.yy"
+ case 617: // specList: %empty
+#line 2609 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode::noopLeaf();
}
-#line 6792 "src/mongo/db/cst/parser_gen.cpp"
+#line 7045 "parser_gen.cpp"
break;
- case 587:
-#line 2498 "src/mongo/db/cst/grammar.yy"
+ case 618: // specList: specList sortSpec
+#line 2612 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 6801 "src/mongo/db/cst/parser_gen.cpp"
+#line 7054 "parser_gen.cpp"
break;
- case 588:
-#line 2505 "src/mongo/db/cst/grammar.yy"
+ case 619: // oneOrNegOne: "1 (int)"
+#line 2619 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::intOneKey};
}
-#line 6809 "src/mongo/db/cst/parser_gen.cpp"
+#line 7062 "parser_gen.cpp"
break;
- case 589:
-#line 2508 "src/mongo/db/cst/grammar.yy"
+ case 620: // oneOrNegOne: "-1 (int)"
+#line 2622 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::intNegOneKey};
}
-#line 6817 "src/mongo/db/cst/parser_gen.cpp"
+#line 7070 "parser_gen.cpp"
break;
- case 590:
-#line 2511 "src/mongo/db/cst/grammar.yy"
+ case 621: // oneOrNegOne: "1 (long)"
+#line 2625 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::longOneKey};
}
-#line 6825 "src/mongo/db/cst/parser_gen.cpp"
+#line 7078 "parser_gen.cpp"
break;
- case 591:
-#line 2514 "src/mongo/db/cst/grammar.yy"
+ case 622: // oneOrNegOne: "-1 (long)"
+#line 2628 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::longNegOneKey};
}
-#line 6833 "src/mongo/db/cst/parser_gen.cpp"
+#line 7086 "parser_gen.cpp"
break;
- case 592:
-#line 2517 "src/mongo/db/cst/grammar.yy"
+ case 623: // oneOrNegOne: "1 (double)"
+#line 2631 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::doubleOneKey};
}
-#line 6841 "src/mongo/db/cst/parser_gen.cpp"
+#line 7094 "parser_gen.cpp"
break;
- case 593:
-#line 2520 "src/mongo/db/cst/grammar.yy"
+ case 624: // oneOrNegOne: "-1 (double)"
+#line 2634 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::doubleNegOneKey};
}
-#line 6849 "src/mongo/db/cst/parser_gen.cpp"
+#line 7102 "parser_gen.cpp"
break;
- case 594:
-#line 2523 "src/mongo/db/cst/grammar.yy"
+ case 625: // oneOrNegOne: "1 (decimal)"
+#line 2637 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::decimalOneKey};
}
-#line 6857 "src/mongo/db/cst/parser_gen.cpp"
+#line 7110 "parser_gen.cpp"
break;
- case 595:
-#line 2526 "src/mongo/db/cst/grammar.yy"
+ case 626: // oneOrNegOne: "-1 (decimal)"
+#line 2640 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{KeyValue::decimalNegOneKey};
}
-#line 6865 "src/mongo/db/cst/parser_gen.cpp"
+#line 7118 "parser_gen.cpp"
break;
- case 596:
-#line 2531 "src/mongo/db/cst/grammar.yy"
+ case 627: // sortFieldname: valueFieldname
+#line 2645 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
SortPath{makeVector<std::string>(stdx::get<UserFieldname>(
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>())))};
}
-#line 6873 "src/mongo/db/cst/parser_gen.cpp"
+#line 7126 "parser_gen.cpp"
break;
- case 597:
-#line 2533 "src/mongo/db/cst/grammar.yy"
+ case 628: // sortFieldname: "fieldname containing dotted path"
+#line 2647 "grammar.yy"
{
auto components = YY_MOVE(yystack_[0].value.as<std::vector<std::string>>());
if (auto status = c_node_validation::validateSortPath(components);
@@ -7528,31 +7908,31 @@ int ParserGen::parse() {
error(yystack_[0].location, status.reason());
yylhs.value.as<CNode::Fieldname>() = SortPath{std::move(components)};
}
-#line 6885 "src/mongo/db/cst/parser_gen.cpp"
+#line 7138 "parser_gen.cpp"
break;
- case 598:
-#line 2543 "src/mongo/db/cst/grammar.yy"
+ case 629: // sortSpec: sortFieldname metaSort
+#line 2657 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6893 "src/mongo/db/cst/parser_gen.cpp"
+#line 7146 "parser_gen.cpp"
break;
- case 599:
-#line 2545 "src/mongo/db/cst/grammar.yy"
+ case 630: // sortSpec: sortFieldname oneOrNegOne
+#line 2659 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6901 "src/mongo/db/cst/parser_gen.cpp"
+#line 7154 "parser_gen.cpp"
break;
- case 600:
-#line 2551 "src/mongo/db/cst/grammar.yy"
+ case 631: // findProject: "object" findProjectFields "end of object"
+#line 2665 "grammar.yy"
{
auto&& fields = YY_MOVE(yystack_[1].value.as<CNode>());
if (auto status =
@@ -7573,48 +7953,48 @@ int ParserGen::parse() {
// function.
error(yystack_[2].location, inclusion.getStatus().reason());
}
-#line 6922 "src/mongo/db/cst/parser_gen.cpp"
+#line 7175 "parser_gen.cpp"
break;
- case 601:
-#line 2570 "src/mongo/db/cst/grammar.yy"
+ case 632: // findProjectFields: %empty
+#line 2684 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode::noopLeaf();
}
-#line 6930 "src/mongo/db/cst/parser_gen.cpp"
+#line 7183 "parser_gen.cpp"
break;
- case 602:
-#line 2573 "src/mongo/db/cst/grammar.yy"
+ case 633: // findProjectFields: findProjectFields findProjectField
+#line 2687 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 6939 "src/mongo/db/cst/parser_gen.cpp"
+#line 7192 "parser_gen.cpp"
break;
- case 603:
-#line 2580 "src/mongo/db/cst/grammar.yy"
+ case 634: // findProjectField: ID topLevelFindProjection
+#line 2694 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
KeyFieldname::id, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6947 "src/mongo/db/cst/parser_gen.cpp"
+#line 7200 "parser_gen.cpp"
break;
- case 604:
-#line 2583 "src/mongo/db/cst/grammar.yy"
+ case 635: // findProjectField: projectionFieldname topLevelFindProjection
+#line 2697 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 6955 "src/mongo/db/cst/parser_gen.cpp"
+#line 7208 "parser_gen.cpp"
break;
- case 605:
-#line 2589 "src/mongo/db/cst/grammar.yy"
+ case 636: // topLevelFindProjection: findProjection
+#line 2703 "grammar.yy"
{
auto projection = YY_MOVE(yystack_[0].value.as<CNode>());
yylhs.value.as<CNode>() =
@@ -7631,213 +8011,221 @@ int ParserGen::parse() {
"object project field cannot contain both "
"inclusion and exclusion indicators");
}
-#line 6971 "src/mongo/db/cst/parser_gen.cpp"
+#line 7224 "parser_gen.cpp"
break;
- case 606:
-#line 2603 "src/mongo/db/cst/grammar.yy"
+ case 637: // findProjection: projectionCommon
+#line 2717 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 6977 "src/mongo/db/cst/parser_gen.cpp"
+#line 7230 "parser_gen.cpp"
break;
- case 607:
-#line 2604 "src/mongo/db/cst/grammar.yy"
+ case 638: // findProjection: findProjectionObject
+#line 2718 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 6983 "src/mongo/db/cst/parser_gen.cpp"
+#line 7236 "parser_gen.cpp"
break;
- case 608:
-#line 2605 "src/mongo/db/cst/grammar.yy"
+ case 639: // findProjection: aggregationOperatorWithoutSlice
+#line 2719 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 6989 "src/mongo/db/cst/parser_gen.cpp"
+#line 7242 "parser_gen.cpp"
break;
- case 609:
-#line 2606 "src/mongo/db/cst/grammar.yy"
+ case 640: // findProjection: findProjectionSlice
+#line 2720 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 6995 "src/mongo/db/cst/parser_gen.cpp"
+#line 7248 "parser_gen.cpp"
break;
- case 610:
-#line 2607 "src/mongo/db/cst/grammar.yy"
+ case 641: // findProjection: elemMatch
+#line 2721 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7001 "src/mongo/db/cst/parser_gen.cpp"
+#line 7254 "parser_gen.cpp"
break;
- case 611:
-#line 2611 "src/mongo/db/cst/grammar.yy"
+ case 642: // elemMatch: "object" "elemMatch operator" matchExpression "end of
+ // object"
+#line 2725 "grammar.yy"
{
yylhs.value.as<CNode>() = {CNode::ObjectChildren{
{KeyFieldname::elemMatch, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7009 "src/mongo/db/cst/parser_gen.cpp"
+#line 7262 "parser_gen.cpp"
break;
- case 612:
-#line 2617 "src/mongo/db/cst/grammar.yy"
+ case 643: // findProjectionSlice: "object" "slice" num "end of object"
+#line 2731 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::slice, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7017 "src/mongo/db/cst/parser_gen.cpp"
+#line 7270 "parser_gen.cpp"
break;
- case 613:
-#line 2620 "src/mongo/db/cst/grammar.yy"
+ case 644: // findProjectionSlice: "object" "slice" "array" num num "end of
+ // array" "end of object"
+#line 2734 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::slice,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[3].value.as<CNode>()),
YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 7026 "src/mongo/db/cst/parser_gen.cpp"
+#line 7279 "parser_gen.cpp"
break;
- case 614:
-#line 2628 "src/mongo/db/cst/grammar.yy"
+ case 645: // findProjectionObject: "object" findProjectionObjectFields "end of
+ // object"
+#line 2742 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
}
-#line 7034 "src/mongo/db/cst/parser_gen.cpp"
+#line 7287 "parser_gen.cpp"
break;
- case 615:
-#line 2635 "src/mongo/db/cst/grammar.yy"
+ case 646: // findProjectionObjectFields: findProjectionObjectField
+#line 2749 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode::noopLeaf();
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 7043 "src/mongo/db/cst/parser_gen.cpp"
+#line 7296 "parser_gen.cpp"
break;
- case 616:
-#line 2639 "src/mongo/db/cst/grammar.yy"
+ case 647: // findProjectionObjectFields: findProjectionObjectFields
+ // findProjectionObjectField
+#line 2753 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 7052 "src/mongo/db/cst/parser_gen.cpp"
+#line 7305 "parser_gen.cpp"
break;
- case 617:
-#line 2647 "src/mongo/db/cst/grammar.yy"
+ case 648: // findProjectionObjectField: idAsProjectionPath findProjection
+#line 2761 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 7060 "src/mongo/db/cst/parser_gen.cpp"
+#line 7313 "parser_gen.cpp"
break;
- case 618:
-#line 2650 "src/mongo/db/cst/grammar.yy"
+ case 649: // findProjectionObjectField: projectionFieldname findProjection
+#line 2764 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 7068 "src/mongo/db/cst/parser_gen.cpp"
+#line 7321 "parser_gen.cpp"
break;
- case 619:
-#line 2656 "src/mongo/db/cst/grammar.yy"
+ case 650: // setExpression: allElementsTrue
+#line 2770 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7074 "src/mongo/db/cst/parser_gen.cpp"
+#line 7327 "parser_gen.cpp"
break;
- case 620:
-#line 2656 "src/mongo/db/cst/grammar.yy"
+ case 651: // setExpression: anyElementTrue
+#line 2770 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7080 "src/mongo/db/cst/parser_gen.cpp"
+#line 7333 "parser_gen.cpp"
break;
- case 621:
-#line 2656 "src/mongo/db/cst/grammar.yy"
+ case 652: // setExpression: setDifference
+#line 2770 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7086 "src/mongo/db/cst/parser_gen.cpp"
+#line 7339 "parser_gen.cpp"
break;
- case 622:
-#line 2656 "src/mongo/db/cst/grammar.yy"
+ case 653: // setExpression: setEquals
+#line 2770 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7092 "src/mongo/db/cst/parser_gen.cpp"
+#line 7345 "parser_gen.cpp"
break;
- case 623:
-#line 2656 "src/mongo/db/cst/grammar.yy"
+ case 654: // setExpression: setIntersection
+#line 2770 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7098 "src/mongo/db/cst/parser_gen.cpp"
+#line 7351 "parser_gen.cpp"
break;
- case 624:
-#line 2656 "src/mongo/db/cst/grammar.yy"
+ case 655: // setExpression: setIsSubset
+#line 2770 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7104 "src/mongo/db/cst/parser_gen.cpp"
+#line 7357 "parser_gen.cpp"
break;
- case 625:
-#line 2657 "src/mongo/db/cst/grammar.yy"
+ case 656: // setExpression: setUnion
+#line 2771 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7110 "src/mongo/db/cst/parser_gen.cpp"
+#line 7363 "parser_gen.cpp"
break;
- case 626:
-#line 2661 "src/mongo/db/cst/grammar.yy"
+ case 657: // allElementsTrue: "object" "allElementsTrue" "array" expression
+ // "end of array" "end of object"
+#line 2775 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{
CNode::ObjectChildren{{KeyFieldname::allElementsTrue,
CNode{YY_MOVE(yystack_[2].value.as<CNode>())}}}};
}
-#line 7118 "src/mongo/db/cst/parser_gen.cpp"
+#line 7371 "parser_gen.cpp"
break;
- case 627:
-#line 2667 "src/mongo/db/cst/grammar.yy"
+ case 658: // anyElementTrue: "object" "anyElementTrue" "array" expression "end
+ // of array" "end of object"
+#line 2781 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{
CNode::ObjectChildren{{KeyFieldname::anyElementTrue,
CNode{YY_MOVE(yystack_[2].value.as<CNode>())}}}};
}
-#line 7126 "src/mongo/db/cst/parser_gen.cpp"
+#line 7379 "parser_gen.cpp"
break;
- case 628:
-#line 2673 "src/mongo/db/cst/grammar.yy"
+ case 659: // setDifference: "object" "setDifference" exprFixedTwoArg "end of
+ // object"
+#line 2787 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::setDifference, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7135 "src/mongo/db/cst/parser_gen.cpp"
+#line 7388 "parser_gen.cpp"
break;
- case 629:
-#line 2681 "src/mongo/db/cst/grammar.yy"
+ case 660: // setEquals: "object" "setEquals" "array" expression expression
+ // expressions "end of array" "end of object"
+#line 2795 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::setEquals,
@@ -7848,11 +8236,12 @@ int ParserGen::parse() {
yylhs.value.as<CNode>().objectChildren()[0].second.arrayChildren();
array.insert(array.end(), others.begin(), others.end());
}
-#line 7147 "src/mongo/db/cst/parser_gen.cpp"
+#line 7400 "parser_gen.cpp"
break;
- case 630:
-#line 2692 "src/mongo/db/cst/grammar.yy"
+ case 661: // setIntersection: "object" "setIntersection" "array" expression
+ // expression expressions "end of array" "end of object"
+#line 2806 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::setIntersection,
@@ -7863,20 +8252,22 @@ int ParserGen::parse() {
yylhs.value.as<CNode>().objectChildren()[0].second.arrayChildren();
array.insert(array.end(), others.begin(), others.end());
}
-#line 7159 "src/mongo/db/cst/parser_gen.cpp"
+#line 7412 "parser_gen.cpp"
break;
- case 631:
-#line 2702 "src/mongo/db/cst/grammar.yy"
+ case 662: // setIsSubset: "object" "setIsSubset" exprFixedTwoArg "end of
+ // object"
+#line 2816 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::setIsSubset, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7168 "src/mongo/db/cst/parser_gen.cpp"
+#line 7421 "parser_gen.cpp"
break;
- case 632:
-#line 2710 "src/mongo/db/cst/grammar.yy"
+ case 663: // setUnion: "object" "setUnion" "array" expression expression
+ // expressions "end of array" "end of object"
+#line 2824 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::setUnion,
@@ -7887,431 +8278,435 @@ int ParserGen::parse() {
yylhs.value.as<CNode>().objectChildren()[0].second.arrayChildren();
array.insert(array.end(), others.begin(), others.end());
}
-#line 7180 "src/mongo/db/cst/parser_gen.cpp"
+#line 7433 "parser_gen.cpp"
break;
- case 633:
-#line 2720 "src/mongo/db/cst/grammar.yy"
+ case 664: // literalEscapes: const
+#line 2834 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7186 "src/mongo/db/cst/parser_gen.cpp"
+#line 7439 "parser_gen.cpp"
break;
- case 634:
-#line 2720 "src/mongo/db/cst/grammar.yy"
+ case 665: // literalEscapes: literal
+#line 2834 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7192 "src/mongo/db/cst/parser_gen.cpp"
+#line 7445 "parser_gen.cpp"
break;
- case 635:
-#line 2724 "src/mongo/db/cst/grammar.yy"
+ case 666: // const: "object" CONST_EXPR "array" value "end of array" "end of
+ // object"
+#line 2838 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::constExpr,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 7201 "src/mongo/db/cst/parser_gen.cpp"
+#line 7454 "parser_gen.cpp"
break;
- case 636:
-#line 2731 "src/mongo/db/cst/grammar.yy"
+ case 667: // literal: "object" LITERAL "array" value "end of array" "end of
+ // object"
+#line 2845 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::literal,
CNode{CNode::ArrayChildren{YY_MOVE(yystack_[2].value.as<CNode>())}}}}};
}
-#line 7210 "src/mongo/db/cst/parser_gen.cpp"
+#line 7463 "parser_gen.cpp"
break;
- case 637:
-#line 2738 "src/mongo/db/cst/grammar.yy"
+ case 668: // value: simpleValue
+#line 2852 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7216 "src/mongo/db/cst/parser_gen.cpp"
+#line 7469 "parser_gen.cpp"
break;
- case 638:
-#line 2738 "src/mongo/db/cst/grammar.yy"
+ case 669: // value: compoundValue
+#line 2852 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7222 "src/mongo/db/cst/parser_gen.cpp"
+#line 7475 "parser_gen.cpp"
break;
- case 639:
-#line 2742 "src/mongo/db/cst/grammar.yy"
+ case 670: // compoundValue: valueArray
+#line 2856 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7228 "src/mongo/db/cst/parser_gen.cpp"
+#line 7481 "parser_gen.cpp"
break;
- case 640:
-#line 2742 "src/mongo/db/cst/grammar.yy"
+ case 671: // compoundValue: valueObject
+#line 2856 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7234 "src/mongo/db/cst/parser_gen.cpp"
+#line 7487 "parser_gen.cpp"
break;
- case 641:
-#line 2746 "src/mongo/db/cst/grammar.yy"
+ case 672: // valueArray: "array" values "end of array"
+#line 2860 "grammar.yy"
{
yylhs.value.as<CNode>() =
CNode{YY_MOVE(yystack_[1].value.as<std::vector<CNode>>())};
}
-#line 7242 "src/mongo/db/cst/parser_gen.cpp"
+#line 7495 "parser_gen.cpp"
break;
- case 642:
-#line 2752 "src/mongo/db/cst/grammar.yy"
+ case 673: // values: %empty
+#line 2866 "grammar.yy"
{
}
-#line 7248 "src/mongo/db/cst/parser_gen.cpp"
+#line 7501 "parser_gen.cpp"
break;
- case 643:
-#line 2753 "src/mongo/db/cst/grammar.yy"
+ case 674: // values: values value
+#line 2867 "grammar.yy"
{
yylhs.value.as<std::vector<CNode>>() =
YY_MOVE(yystack_[1].value.as<std::vector<CNode>>());
yylhs.value.as<std::vector<CNode>>().emplace_back(
YY_MOVE(yystack_[0].value.as<CNode>()));
}
-#line 7257 "src/mongo/db/cst/parser_gen.cpp"
+#line 7510 "parser_gen.cpp"
break;
- case 644:
-#line 2760 "src/mongo/db/cst/grammar.yy"
+ case 675: // valueObject: "object" valueFields "end of object"
+#line 2874 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
}
-#line 7265 "src/mongo/db/cst/parser_gen.cpp"
+#line 7518 "parser_gen.cpp"
break;
- case 645:
-#line 2766 "src/mongo/db/cst/grammar.yy"
+ case 676: // valueFields: %empty
+#line 2880 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode::noopLeaf();
}
-#line 7273 "src/mongo/db/cst/parser_gen.cpp"
+#line 7526 "parser_gen.cpp"
break;
- case 646:
-#line 2769 "src/mongo/db/cst/grammar.yy"
+ case 677: // valueFields: valueFields valueField
+#line 2883 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[1].value.as<CNode>());
yylhs.value.as<CNode>().objectChildren().emplace_back(
YY_MOVE(yystack_[0].value.as<std::pair<CNode::Fieldname, CNode>>()));
}
-#line 7282 "src/mongo/db/cst/parser_gen.cpp"
+#line 7535 "parser_gen.cpp"
break;
- case 647:
-#line 2776 "src/mongo/db/cst/grammar.yy"
+ case 678: // valueField: valueFieldname value
+#line 2890 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = {
YY_MOVE(yystack_[1].value.as<CNode::Fieldname>()),
YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 7290 "src/mongo/db/cst/parser_gen.cpp"
+#line 7543 "parser_gen.cpp"
break;
- case 648:
-#line 2783 "src/mongo/db/cst/grammar.yy"
+ case 679: // valueFieldname: invariableUserFieldname
+#line 2897 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 7296 "src/mongo/db/cst/parser_gen.cpp"
+#line 7549 "parser_gen.cpp"
break;
- case 649:
-#line 2784 "src/mongo/db/cst/grammar.yy"
+ case 680: // valueFieldname: stageAsUserFieldname
+#line 2898 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 7302 "src/mongo/db/cst/parser_gen.cpp"
+#line 7555 "parser_gen.cpp"
break;
- case 650:
-#line 2785 "src/mongo/db/cst/grammar.yy"
+ case 681: // valueFieldname: argAsUserFieldname
+#line 2899 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 7308 "src/mongo/db/cst/parser_gen.cpp"
+#line 7561 "parser_gen.cpp"
break;
- case 651:
-#line 2786 "src/mongo/db/cst/grammar.yy"
+ case 682: // valueFieldname: aggExprAsUserFieldname
+#line 2900 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 7314 "src/mongo/db/cst/parser_gen.cpp"
+#line 7567 "parser_gen.cpp"
break;
- case 652:
-#line 2787 "src/mongo/db/cst/grammar.yy"
+ case 683: // valueFieldname: idAsUserFieldname
+#line 2901 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 7320 "src/mongo/db/cst/parser_gen.cpp"
+#line 7573 "parser_gen.cpp"
break;
- case 653:
-#line 2788 "src/mongo/db/cst/grammar.yy"
+ case 684: // valueFieldname: elemMatchAsUserFieldname
+#line 2902 "grammar.yy"
{
yylhs.value.as<CNode::Fieldname>() =
YY_MOVE(yystack_[0].value.as<CNode::Fieldname>());
}
-#line 7326 "src/mongo/db/cst/parser_gen.cpp"
+#line 7579 "parser_gen.cpp"
break;
- case 654:
-#line 2791 "src/mongo/db/cst/grammar.yy"
+ case 685: // compExprs: cmp
+#line 2905 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7332 "src/mongo/db/cst/parser_gen.cpp"
+#line 7585 "parser_gen.cpp"
break;
- case 655:
-#line 2791 "src/mongo/db/cst/grammar.yy"
+ case 686: // compExprs: eq
+#line 2905 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7338 "src/mongo/db/cst/parser_gen.cpp"
+#line 7591 "parser_gen.cpp"
break;
- case 656:
-#line 2791 "src/mongo/db/cst/grammar.yy"
+ case 687: // compExprs: gt
+#line 2905 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7344 "src/mongo/db/cst/parser_gen.cpp"
+#line 7597 "parser_gen.cpp"
break;
- case 657:
-#line 2791 "src/mongo/db/cst/grammar.yy"
+ case 688: // compExprs: gte
+#line 2905 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7350 "src/mongo/db/cst/parser_gen.cpp"
+#line 7603 "parser_gen.cpp"
break;
- case 658:
-#line 2791 "src/mongo/db/cst/grammar.yy"
+ case 689: // compExprs: lt
+#line 2905 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7356 "src/mongo/db/cst/parser_gen.cpp"
+#line 7609 "parser_gen.cpp"
break;
- case 659:
-#line 2791 "src/mongo/db/cst/grammar.yy"
+ case 690: // compExprs: lte
+#line 2905 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7362 "src/mongo/db/cst/parser_gen.cpp"
+#line 7615 "parser_gen.cpp"
break;
- case 660:
-#line 2791 "src/mongo/db/cst/grammar.yy"
+ case 691: // compExprs: ne
+#line 2905 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7368 "src/mongo/db/cst/parser_gen.cpp"
+#line 7621 "parser_gen.cpp"
break;
- case 661:
-#line 2793 "src/mongo/db/cst/grammar.yy"
+ case 692: // cmp: "object" CMP exprFixedTwoArg "end of object"
+#line 2907 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::cmp, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7377 "src/mongo/db/cst/parser_gen.cpp"
+#line 7630 "parser_gen.cpp"
break;
- case 662:
-#line 2798 "src/mongo/db/cst/grammar.yy"
+ case 693: // eq: "object" EQ exprFixedTwoArg "end of object"
+#line 2912 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::eq, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7386 "src/mongo/db/cst/parser_gen.cpp"
+#line 7639 "parser_gen.cpp"
break;
- case 663:
-#line 2803 "src/mongo/db/cst/grammar.yy"
+ case 694: // gt: "object" GT exprFixedTwoArg "end of object"
+#line 2917 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::gt, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7395 "src/mongo/db/cst/parser_gen.cpp"
+#line 7648 "parser_gen.cpp"
break;
- case 664:
-#line 2808 "src/mongo/db/cst/grammar.yy"
+ case 695: // gte: "object" GTE exprFixedTwoArg "end of object"
+#line 2922 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::gte, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7404 "src/mongo/db/cst/parser_gen.cpp"
+#line 7657 "parser_gen.cpp"
break;
- case 665:
-#line 2813 "src/mongo/db/cst/grammar.yy"
+ case 696: // lt: "object" LT exprFixedTwoArg "end of object"
+#line 2927 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::lt, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7413 "src/mongo/db/cst/parser_gen.cpp"
+#line 7666 "parser_gen.cpp"
break;
- case 666:
-#line 2818 "src/mongo/db/cst/grammar.yy"
+ case 697: // lte: "object" LTE exprFixedTwoArg "end of object"
+#line 2932 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::lte, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7422 "src/mongo/db/cst/parser_gen.cpp"
+#line 7675 "parser_gen.cpp"
break;
- case 667:
-#line 2823 "src/mongo/db/cst/grammar.yy"
+ case 698: // ne: "object" NE exprFixedTwoArg "end of object"
+#line 2937 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::ne, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7431 "src/mongo/db/cst/parser_gen.cpp"
+#line 7684 "parser_gen.cpp"
break;
- case 668:
-#line 2829 "src/mongo/db/cst/grammar.yy"
+ case 699: // typeExpression: convert
+#line 2943 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7437 "src/mongo/db/cst/parser_gen.cpp"
+#line 7690 "parser_gen.cpp"
break;
- case 669:
-#line 2830 "src/mongo/db/cst/grammar.yy"
+ case 700: // typeExpression: toBool
+#line 2944 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7443 "src/mongo/db/cst/parser_gen.cpp"
+#line 7696 "parser_gen.cpp"
break;
- case 670:
-#line 2831 "src/mongo/db/cst/grammar.yy"
+ case 701: // typeExpression: toDate
+#line 2945 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7449 "src/mongo/db/cst/parser_gen.cpp"
+#line 7702 "parser_gen.cpp"
break;
- case 671:
-#line 2832 "src/mongo/db/cst/grammar.yy"
+ case 702: // typeExpression: toDecimal
+#line 2946 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7455 "src/mongo/db/cst/parser_gen.cpp"
+#line 7708 "parser_gen.cpp"
break;
- case 672:
-#line 2833 "src/mongo/db/cst/grammar.yy"
+ case 703: // typeExpression: toDouble
+#line 2947 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7461 "src/mongo/db/cst/parser_gen.cpp"
+#line 7714 "parser_gen.cpp"
break;
- case 673:
-#line 2834 "src/mongo/db/cst/grammar.yy"
+ case 704: // typeExpression: toInt
+#line 2948 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7467 "src/mongo/db/cst/parser_gen.cpp"
+#line 7720 "parser_gen.cpp"
break;
- case 674:
-#line 2835 "src/mongo/db/cst/grammar.yy"
+ case 705: // typeExpression: toLong
+#line 2949 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7473 "src/mongo/db/cst/parser_gen.cpp"
+#line 7726 "parser_gen.cpp"
break;
- case 675:
-#line 2836 "src/mongo/db/cst/grammar.yy"
+ case 706: // typeExpression: toObjectId
+#line 2950 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7479 "src/mongo/db/cst/parser_gen.cpp"
+#line 7732 "parser_gen.cpp"
break;
- case 676:
-#line 2837 "src/mongo/db/cst/grammar.yy"
+ case 707: // typeExpression: toString
+#line 2951 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7485 "src/mongo/db/cst/parser_gen.cpp"
+#line 7738 "parser_gen.cpp"
break;
- case 677:
-#line 2838 "src/mongo/db/cst/grammar.yy"
+ case 708: // typeExpression: type
+#line 2952 "grammar.yy"
{
yylhs.value.as<CNode>() = YY_MOVE(yystack_[0].value.as<CNode>());
}
-#line 7491 "src/mongo/db/cst/parser_gen.cpp"
+#line 7744 "parser_gen.cpp"
break;
- case 678:
-#line 2843 "src/mongo/db/cst/grammar.yy"
+ case 709: // onErrorArg: %empty
+#line 2957 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::onErrorArg, CNode{KeyValue::absentKey}};
}
-#line 7499 "src/mongo/db/cst/parser_gen.cpp"
+#line 7752 "parser_gen.cpp"
break;
- case 679:
-#line 2846 "src/mongo/db/cst/grammar.yy"
+ case 710: // onErrorArg: "onError argument" expression
+#line 2960 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::onErrorArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 7507 "src/mongo/db/cst/parser_gen.cpp"
+#line 7760 "parser_gen.cpp"
break;
- case 680:
-#line 2853 "src/mongo/db/cst/grammar.yy"
+ case 711: // onNullArg: %empty
+#line 2967 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() =
std::pair{KeyFieldname::onNullArg, CNode{KeyValue::absentKey}};
}
-#line 7515 "src/mongo/db/cst/parser_gen.cpp"
+#line 7768 "parser_gen.cpp"
break;
- case 681:
-#line 2856 "src/mongo/db/cst/grammar.yy"
+ case 712: // onNullArg: "onNull argument" expression
+#line 2970 "grammar.yy"
{
yylhs.value.as<std::pair<CNode::Fieldname, CNode>>() = std::pair{
KeyFieldname::onNullArg, YY_MOVE(yystack_[0].value.as<CNode>())};
}
-#line 7523 "src/mongo/db/cst/parser_gen.cpp"
+#line 7776 "parser_gen.cpp"
break;
- case 682:
-#line 2863 "src/mongo/db/cst/grammar.yy"
+ case 713: // convert: "object" CONVERT START_ORDERED_OBJECT "input argument"
+ // expression onErrorArg onNullArg "to argument" expression "end of
+ // object" "end of object"
+#line 2977 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::convert,
@@ -8323,92 +8718,92 @@ int ParserGen::parse() {
YY_MOVE(yystack_[4]
.value.as<std::pair<CNode::Fieldname, CNode>>())}}}}};
}
-#line 7534 "src/mongo/db/cst/parser_gen.cpp"
+#line 7787 "parser_gen.cpp"
break;
- case 683:
-#line 2872 "src/mongo/db/cst/grammar.yy"
+ case 714: // toBool: "object" TO_BOOL expression "end of object"
+#line 2986 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toBool, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7542 "src/mongo/db/cst/parser_gen.cpp"
+#line 7795 "parser_gen.cpp"
break;
- case 684:
-#line 2877 "src/mongo/db/cst/grammar.yy"
+ case 715: // toDate: "object" TO_DATE expression "end of object"
+#line 2991 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toDate, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7550 "src/mongo/db/cst/parser_gen.cpp"
+#line 7803 "parser_gen.cpp"
break;
- case 685:
-#line 2882 "src/mongo/db/cst/grammar.yy"
+ case 716: // toDecimal: "object" TO_DECIMAL expression "end of object"
+#line 2996 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toDecimal, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7558 "src/mongo/db/cst/parser_gen.cpp"
+#line 7811 "parser_gen.cpp"
break;
- case 686:
-#line 2887 "src/mongo/db/cst/grammar.yy"
+ case 717: // toDouble: "object" TO_DOUBLE expression "end of object"
+#line 3001 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toDouble, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7566 "src/mongo/db/cst/parser_gen.cpp"
+#line 7819 "parser_gen.cpp"
break;
- case 687:
-#line 2892 "src/mongo/db/cst/grammar.yy"
+ case 718: // toInt: "object" TO_INT expression "end of object"
+#line 3006 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toInt, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7574 "src/mongo/db/cst/parser_gen.cpp"
+#line 7827 "parser_gen.cpp"
break;
- case 688:
-#line 2897 "src/mongo/db/cst/grammar.yy"
+ case 719: // toLong: "object" TO_LONG expression "end of object"
+#line 3011 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toLong, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7582 "src/mongo/db/cst/parser_gen.cpp"
+#line 7835 "parser_gen.cpp"
break;
- case 689:
-#line 2902 "src/mongo/db/cst/grammar.yy"
+ case 720: // toObjectId: "object" TO_OBJECT_ID expression "end of object"
+#line 3016 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toObjectId, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7590 "src/mongo/db/cst/parser_gen.cpp"
+#line 7843 "parser_gen.cpp"
break;
- case 690:
-#line 2907 "src/mongo/db/cst/grammar.yy"
+ case 721: // toString: "object" TO_STRING expression "end of object"
+#line 3021 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::toString, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7598 "src/mongo/db/cst/parser_gen.cpp"
+#line 7851 "parser_gen.cpp"
break;
- case 691:
-#line 2912 "src/mongo/db/cst/grammar.yy"
+ case 722: // type: "object" TYPE expression "end of object"
+#line 3026 "grammar.yy"
{
yylhs.value.as<CNode>() = CNode{CNode::ObjectChildren{
{KeyFieldname::type, YY_MOVE(yystack_[1].value.as<CNode>())}}};
}
-#line 7606 "src/mongo/db/cst/parser_gen.cpp"
+#line 7859 "parser_gen.cpp"
break;
-#line 7610 "src/mongo/db/cst/parser_gen.cpp"
+#line 7863 "parser_gen.cpp"
default:
break;
@@ -8424,7 +8819,6 @@ int ParserGen::parse() {
YY_SYMBOL_PRINT("-> $$ =", yylhs);
yypop_(yylen);
yylen = 0;
- YY_STACK_PRINT();
// Shift the result of the reduction.
yypush_(YY_NULLPTR, YY_MOVE(yylhs));
@@ -8439,7 +8833,9 @@ int ParserGen::parse() {
// If not already recovering from an error, report this error.
if (!yyerrstatus_) {
++yynerrs_;
- error(yyla.location, yysyntax_error_(yystack_[0].state, yyla));
+ context yyctx(*this, yyla);
+ std::string msg = yysyntax_error_(yyctx);
+ error(yyla.location, YY_MOVE(msg));
}
@@ -8449,7 +8845,7 @@ int ParserGen::parse() {
error, discard it. */
// Return failure if at end of input.
- if (yyla.type_get() == yyeof_)
+ if (yyla.kind() == symbol_kind::S_YYEOF)
YYABORT;
else if (!yyla.empty()) {
yy_destroy_("Error: discarding", yyla);
@@ -8474,6 +8870,7 @@ int ParserGen::parse() {
this YYERROR. */
yypop_(yylen);
yylen = 0;
+ YY_STACK_PRINT();
goto yyerrlab1;
@@ -8482,34 +8879,35 @@ int ParserGen::parse() {
`-------------------------------------------------------------*/
yyerrlab1:
yyerrstatus_ = 3; // Each real token shifted decrements this.
- {
- stack_symbol_type error_token;
- for (;;) {
- yyn = yypact_[yystack_[0].state];
- if (!yy_pact_value_is_default_(yyn)) {
- yyn += yy_error_token_;
- if (0 <= yyn && yyn <= yylast_ && yycheck_[yyn] == yy_error_token_) {
- yyn = yytable_[yyn];
- if (0 < yyn)
- break;
- }
+ // Pop stack until we find a state that shifts the error token.
+ for (;;) {
+ yyn = yypact_[+yystack_[0].state];
+ if (!yy_pact_value_is_default_(yyn)) {
+ yyn += symbol_kind::S_YYerror;
+ if (0 <= yyn && yyn <= yylast_ && yycheck_[yyn] == symbol_kind::S_YYerror) {
+ yyn = yytable_[yyn];
+ if (0 < yyn)
+ break;
}
+ }
- // Pop the current state because it cannot handle the error token.
- if (yystack_.size() == 1)
- YYABORT;
+ // Pop the current state because it cannot handle the error token.
+ if (yystack_.size() == 1)
+ YYABORT;
- yyerror_range[1].location = yystack_[0].location;
- yy_destroy_("Error: popping", yystack_[0]);
- yypop_();
- YY_STACK_PRINT();
- }
+ yyerror_range[1].location = yystack_[0].location;
+ yy_destroy_("Error: popping", yystack_[0]);
+ yypop_();
+ YY_STACK_PRINT();
+ }
+ {
+ stack_symbol_type error_token;
yyerror_range[2].location = yyla.location;
YYLLOC_DEFAULT(error_token.location, yyerror_range, 2);
// Shift the error token.
- error_token.state = static_cast<state_type>(yyn);
+ error_token.state = state_type(yyn);
yypush_("Shifting", YY_MOVE(error_token));
}
goto yynewstate;
@@ -8541,6 +8939,7 @@ int ParserGen::parse() {
/* Do not reclaim the symbols of the rule whose action triggered
this YYABORT or YYACCEPT. */
yypop_(yylen);
+ YY_STACK_PRINT();
while (1 < yystack_.size()) {
yy_destroy_("Cleanup: popping", yystack_[0]);
yypop_();
@@ -8569,16 +8968,85 @@ void ParserGen::error(const syntax_error& yyexc) {
error(yyexc.location, yyexc.what());
}
-// Generate an error message.
-std::string ParserGen::yysyntax_error_(state_type yystate, const symbol_type& yyla) const {
- // Number of reported tokens (one for the "unexpected", one per
- // "expected").
- std::ptrdiff_t yycount = 0;
- // Its maximum.
- enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
- // Arguments of yyformat.
- char const* yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
+/* Return YYSTR after stripping away unnecessary quotes and
+ backslashes, so that it's suitable for yyerror. The heuristic is
+ that double-quoting is unnecessary unless the string contains an
+ apostrophe, a comma, or backslash (other than backslash-backslash).
+ YYSTR is taken from yytname. */
+std::string ParserGen::yytnamerr_(const char* yystr) {
+ if (*yystr == '"') {
+ std::string yyr;
+ char const* yyp = yystr;
+
+ for (;;)
+ switch (*++yyp) {
+ case '\'':
+ case ',':
+ goto do_not_strip_quotes;
+
+ case '\\':
+ if (*++yyp != '\\')
+ goto do_not_strip_quotes;
+ else
+ goto append;
+
+ append:
+ default:
+ yyr += *yyp;
+ break;
+
+ case '"':
+ return yyr;
+ }
+ do_not_strip_quotes:;
+ }
+
+ return yystr;
+}
+
+std::string ParserGen::symbol_name(symbol_kind_type yysymbol) {
+ return yytnamerr_(yytname_[yysymbol]);
+}
+
+// ParserGen::context.
+ParserGen::context::context(const ParserGen& yyparser, const symbol_type& yyla)
+ : yyparser_(yyparser), yyla_(yyla) {}
+
+int ParserGen::context::expected_tokens(symbol_kind_type yyarg[], int yyargn) const {
+ // Actual number of expected tokens
+ int yycount = 0;
+
+ int yyn = yypact_[+yyparser_.yystack_[0].state];
+ if (!yy_pact_value_is_default_(yyn)) {
+ /* Start YYX at -YYN if negative to avoid negative indexes in
+ YYCHECK. In other words, skip the first -YYN actions for
+ this state because they are default actions. */
+ int yyxbegin = yyn < 0 ? -yyn : 0;
+ // Stay within bounds of both yycheck and yytname.
+ int yychecklim = yylast_ - yyn + 1;
+ int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
+ for (int yyx = yyxbegin; yyx < yyxend; ++yyx)
+ if (yycheck_[yyx + yyn] == yyx && yyx != symbol_kind::S_YYerror &&
+ !yy_table_value_is_error_(yytable_[yyx + yyn])) {
+ if (!yyarg)
+ ++yycount;
+ else if (yycount == yyargn)
+ return 0;
+ else
+ yyarg[yycount++] = YY_CAST(symbol_kind_type, yyx);
+ }
+ }
+
+ if (yyarg && yycount == 0 && 0 < yyargn)
+ yyarg[0] = symbol_kind::S_YYEMPTY;
+ return yycount;
+}
+
+
+int ParserGen::yy_syntax_error_arguments_(const context& yyctx,
+ symbol_kind_type yyarg[],
+ int yyargn) const {
/* There are many possibilities here to consider:
- If this state is a consistent state with a default action, then
the only way this function was invoked is if the default action
@@ -8603,30 +9071,23 @@ std::string ParserGen::yysyntax_error_(state_type yystate, const symbol_type& yy
one exception: it will still contain any token that will not be
accepted due to an error action in a later state.
*/
- if (!yyla.empty()) {
- symbol_number_type yytoken = yyla.type_get();
- yyarg[yycount++] = yytname_[yytoken];
-
- int yyn = yypact_[yystate];
- if (!yy_pact_value_is_default_(yyn)) {
- /* Start YYX at -YYN if negative to avoid negative indexes in
- YYCHECK. In other words, skip the first -YYN actions for
- this state because they are default actions. */
- int yyxbegin = yyn < 0 ? -yyn : 0;
- // Stay within bounds of both yycheck and yytname.
- int yychecklim = yylast_ - yyn + 1;
- int yyxend = yychecklim < yyntokens_ ? yychecklim : yyntokens_;
- for (int yyx = yyxbegin; yyx < yyxend; ++yyx)
- if (yycheck_[yyx + yyn] == yyx && yyx != yy_error_token_ &&
- !yy_table_value_is_error_(yytable_[yyx + yyn])) {
- if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) {
- yycount = 1;
- break;
- } else
- yyarg[yycount++] = yytname_[yyx];
- }
- }
+
+ if (!yyctx.lookahead().empty()) {
+ if (yyarg)
+ yyarg[0] = yyctx.token();
+ int yyn = yyctx.expected_tokens(yyarg ? yyarg + 1 : yyarg, yyargn - 1);
+ return yyn + 1;
}
+ return 0;
+}
+
+// Generate an error message.
+std::string ParserGen::yysyntax_error_(const context& yyctx) const {
+ // Its maximum.
+ enum { YYARGS_MAX = 5 };
+ // Arguments of yyformat.
+ symbol_kind_type yyarg[YYARGS_MAX];
+ int yycount = yy_syntax_error_arguments_(yyctx, yyarg, YYARGS_MAX);
char const* yyformat = YY_NULLPTR;
switch (yycount) {
@@ -8649,7 +9110,7 @@ std::string ParserGen::yysyntax_error_(state_type yystate, const symbol_type& yy
std::ptrdiff_t yyi = 0;
for (char const* yyp = yyformat; *yyp; ++yyp)
if (yyp[0] == '%' && yyp[1] == 's' && yyi < yycount) {
- yyres += yytnamerr_(yyarg[yyi++]);
+ yyres += symbol_name(yyarg[yyi++]);
++yyp;
} else
yyres += *yyp;
@@ -8657,957 +9118,1059 @@ std::string ParserGen::yysyntax_error_(state_type yystate, const symbol_type& yy
}
-const short ParserGen::yypact_ninf_ = -1089;
+const short ParserGen::yypact_ninf_ = -1153;
-const short ParserGen::yytable_ninf_ = -506;
+const short ParserGen::yytable_ninf_ = -537;
const short ParserGen::yypact_[] = {
- -58, -119, -116, -108, -101, 50, -89, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -46, -9, 2150, 269, 1285, -82, 2485, -116, -75, -71, 2485,
- -69, 12, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, 3637, -1089, 3789, -1089, -1089, -1089, -69, 251, -1089, -1089,
- -1089, -1089, 4245, -1089, -1089, -1089, -1089, -1089, -56, -1089, -1089, -1089, -1089,
- 4397, -1089, -1089, 4397, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, 39, -1089, -1089, -1089, -1089, 27, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, 45, -1089, -1089, 99, -89, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, 1984, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- 104, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, 1460, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, 14, -1089, -1089, -1089, 2255, 2485, 317, -1089,
- 2421, 1810, 2573, 3941, 3941, 3941, -20, -17, -20, -15, 3941, 3941, 3941,
- -1, 3941, 3941, -1, 0, 1, -69, 3941, 3941, -69, -69, -69, -69,
- 4093, 4093, 4093, 3941, 3, -1, 3941, 3941, -1, -1, 4093, 10, 15,
- 4093, 4093, 4093, 18, 3941, 24, 3941, -1, -1, -69, 87, 4093, 4093,
- 25, 4093, 36, -1, 44, -20, 48, 3941, -69, -69, -69, -69, -69,
- 51, -69, 4093, -1, 54, 56, -1, 60, 3941, 3941, 62, 63, 3941,
- 64, 3789, 3789, 68, 70, 71, 72, 3941, 3941, 3789, 3789, 3789, 3789,
- 3789, 3789, 3789, 3789, 3789, 3789, -69, 73, 3789, 4093, 4093, 2423, 40,
- 118, -23, -116, -116, -1089, 952, 4397, 4397, 2323, -1089, -111, -1089, 4549,
- 4549, -1089, -1089, 77, 112, -1089, -1089, -1089, 3637, -1089, -1089, -1089, 3789,
- -1089, -1089, -1089, -1089, -1089, -1089, 81, 82, 84, 92, 3789, 100, 3789,
- 119, 123, 147, 3789, 154, 155, 158, 159, -1089, 3637, 165, 162, 163,
- 223, 225, 227, 228, 1984, -1089, -1089, 170, 171, 235, 178, 179, 241,
- 181, 182, 244, 184, 3789, 185, 186, 187, 188, 189, 194, 195, 257,
- 3789, 3789, 198, 200, 262, 202, 203, 265, 238, 239, 301, 3637, 242,
- 3789, 243, 245, 246, 304, 247, 252, 256, 259, 260, 261, 267, 268,
- 271, 272, 276, 305, 277, 278, 312, 3789, 279, 281, 323, 3789, 282,
- 3789, 286, 3789, 288, 289, 343, 291, 292, 349, 355, 3789, 304, 300,
- 306, 366, 309, 3789, 3789, 313, 3789, 315, 316, 3789, 318, 319, 3789,
- 320, 3789, 322, 325, 3789, 3789, 3789, 3789, 326, 327, 328, 330, 332,
- 334, 335, 337, 338, 339, 344, 345, 304, 3789, 346, 347, 348, 373,
- 352, 357, 378, -1089, 3789, -1089, -1089, -1089, -1089, -1089, 40, 407, -1089,
- 3637, 295, -109, 258, -1089, -1089, -1089, -1089, -1089, 363, 374, 2485, 375,
- -1089, -1089, -1089, -1089, -1089, -1089, 382, 1635, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -14, -1089, 384, -1089, -1089, -1089, -1089, 385, -1089, 386, -1089,
- -1089, -1089, 3789, -1089, -1089, -1089, -1089, 2725, 388, 3789, -1089, -1089, 3789,
- 427, 3789, 3789, 3789, -1089, -1089, 3789, -1089, -1089, 3789, -1089, -1089, 3789,
- -1089, 3789, -1089, -1089, -1089, -1089, -1089, -1089, -1089, 3789, 3789, 3789, -1089,
- -1089, 3789, -1089, -1089, 3789, -1089, -1089, 3789, 389, -1089, 3789, -1089, -1089,
- -1089, 3789, 442, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, 3789, -1089, -1089, 3789, 3789, -1089, -1089, 3789, 3789, -1089, 391, -1089,
- 3789, -1089, -1089, 3789, -1089, -1089, 3789, 3789, 3789, 445, -1089, -1089, 3789,
- -1089, 3789, 3789, -1089, 3789, -1089, -1089, 3789, -1089, -1089, 3789, -1089, 3789,
- -1089, -1089, 3789, 3789, 3789, 3789, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, 448, 3789, -1089, -1089, -1089, 3789, -1089, -1089,
- 3789, -1089, -1089, 317, 435, -1089, 2485, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, 2485, -1089, -1089, 4549, 4549, -1089, 2355, 398, -1089, 399,
- 401, 404, 405, 406, 451, -1089, 3789, 93, 459, 460, 459, 444, 444,
- 444, 411, 444, 3789, 3789, 444, 444, 444, 413, 412, -1089, 3789, 444,
- 444, 419, 444, -1089, 420, 424, 461, 487, 488, 438, 3789, 444, -1089,
- -1089, -1089, 2877, 439, 440, 3789, 3789, 3789, 441, 3789, 443, 444, 444,
- -1089, 317, 447, 2485, -41, 4592, 449, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, 3789, 484, -1089, 3789, 3789, 501, 506, 3789, 444,
- 40, 444, 444, 3789, 462, 465, 471, 472, 478, 3789, 481, 497, 498,
- 499, 500, -1089, 502, 504, 509, 511, 512, 517, 3029, -1089, 523, 3789,
- 565, 3789, 3789, 526, 527, 530, 3181, 3333, 3485, 532, 540, 541, 547,
- 552, 556, 557, 559, 561, 562, 566, -1089, -1089, 568, 571, -1089, -1089,
- 572, -1089, 3789, 495, -1089, -1089, 3789, 610, 3789, 622, -1089, 451, -1089,
- 576, 484, -1089, 578, 579, 581, -1089, 582, -1089, 584, 586, 587, 592,
- 593, -1089, 594, 595, 596, -1089, 597, 598, -1089, -1089, 3789, 638, 639,
- -1089, 601, 602, 604, 606, 607, -1089, -1089, -1089, 608, 611, 612, -1089,
- 613, -1089, 616, 617, -1089, -1089, -1089, -1089, 3789, -1089, 3789, 646, -1089,
- 3789, 484, 618, 619, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, 620, 3789, 3789, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, 621, -1089, 3789, 444, 657, 623, -1089,
- 626, -1089, 627, 636, 637, -1089, 655, 501, 640, -1089, 641, 643, -1089,
- 3789, 610, -1089, -1089, -1089, 644, 646, 648, 444, -1089, 649, 650, -1089};
+ -66, -124, -120, -107, -105, 62, -93, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -50, -7, 319, 2268, 1355, -89, 637, -120, -83, -79, 637,
+ -78, 3, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, 4197, -1153, 4355, -1153, -1153, -1153, -78, 41,
+ -1153, -1153, -1153, -1153, 4829, -1153, -1153, -1153, -1153, -1153, -67, -1153, -1153,
+ -1153, -1153, 4987, -1153, -1153, 4987, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ 296, -1153, -1153, -1153, -1153, 8, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, 55, -1153, -1153, 83, -93, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, 2094,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, 102, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, 1540, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -2, -1153,
+ -1153, -1153, 2339, 637, 135, -1153, 2617, 1910, 2775, 4513, 4513, 4513, -42,
+ -33, -42, -17, -6, 4355, 4513, 4513, 4513, -6, 4513, 4513, -6, 1,
+ 2, 6, -78, 4513, 4513, -78, -78, -78, -78, 4671, 4671, 4671, 4513,
+ 19, -6, 4513, -78, 4355, 4513, -6, -6, 4671, -6, 25, 28, 29,
+ 4513, 4671, 4671, 4671, 32, 4513, 35, 4513, -6, -6, -78, 5, 4671,
+ 4671, 36, 4671, 44, -6, 46, -42, 47, 4513, -78, -78, -78, -78,
+ -78, 49, -78, 4671, -6, 50, 52, -6, 60, 4513, 4513, 64, 67,
+ 4513, 70, 4355, 4355, 74, 75, 76, 79, 4513, 4513, 4355, 4355, 4355,
+ 4355, 4355, 4355, 4355, 4355, 4355, 4355, -78, 80, 4355, 4671, 4671, 2618,
+ 7, 101, -29, -120, -120, -1153, 210, 4987, 4987, 2443, -1153, -99, -1153,
+ 5145, 5145, -1153, -1153, 58, 88, -1153, -1153, -1153, 4197, -1153, -1153, -1153,
+ 4355, -1153, -1153, -1153, -1153, -1153, -1153, 69, 77, 81, 82, 4355, 85,
+ 4355, 4355, 86, 87, 96, 116, 132, 133, 140, 159, 160, -1153, -1153,
+ 4197, 124, 162, 164, 143, 136, 150, 227, 2094, -1153, -1153, 166, 167,
+ 230, 171, 172, 236, 175, 176, 239, 178, 4355, 179, 180, 251, 186,
+ 187, 188, 189, 190, 191, 256, 195, 4355, 198, 199, 4355, 4355, 204,
+ 208, 209, 272, 211, 214, 277, 217, 218, 281, 4197, 220, 4355, 221,
+ 222, 223, 289, 226, 228, 232, 233, 234, 235, 237, 238, 243, 246,
+ 247, 298, 252, 261, 301, 4355, 290, 293, 313, 4355, 294, 4355, 297,
+ 4355, 302, 303, 343, 307, 308, 284, 353, 4355, 289, 310, 311, 360,
+ 312, 4355, 4355, 314, 4355, 320, 321, 4355, 322, 325, 4355, 331, 4355,
+ 337, 338, 4355, 4355, 4355, 4355, 348, 349, 350, 351, 355, 356, 359,
+ 363, 365, 368, 369, 370, 289, 4355, 371, 372, 373, 375, 374, 376,
+ 440, -1153, 4355, -1153, -1153, -1153, -1153, -1153, 7, 358, -1153, 4197, 304,
+ -116, 309, -1153, -1153, -1153, -1153, -1153, 380, 381, 637, 383, -1153, -1153,
+ -1153, -1153, -1153, -1153, 384, 1725, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -31, -1153, 386, -1153, -1153, -1153, -1153, 389, -1153, 390, 4355, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, 2933, 3091, 391, 4355, -1153, -1153,
+ 4355, 435, 4355, 4355, 4355, -1153, -1153, 4355, -1153, -1153, 4355, -1153, -1153,
+ 4355, -1153, 4355, -1153, -1153, 135, 454, -1153, -1153, -1153, -1153, -1153, -1153,
+ 4355, -1153, 4355, -1153, -1153, 4355, 4355, -1153, -1153, -1153, 4355, -1153, -1153,
+ 4355, -1153, -1153, 4355, 393, -1153, 4355, -1153, -1153, -1153, 4355, 447, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, 4355, -1153, -1153,
+ 4355, 4355, -1153, -1153, 4355, 4355, -1153, 395, -1153, 4355, -1153, -1153, 4355,
+ -1153, -1153, 4355, 4355, 4355, 449, -1153, -1153, 4355, -1153, 4355, 4355, -1153,
+ 4355, -1153, -1153, 4355, -1153, -1153, 4355, -1153, 4355, -1153, -1153, 4355, 4355,
+ 4355, 4355, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, 450, 4355, -1153, -1153, -1153, 4355, -1153, -1153, 4355, -1153, -1153, 135,
+ 436, -1153, 637, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, 637,
+ -1153, -1153, 5145, 5145, -1153, 2514, 400, -1153, 402, 404, 406, 410, 414,
+ 415, 451, -1153, 4355, 89, 472, 470, 472, 456, 456, 456, 422, -1153,
+ 4355, 456, 3249, 4355, 4355, 456, 456, 456, 425, 429, -1153, 4355, 456,
+ 456, 439, 456, -1153, 442, 459, 482, 513, 516, 468, 4355, 456, -1153,
+ -1153, -1153, 3249, 469, 474, 4355, 4355, 4355, 475, 4355, 478, 456, 456,
+ -1153, 135, 480, 637, -27, 5189, 488, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, 4355, 525, -1153, 4355, 4355, 539, 544, 4355,
+ 456, 7, 456, 456, 4355, 494, 495, 496, 498, 555, 502, 3407, 4355,
+ 506, 507, 511, 512, 515, -1153, 517, 519, 520, 521, 522, 524, 3565,
+ -1153, 526, 4355, 557, 4355, 4355, 530, 536, 540, 3723, 3881, 4039, 545,
+ 543, 546, 551, 553, 556, 561, 567, 568, 581, 585, -1153, -1153, 588,
+ 589, -1153, -1153, 595, -1153, 4355, 574, -1153, -1153, 4355, 602, 4355, 646,
+ -1153, 451, -1153, 597, 525, -1153, 601, 603, 606, -1153, 4355, 608, -1153,
+ 610, -1153, 611, 612, 614, 616, 617, -1153, 622, 623, 624, -1153, 625,
+ 626, -1153, -1153, 4355, 642, 670, -1153, 631, 638, 639, 640, 641, -1153,
+ -1153, 643, 647, 649, -1153, 650, -1153, 651, 652, -1153, -1153, -1153, -1153,
+ 4355, -1153, 4355, 675, -1153, 4355, 525, 653, 655, -1153, -1153, -1153, 659,
+ -1153, 660, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, 661,
+ 4355, 4355, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ 663, -1153, 4355, 456, 690, 664, -1153, 665, 671, -1153, -1153, 672, 673,
+ 674, -1153, 679, 539, 676, -1153, -1153, 677, 678, -1153, 4355, 602, -1153,
+ -1153, -1153, 680, 675, 681, 456, -1153, 682, 683, -1153};
const short ParserGen::yydefact_[] = {
- 0, 0, 0, 0, 0, 0, 7, 2, 79, 3, 601, 4, 586, 5, 1, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 7, 2, 79, 3, 632, 4, 617, 5, 1, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 12, 13, 14, 15, 16, 6, 109, 167,
- 149, 138, 148, 145, 159, 168, 152, 146, 154, 141, 163, 160, 161, 162, 166, 158, 156, 164, 143,
- 144, 151, 139, 150, 153, 165, 157, 140, 147, 142, 155, 0, 78, 0, 371, 111, 110, 0, 0,
- 117, 115, 116, 114, 0, 136, 80, 81, 83, 82, 0, 84, 85, 86, 600, 0, 70, 72, 0,
- 71, 137, 602, 193, 261, 264, 169, 247, 171, 248, 260, 263, 262, 170, 265, 194, 176, 209, 172,
- 183, 255, 258, 210, 225, 211, 226, 212, 213, 214, 266, 195, 372, 585, 177, 196, 197, 178, 179,
- 215, 227, 228, 216, 217, 218, 173, 198, 199, 200, 180, 181, 229, 230, 219, 220, 201, 221, 202,
- 182, 175, 174, 203, 267, 231, 232, 233, 235, 234, 204, 236, 222, 249, 250, 251, 252, 253, 254,
- 257, 205, 237, 206, 129, 132, 133, 134, 135, 131, 130, 240, 238, 239, 241, 242, 243, 207, 256,
- 259, 184, 185, 186, 187, 188, 189, 244, 190, 191, 246, 245, 208, 192, 223, 224, 597, 649, 650,
- 651, 648, 0, 652, 653, 596, 587, 0, 308, 307, 306, 304, 303, 302, 296, 295, 294, 300, 299,
- 298, 293, 297, 301, 305, 20, 21, 22, 23, 25, 26, 28, 0, 24, 9, 0, 7, 310, 309,
- 269, 270, 271, 272, 273, 274, 275, 276, 642, 645, 277, 268, 278, 279, 280, 281, 282, 283, 284,
- 285, 286, 287, 288, 289, 290, 291, 292, 320, 321, 322, 323, 324, 329, 325, 326, 327, 330, 331,
- 104, 311, 312, 314, 315, 316, 328, 317, 318, 319, 637, 638, 639, 640, 313, 332, 365, 334, 118,
- 345, 336, 335, 346, 354, 374, 347, 445, 446, 447, 348, 633, 634, 351, 451, 452, 453, 454, 455,
- 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 472, 471, 349, 654,
- 655, 656, 657, 658, 659, 660, 355, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491,
- 492, 493, 494, 350, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 375, 376, 377, 378, 379,
- 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 352, 619, 620, 621, 622, 623, 624, 625, 353,
- 399, 400, 401, 402, 403, 404, 405, 406, 407, 409, 410, 411, 408, 412, 413, 337, 344, 120, 128,
+ 169, 149, 138, 170, 148, 145, 159, 168, 152, 146, 154, 141, 163, 160, 161, 162, 166, 158, 156,
+ 164, 143, 144, 151, 139, 150, 153, 165, 157, 140, 147, 142, 155, 0, 78, 0, 382, 111, 110,
+ 0, 0, 117, 115, 116, 114, 0, 136, 80, 81, 83, 82, 0, 84, 85, 86, 631, 0, 70,
+ 72, 0, 71, 137, 633, 195, 263, 266, 171, 249, 173, 250, 270, 271, 262, 265, 264, 172, 267,
+ 196, 178, 211, 272, 174, 185, 257, 260, 212, 227, 213, 228, 214, 215, 216, 268, 197, 383, 616,
+ 179, 198, 273, 274, 199, 180, 181, 217, 275, 276, 229, 230, 277, 218, 219, 220, 175, 200, 201,
+ 202, 182, 183, 231, 232, 221, 222, 203, 223, 204, 184, 177, 176, 205, 269, 233, 234, 235, 237,
+ 236, 206, 238, 224, 251, 252, 253, 254, 255, 256, 259, 207, 239, 208, 129, 132, 133, 134, 135,
+ 131, 130, 242, 240, 241, 243, 244, 245, 209, 258, 261, 186, 187, 188, 189, 190, 191, 246, 192,
+ 193, 248, 247, 210, 194, 225, 226, 628, 680, 681, 682, 679, 0, 683, 684, 627, 618, 0, 318,
+ 317, 316, 314, 313, 312, 306, 305, 304, 310, 309, 308, 303, 307, 311, 315, 20, 21, 22, 23,
+ 25, 26, 28, 0, 24, 9, 0, 7, 320, 319, 279, 280, 281, 282, 283, 284, 285, 286, 673,
+ 676, 287, 278, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 330,
+ 331, 332, 333, 334, 339, 335, 336, 337, 340, 341, 104, 321, 322, 324, 325, 326, 338, 327, 328,
+ 329, 668, 669, 670, 671, 323, 342, 376, 344, 118, 355, 346, 345, 356, 364, 385, 357, 456, 457,
+ 458, 358, 664, 665, 361, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495,
+ 496, 497, 498, 499, 500, 501, 503, 502, 359, 685, 686, 687, 688, 689, 690, 691, 365, 511, 512,
+ 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 360, 699, 700, 701, 702, 703,
+ 704, 705, 706, 707, 708, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399,
+ 400, 366, 462, 463, 464, 465, 466, 467, 468, 469, 362, 650, 651, 652, 653, 654, 655, 656, 363,
+ 410, 411, 412, 413, 414, 415, 416, 417, 418, 420, 421, 422, 419, 423, 424, 347, 354, 120, 128,
127, 90, 88, 87, 112, 64, 63, 60, 59, 62, 56, 55, 58, 48, 47, 50, 52, 51, 54,
0, 49, 53, 57, 61, 43, 44, 45, 46, 65, 66, 67, 36, 37, 38, 39, 40, 41, 42,
- 606, 68, 608, 603, 605, 609, 610, 607, 604, 595, 594, 593, 592, 589, 588, 591, 590, 0, 598,
- 599, 18, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 637, 68, 639, 634, 636, 640, 641, 638, 635, 626, 625, 624, 623, 620, 619, 622, 621, 0, 629,
+ 630, 18, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 122, 0, 0, 0,
- 373, 0, 0, 0, 0, 615, 0, 27, 0, 0, 69, 29, 0, 0, 641, 643, 644, 0, 646,
- 360, 333, 0, 338, 342, 362, 339, 343, 363, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 332, 0, 0, 0, 0, 503, 0, 0, 0, 9, 340, 341, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 560, 0, 0, 0,
+ 0, 0, 0, 0, 122, 0, 0, 0, 384, 0, 0, 0, 0, 646, 0, 27, 0, 0, 69,
+ 29, 0, 0, 672, 674, 675, 0, 677, 371, 343, 0, 348, 352, 373, 349, 353, 374, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 342, 342, 0, 0,
+ 0, 0, 534, 0, 0, 0, 9, 350, 351, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 591, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 560, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 591, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 560, 0, 0, 0, 0, 0, 0, 0, 0, 364, 0, 369,
- 368, 370, 366, 121, 0, 124, 89, 0, 0, 0, 0, 91, 92, 95, 93, 94, 113, 0, 0,
- 0, 618, 617, 614, 616, 582, 583, 0, 0, 30, 32, 33, 34, 35, 31, 17, 0, 647, 0,
- 416, 438, 441, 414, 0, 448, 0, 437, 440, 439, 0, 415, 442, 417, 661, 0, 0, 0, 432,
- 435, 0, 495, 0, 0, 0, 518, 516, 0, 521, 519, 0, 527, 525, 0, 443, 0, 662, 419,
- 420, 663, 664, 530, 528, 0, 0, 0, 524, 522, 0, 539, 537, 0, 542, 540, 0, 0, 421,
- 0, 423, 665, 666, 0, 0, 390, 391, 392, 393, 394, 395, 396, 397, 398, 551, 549, 0, 554,
- 552, 0, 0, 533, 531, 0, 0, 667, 0, 449, 0, 444, 568, 0, 569, 570, 0, 0, 0,
- 0, 548, 546, 0, 628, 0, 0, 631, 0, 431, 434, 0, 358, 359, 0, 428, 0, 574, 575,
- 0, 0, 0, 0, 433, 436, 683, 684, 685, 686, 687, 688, 580, 689, 690, 581, 0, 0, 691,
- 536, 534, 0, 545, 543, 0, 367, 123, 0, 0, 96, 0, 90, 105, 98, 101, 103, 102, 100,
- 108, 611, 0, 612, 584, 0, 0, 74, 0, 0, 361, 0, 0, 0, 0, 0, 678, 504, 0,
- 501, 474, 509, 474, 476, 476, 476, 0, 476, 555, 555, 476, 476, 476, 0, 0, 561, 0, 476,
- 476, 0, 476, 332, 0, 0, 565, 0, 0, 0, 0, 476, 332, 332, 332, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 476, 476, 125, 0, 0, 0, 0, 0, 0, 77, 76, 73, 75, 19,
- 626, 627, 356, 473, 635, 0, 680, 496, 0, 0, 497, 507, 0, 476, 0, 476, 476, 0, 0,
- 0, 0, 0, 0, 556, 0, 0, 0, 0, 0, 636, 0, 0, 0, 0, 0, 0, 0, 450,
+ 0, 0, 0, 0, 0, 0, 591, 0, 0, 0, 0, 0, 0, 0, 0, 375, 0, 380, 379,
+ 381, 377, 121, 0, 124, 89, 0, 0, 0, 0, 91, 92, 95, 93, 94, 113, 0, 0, 0,
+ 649, 648, 645, 647, 613, 614, 0, 0, 30, 32, 33, 34, 35, 31, 17, 0, 678, 0, 427,
+ 449, 452, 425, 0, 459, 0, 0, 470, 471, 448, 451, 450, 426, 453, 428, 692, 0, 0, 0,
+ 0, 443, 446, 0, 526, 0, 0, 0, 549, 547, 0, 552, 550, 0, 558, 556, 0, 454, 0,
+ 693, 430, 0, 0, 476, 431, 694, 695, 561, 559, 0, 477, 0, 479, 480, 0, 0, 481, 555,
+ 553, 0, 570, 568, 0, 573, 571, 0, 0, 432, 0, 434, 696, 697, 0, 0, 401, 402, 403,
+ 404, 405, 406, 407, 408, 409, 582, 580, 0, 585, 583, 0, 0, 564, 562, 0, 0, 698, 0,
+ 460, 0, 455, 599, 0, 600, 601, 0, 0, 0, 0, 579, 577, 0, 659, 0, 0, 662, 0,
+ 442, 445, 0, 369, 370, 0, 439, 0, 605, 606, 0, 0, 0, 0, 444, 447, 714, 715, 716,
+ 717, 718, 719, 611, 720, 721, 612, 0, 0, 722, 567, 565, 0, 576, 574, 0, 378, 123, 0,
+ 0, 96, 0, 90, 105, 98, 101, 103, 102, 100, 108, 642, 0, 643, 615, 0, 0, 74, 0,
+ 0, 372, 0, 0, 0, 0, 0, 0, 709, 535, 0, 532, 505, 540, 505, 507, 507, 507, 0,
+ 474, 0, 507, 0, 586, 586, 507, 507, 507, 0, 0, 592, 0, 507, 507, 0, 507, 342, 0,
+ 0, 596, 0, 0, 0, 0, 507, 342, 342, 342, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 507, 507, 125, 0, 0, 0, 0, 0, 0, 77, 76, 73, 75, 19, 657, 658, 367, 504, 472,
+ 666, 0, 711, 527, 0, 0, 528, 538, 0, 507, 0, 507, 507, 0, 0, 0, 0, 0, 0,
+ 0, 0, 587, 0, 0, 0, 0, 0, 667, 0, 0, 0, 0, 0, 0, 0, 461, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 126, 119, 0, 91, 97, 99, 0, 679, 0, 0, 506, 502, 0, 511, 0, 0,
- 475, 678, 510, 0, 680, 477, 0, 0, 0, 418, 0, 557, 0, 0, 0, 0, 0, 422, 0,
- 0, 0, 424, 0, 0, 426, 566, 0, 0, 0, 427, 0, 0, 0, 0, 0, 357, 573, 576,
- 0, 0, 0, 429, 0, 430, 0, 0, 107, 106, 613, 681, 0, 498, 0, 499, 508, 0, 680,
- 0, 0, 517, 520, 526, 529, 558, 559, 523, 538, 541, 562, 550, 553, 532, 425, 0, 0, 0,
- 563, 547, 629, 630, 632, 577, 578, 579, 564, 535, 544, 0, 512, 0, 476, 501, 0, 515, 0,
- 567, 0, 0, 0, 500, 0, 497, 0, 479, 0, 0, 682, 0, 511, 478, 572, 571, 0, 499,
- 0, 476, 513, 0, 0, 514};
+ 0, 126, 119, 0, 91, 97, 99, 0, 710, 0, 0, 537, 533, 0, 542, 0, 0, 506, 709,
+ 541, 0, 711, 508, 0, 0, 0, 429, 0, 0, 368, 0, 588, 0, 0, 0, 0, 0, 433,
+ 0, 0, 0, 435, 0, 0, 437, 597, 0, 0, 0, 438, 0, 0, 0, 0, 0, 604, 607,
+ 0, 0, 0, 440, 0, 441, 0, 0, 107, 106, 644, 712, 0, 529, 0, 530, 539, 0, 711,
+ 0, 0, 548, 551, 557, 0, 560, 0, 589, 590, 554, 569, 572, 593, 581, 584, 563, 436, 0,
+ 0, 0, 594, 578, 660, 661, 663, 608, 609, 610, 595, 566, 575, 0, 543, 0, 507, 532, 0,
+ 546, 0, 0, 478, 598, 0, 0, 0, 531, 0, 528, 0, 510, 475, 0, 0, 713, 0, 542,
+ 509, 603, 602, 0, 530, 0, 507, 544, 0, 0, 545};
const short ParserGen::yypgoto_[] = {
- -1089, 236, -5, -1089, -1089, -8, -1089, -1089, 4, -1089, 9, -1089, -762,
- 230, -1089, -1089, -233, -1089, -1089, -12, -50, -74, -42, -33, -10, -31,
- 8, -11, 17, -29, -2, -427, -72, -1089, 11, 19, 21, -580, 30,
- 46, -60, 609, -1089, -1089, -1089, -1089, -1089, -1089, -293, -1089, 483, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, 131, -919, -574, -1089,
- -13, -70, -285, -1089, -1089, -64, 686, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -420, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -371, -1088, -238, -906, -668, -1089, -1089, -468, -479, -456, -1089, -1089,
- -1089, -471, -1089, -630, -1089, -239, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -332, -48, -93, 4264, 685, -6, -1089,
- -202, -1089, -1089, -1089, -1089, -1089, -276, -1089, -1089, -1089, -1089, -1089, -1089,
- -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, -1089, 659, -466, -1089,
- -1089, -1089, -1089, -1089, 156, -1089, -1089, -1089, -1089, -1089, -1089, -1089, 199};
+ -1153, 229, -16, -1153, -1153, -3, -1153, -1153, 10, -1153, 20, -1153, -806,
+ 248, -1153, -1153, -252, -1153, -1153, -4, -57, -70, -36, -32, -15, -8,
+ 4, -9, 9, 14, 18, -476, -74, -1153, 26, 30, 34, -607, 38,
+ 54, -61, 645, -1153, -1153, -1153, -1153, -1153, -1153, -313, -1153, 509, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, 139, -955, -578, -1153,
+ -20, -72, 361, 182, -1153, -85, 4851, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -514, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -392, -1152, -1153,
+ -254, -956, -719, -1153, -1153, -496, -508, -481, -1153, -1153, -1153, -500, -1153,
+ -621, -1153, -258, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -333, -76, -39, 4896, 538, -1, -1153, -217, -1153, -1153,
+ -1153, -1153, -1153, -295, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153, -1153,
+ -1153, -1153, -1153, -1153, -1153, -1153, -1153, 684, -545, -1153, -1153, -1153, -1153,
+ -1153, 156, -1153, -1153, -1153, -1153, -1153, -1153, -1153, 715};
const short ParserGen::yydefgoto_[] = {
- -1, 955, 599, 758, 207, 208, 95, 209, 210, 211, 212, 213, 592, 214, 80, 600, 957,
- 762, 607, 96, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287,
- 288, 289, 290, 291, 292, 293, 294, 302, 296, 297, 298, 482, 299, 947, 948, 7, 16,
- 27, 28, 29, 30, 31, 32, 33, 34, 477, 958, 788, 789, 456, 791, 949, 609, 628,
- 726, 304, 305, 306, 583, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318,
- 319, 320, 321, 322, 323, 324, 325, 326, 706, 327, 328, 329, 330, 331, 332, 333, 334,
- 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351,
- 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368,
- 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385,
- 386, 387, 388, 389, 1032, 1095, 1039, 1044, 860, 1066, 969, 1099, 1192, 1036, 819, 1101, 1041,
- 1155, 1037, 483, 481, 1050, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401,
- 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 613, 614, 414, 415, 616,
- 617, 645, 9, 17, 586, 421, 587, 82, 83, 84, 771, 772, 773, 774, 775, 85, 86,
- 1019, 87, 88, 89, 585, 765, 940, 1016, 11, 18, 459, 460, 461, 462, 463, 593, 97,
- 594, 13, 19, 474, 475, 786, 215, 5, 707};
+ -1, 1003, 626, 795, 217, 218, 97, 219, 220, 221, 222, 223, 619, 224, 82, 627,
+ 1005, 799, 634, 98, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295,
+ 296, 297, 298, 299, 300, 301, 302, 303, 304, 312, 306, 307, 308, 501, 309, 995,
+ 996, 7, 16, 27, 28, 29, 30, 31, 32, 33, 34, 496, 1006, 825, 826, 475,
+ 828, 997, 636, 652, 698, 314, 315, 316, 610, 317, 318, 319, 320, 321, 322, 323,
+ 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 743, 337, 338,
+ 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
+ 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370,
+ 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386,
+ 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402,
+ 403, 404, 405, 406, 407, 408, 1085, 1150, 877, 1092, 1097, 908, 1121, 1018, 1154, 1251,
+ 1089, 859, 1156, 1094, 1212, 1090, 502, 500, 1105, 409, 410, 411, 412, 413, 414, 415,
+ 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431,
+ 432, 640, 641, 433, 434, 643, 644, 675, 9, 17, 613, 440, 614, 84, 85, 86,
+ 808, 809, 810, 811, 812, 87, 88, 1071, 89, 90, 91, 612, 802, 988, 1068, 11,
+ 18, 478, 479, 480, 481, 482, 620, 99, 621, 13, 19, 493, 494, 823, 225, 5,
+ 744};
const short ParserGen::yytable_[] = {
- 303, 417, 813, 418, 763, 81, 784, 81, 237, 77, 235, 233, 241, 94, 235, 233,
- 238, 443, 1160, 449, 443, 78, 449, 790, 790, 956, 79, 457, 6, 234, 457, 455,
- 8, 234, 455, 767, 1021, 1022, 236, 943, 10, 442, 236, 458, 442, 893, 458, 12,
- 785, 444, 14, 766, 444, 767, 604, 220, 221, 222, 445, 15, 446, 445, 447, 446,
- 35, 447, 216, 768, 1045, 1046, 1194, 1048, 769, 239, 1052, 1053, 1054, 240, 266, 242,
- 928, 1058, 1059, 478, 1061, 768, 244, 245, 246, 448, 769, 422, 448, 1071, 20, 21,
- 22, 23, 24, 25, 26, 476, 450, 465, 466, 450, 1084, 1085, 467, 468, 451, 479,
- 452, 451, 584, 452, 1034, -505, -505, 595, 1035, 453, 708, 709, 453, 780, 781, 300,
- 469, 470, 621, 770, 623, 1103, 764, 1105, 1106, 454, 471, 472, 454, 1, 2, 3,
- 4, 795, 627, 632, 633, 770, 654, 794, 615, 615, 615, 798, 799, 663, 800, 615,
- 615, 615, 664, 615, 615, 674, 801, 681, 682, 615, 615, 676, 696, 683, 803, 643,
- 643, 643, 615, 796, 231, 615, 615, 700, 938, 643, 815, 473, 643, 643, 643, 702,
- 615, 805, 615, 704, 956, 806, 712, 643, 643, 718, 643, 719, 684, 685, 814, 721,
- 615, 724, 727, 729, 631, 686, 687, 732, 643, 733, 734, 735, 749, 807, 615, 615,
- 688, 243, 615, 655, 809, 810, 658, 659, 811, 812, 615, 615, 816, 817, 818, 820,
- 821, 822, 678, 679, 823, 824, 689, 853, 825, 643, 643, 701, 826, 827, 828, 829,
- 830, 831, 832, 834, 835, 836, 837, 838, 717, 792, 792, 720, 839, 840, 841, 725,
- 844, 416, 845, 846, 847, 848, 849, 37, 38, 39, 40, 41, 42, 43, 1202, 44,
- 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
- 61, 62, 63, 64, 65, 66, 67, 1219, 850, 851, 852, 859, 854, 856, 872, 857,
- 858, 861, 217, 218, 219, 875, 862, 220, 221, 222, 863, 247, 248, 864, 865, 866,
- 879, 249, 247, 248, 941, 867, 868, 90, 249, 869, 870, 223, 224, 225, 871, 873,
- 874, 877, 91, 878, 881, 226, 227, 228, 883, 1062, 885, 886, 887, 888, 889, 890,
- 250, 251, 1072, 1073, 1074, 891, 894, 250, 251, 252, 253, 896, 895, 790, 790, 897,
- 252, 253, 933, 900, 254, 902, 903, 936, 905, 906, 908, 254, 910, 247, 248, 911,
- 916, 917, 918, 249, 919, 945, 920, 602, 921, 922, 257, 923, 924, 925, 644, 647,
- 650, 257, 926, 927, 930, 931, 932, 620, 660, 622, 934, 665, 668, 671, 258, 935,
- 591, 939, 250, 251, 950, 258, 690, 693, 268, 697, 942, 252, 253, 92, 93, 968,
- 951, 953, 229, 230, 231, 232, 254, 714, 954, 960, 961, 962, 1104, 965, 983, 986,
- 992, 601, 998, 235, 233, 1010, 81, 1015, 1025, 1026, 703, 1027, 257, 1028, 1038, 1029,
- 1030, 1031, 1040, 1043, 1047, 1056, 234, 1055, 751, 754, 730, 731, 1060, 1065, 1063, 236,
- 258, 1064, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 1067, 1068, 750, 1069,
- 1076, 1077, 1081, 1094, 1083, 443, 443, 449, 449, 1087, 1092, 443, 443, 449, 449, 457,
- 457, 1098, 1100, 455, 455, 457, 457, 1152, 1108, 455, 455, 1109, 797, 442, 442, 458,
- 458, 1110, 1111, 442, 442, 444, 444, 802, 1112, 804, 1114, 444, 444, 808, 445, 445,
- 446, 446, 447, 447, 445, 445, 446, 446, 447, 447, 1115, 81, 1116, 1117, 1118, 759,
- 1119, 779, 1120, 235, 233, 776, 777, 1121, 833, 1122, 1123, 760, 591, 448, 448, 1124,
- 761, 842, 843, 448, 448, 1126, 234, 1128, 1131, 1132, 450, 450, 1133, 1137, 855, 236,
- 450, 450, 451, 451, 452, 452, 1138, 1139, 451, 451, 452, 452, 1140, 453, 453, 792,
- 792, 1141, 876, 453, 453, 1142, 880, 1143, 882, 1144, 884, 1145, 1146, 454, 454, 1154,
- 1147, 1148, 892, 454, 454, 1149, 1150, 1157, 898, 899, 1159, 901, 1161, 1162, 904, 1163,
- 1164, 907, 1165, 909, 1166, 1167, 912, 913, 914, 915, 1168, 1169, 1170, 1171, 1172, 1173,
- 1174, 1176, 1177, 1178, 1179, 295, 1180, 929, 1181, 1182, 1183, 1191, 1035, 1184, 1185, 1186,
- 937, 420, 1187, 1188, 1195, 1196, 1197, 1200, 1209, 1204, 946, 634, 1205, 1206, 637, 638,
- 639, 640, 646, 649, 652, 944, 1207, 1208, 606, 598, 1211, 1212, 662, 1213, 1216, 667,
- 670, 673, 1218, 1220, 1221, 1024, 1091, 480, 680, 793, 692, 695, 1158, 699, 1042, 1210,
- 1217, 1203, 963, 1215, 1051, 1018, 1089, 710, 711, 966, 713, 716, 967, 783, 970, 971,
- 972, 464, 0, 973, 0, 0, 974, 235, 233, 975, 0, 976, 0, 952, 0, 235,
- 233, 0, 0, 977, 978, 979, 0, 0, 980, 748, 234, 981, 753, 756, 982, 0,
- 959, 984, 234, 236, 0, 985, 0, 0, 0, 0, 0, 236, 0, 0, 0, 0,
- 0, 0, 987, 0, 0, 988, 989, 0, 0, 990, 991, 0, 0, 0, 993, 0,
- 0, 994, 0, 0, 995, 996, 997, 0, 0, 0, 999, 0, 1000, 1001, 0, 1002,
- 0, 0, 1003, 0, 0, 1004, 0, 1005, 0, 0, 1006, 1007, 1008, 1009, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1011, 0, 0, 0, 1012,
- 0, 0, 1013, 1014, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 443, 443, 449, 449, 0, 0, 0, 0, 0, 0, 457, 457, 0, 0, 455,
- 455, 0, 1033, 0, 0, 0, 0, 0, 0, 442, 442, 0, 1049, 1049, 0, 0,
- 0, 444, 444, 0, 1057, 0, 0, 0, 0, 0, 445, 445, 446, 446, 447, 447,
- 1070, 1017, 0, 235, 233, 1075, 0, 0, 1078, 1079, 1080, 1020, 1082, 235, 233, 1086,
- 0, 0, 0, 946, 0, 0, 234, 0, 0, 448, 448, 0, 0, 0, 0, 236,
- 234, 1093, 0, 0, 1096, 1097, 450, 450, 1102, 236, 0, 0, 0, 1107, 451, 451,
- 452, 452, 0, 1113, 0, 0, 0, 0, 0, 453, 453, 0, 0, 0, 0, 0,
- 0, 0, 0, 1127, 0, 1129, 1130, 0, 0, 454, 454, 0, 1088, 0, 235, 233,
- 235, 233, 0, 0, 0, 0, 0, 0, 217, 218, 219, 0, 0, 220, 221, 222,
- 1151, 234, 0, 234, 1153, 0, 1156, 0, 0, 0, 236, 0, 236, 0, 0, 0,
- 0, 223, 224, 225, 0, 0, 0, 0, 0, 0, 0, 226, 227, 228, 0, 0,
- 0, 0, 1175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1189, 0, 1190, 0, 0, 1193,
- 0, 0, 295, 0, 0, 611, 611, 611, 0, 0, 0, 778, 611, 611, 611, 0,
- 611, 611, 1198, 1199, 0, 0, 611, 611, 0, 0, 0, 0, 642, 642, 642, 611,
- 0, 1201, 611, 611, 0, 0, 642, 0, 0, 642, 642, 642, 0, 611, 0, 611,
- 0, 0, 0, 1214, 642, 642, 0, 642, 229, 230, 231, 232, 0, 611, 0, 0,
- 0, 0, 0, 0, 0, 642, 0, 0, 0, 0, 0, 611, 611, 0, 0, 611,
- 0, 0, 612, 612, 612, 0, 0, 611, 611, 612, 612, 612, 0, 612, 612, 0,
- 0, 0, 0, 612, 612, 0, 642, 642, 0, 648, 651, 0, 612, 0, 0, 612,
- 612, 0, 661, 0, 0, 666, 669, 672, 0, 0, 612, 0, 612, 0, 0, 295,
- 691, 694, 0, 698, 0, 0, 0, 0, 0, 0, 612, 0, 0, 0, 0, 0,
- 0, 715, 0, 0, 0, 0, 0, 0, 612, 612, 295, 0, 612, 0, 0, 0,
- 0, 0, 0, 0, 612, 612, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 752, 755, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 295, 0, 0, 0, 0, 98, 99, 100, 101, 102, 103, 104, 37,
- 38, 39, 40, 41, 42, 43, 0, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 105,
- 106, 107, 108, 109, 0, 0, 110, 111, 0, 112, 113, 114, 115, 116, 117, 118,
- 119, 120, 121, 122, 123, 0, 0, 0, 124, 125, 0, 0, 0, 126, 0, 127,
- 128, 0, 129, 0, 130, 0, 0, 131, 132, 133, 71, 0, 134, 135, 0, 0,
- 295, 136, 137, 138, 139, 140, 141, 142, 0, 0, 0, 143, 144, 145, 146, 147,
- 148, 149, 150, 151, 152, 0, 153, 154, 155, 156, 0, 0, 157, 158, 159, 160,
- 161, 162, 163, 0, 0, 164, 165, 166, 167, 168, 169, 170, 171, 172, 0, 173,
- 174, 175, 176, 177, 178, 179, 180, 181, 0, 0, 182, 183, 184, 185, 186, 187,
- 188, 189, 190, 0, 0, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201,
- 202, 203, 204, 0, 205, 76, 206, 484, 485, 486, 487, 488, 489, 490, 37, 38,
- 39, 40, 41, 42, 43, 0, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
- 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 491, 492,
- 493, 494, 495, 0, 0, 496, 497, 0, 498, 499, 500, 501, 502, 503, 504, 505,
- 506, 507, 508, 509, 0, 0, 0, 510, 511, 0, 0, 0, 588, 0, 0, 512,
- 0, 513, 0, 514, 0, 0, 515, 516, 517, 589, 0, 518, 519, 0, 0, 0,
- 520, 521, 522, 523, 524, 525, 526, 0, 0, 0, 527, 528, 529, 530, 531, 532,
- 533, 534, 535, 536, 0, 537, 538, 539, 540, 0, 0, 541, 542, 543, 544, 545,
- 546, 547, 0, 0, 548, 549, 550, 551, 552, 553, 554, 555, 590, 0, 557, 558,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 559, 560, 561, 562, 563, 564, 565,
- 566, 567, 0, 0, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579,
- 580, 581, 0, 582, 92, 93, 484, 485, 486, 487, 488, 489, 490, 37, 38, 39,
- 40, 41, 42, 43, 0, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
- 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 491, 492, 493,
- 494, 495, 0, 0, 496, 497, 0, 498, 499, 500, 501, 502, 503, 504, 505, 506,
- 507, 508, 509, 0, 0, 0, 510, 511, 0, 0, 0, 0, 0, 0, 512, 0,
- 513, 0, 514, 0, 0, 515, 516, 517, 589, 0, 518, 519, 0, 0, 0, 520,
- 521, 522, 523, 524, 525, 526, 0, 0, 0, 527, 528, 529, 530, 531, 532, 533,
- 534, 535, 536, 0, 537, 538, 539, 540, 0, 0, 541, 542, 543, 544, 545, 546,
- 547, 0, 0, 548, 549, 550, 551, 552, 553, 554, 555, 556, 0, 557, 558, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 559, 560, 561, 562, 563, 564, 565, 566,
- 567, 0, 0, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580,
- 581, 0, 582, 92, 93, 98, 99, 100, 101, 102, 103, 104, 37, 38, 39, 40,
- 41, 42, 43, 0, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
- 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 105, 106, 107, 108,
- 109, 0, 0, 110, 111, 0, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
- 122, 123, 0, 0, 0, 124, 125, 0, 0, 0, 126, 0, 605, 128, 0, 129,
- 0, 130, 0, 0, 131, 132, 133, 71, 0, 134, 135, 0, 0, 0, 136, 137,
- 138, 139, 140, 141, 142, 0, 0, 0, 143, 144, 145, 146, 147, 148, 149, 150,
- 151, 152, 0, 153, 154, 155, 156, 0, 0, 157, 158, 159, 160, 161, 162, 163,
- 0, 0, 164, 165, 166, 167, 168, 169, 170, 171, 172, 0, 173, 174, 175, 176,
- 177, 178, 179, 180, 181, 0, 0, 182, 183, 184, 185, 186, 187, 188, 189, 190,
- 0, 0, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
- 0, 205, 76, 484, 485, 486, 487, 488, 489, 490, 0, 0, 0, 0, 0, 0,
+ 313, 247, 96, 437, 800, 251, 243, 436, 476, 1217, 243, 476, 245, 83, 79, 83,
+ 245, 477, 1004, 468, 477, 248, 468, 462, 631, 244, 462, 80, 821, 244, 246, 941,
+ 474, 6, 246, 474, 461, 81, 8, 461, 852, 853, 991, 230, 231, 232, 827, 827,
+ 1073, 1074, 803, 10, 804, 12, 804, 745, 746, 463, 255, 256, 463, 464, 14, 1253,
+ 464, 15, 976, 1098, 1099, 226, 822, 35, 1102, 817, 818, 249, 1107, 1108, 1109, 250,
+ 252, 276, 254, 1113, 1114, 465, 1116, 495, 465, 805, 441, 805, 718, 719, 806, 1126,
+ 806, 497, 498, 720, 20, 21, 22, 23, 24, 25, 26, 466, 1139, 1140, 466, 467,
+ 611, 622, 467, 310, 1087, -536, -536, 469, 1088, 801, 469, 470, 648, 832, 470, 471,
+ 257, 258, 471, 472, 721, 722, 472, 259, 1158, 831, 1160, 1161, 650, 723, 724, 1,
+ 2, 3, 4, 473, 835, 855, 473, 651, 725, 807, 860, 807, 836, 833, 661, 662,
+ 837, 838, 858, 663, 840, 843, 844, 861, 260, 261, 642, 642, 642, 241, 726, 845,
+ 684, 262, 263, 642, 642, 642, 696, 642, 642, 699, 700, 854, 264, 711, 642, 642,
+ 713, 733, 986, 846, 673, 673, 673, 642, 1004, 737, 642, 739, 741, 642, 749, 755,
+ 673, 756, 267, 847, 848, 642, 673, 673, 673, 758, 642, 849, 642, 761, 257, 258,
+ 764, 673, 673, 766, 673, 259, 268, 769, 770, 771, 642, 901, 772, 786, 850, 851,
+ 278, 856, 673, 857, 862, 863, 864, 865, 642, 642, 866, 867, 642, 868, 869, 870,
+ 871, 872, 874, 875, 642, 642, 260, 261, 876, 878, 879, 880, 881, 882, 883, 262,
+ 263, 884, 885, 673, 673, 887, 888, 227, 228, 229, 264, 891, 230, 231, 232, 892,
+ 893, 894, 895, 829, 829, 896, 897, 1263, 898, 899, 900, 902, 904, 905, 906, 907,
+ 267, 909, 938, 910, 233, 234, 235, 911, 912, 913, 914, 920, 915, 916, 923, 236,
+ 237, 238, 917, 1281, 268, 918, 919, 36, 989, 37, 927, 921, 38, 39, 40, 41,
+ 42, 43, 44, 45, 922, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
+ 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 484, 485, 815,
+ 935, 925, 486, 487, 926, 929, 70, 939, 931, 944, 227, 228, 229, 933, 934, 230,
+ 231, 232, 936, 937, 987, 942, 943, 945, 981, 948, 488, 489, 257, 258, 71, 950,
+ 951, 953, 72, 259, 954, 490, 491, 233, 234, 235, 956, 73, 239, 240, 241, 242,
+ 958, 959, 236, 237, 238, 647, 1117, 649, 629, 827, 827, 964, 965, 966, 967, 1127,
+ 1128, 1129, 968, 969, 260, 261, 970, 653, 618, 74, 971, 75, 972, 262, 263, 973,
+ 974, 975, 978, 979, 980, 982, 492, 983, 264, 984, 998, 1017, 999, 990, 1001, 1002,
+ 1008, 688, 993, 1009, 1010, 1014, 1027, 1035, 1038, 1044, 1050, 1062, 1067, 628, 267, 1077,
+ 740, 1078, 243, 1079, 1080, 1084, 1159, 76, 245, 1081, 674, 677, 680, 1082, 1083, 1091,
+ 1093, 83, 268, 1096, 1100, 244, 692, 77, 1110, 78, 246, 1111, 702, 705, 708, 239,
+ 240, 241, 242, 767, 768, 1115, 1120, 727, 730, 1118, 734, 775, 776, 777, 778, 779,
+ 780, 781, 782, 783, 784, 476, 476, 787, 751, 1119, 1122, 476, 476, 1123, 477, 477,
+ 468, 468, 1124, 1131, 462, 462, 468, 468, 1132, 1136, 462, 462, 1138, 474, 474, 1142,
+ 1149, 461, 461, 474, 474, 834, 1147, 461, 461, 788, 791, 1153, 1155, 1163, 1164, 1165,
+ 839, 1166, 841, 842, 1167, 1168, 463, 463, 1172, 1173, 464, 464, 463, 463, 1174, 1175,
+ 464, 464, 1176, 1186, 1177, 816, 1178, 1179, 1180, 1181, 243, 1182, 618, 1184, 83, 796,
+ 245, 1189, 465, 465, 873, 813, 814, 1190, 465, 465, 1209, 1191, 797, 244, 1195, 1169,
+ 886, 1196, 246, 889, 890, 1197, 798, 1198, 466, 466, 1199, 1211, 467, 467, 466, 466,
+ 1200, 903, 467, 467, 469, 469, 1201, 1202, 470, 470, 469, 469, 471, 471, 470, 470,
+ 472, 472, 471, 471, 1203, 924, 472, 472, 1204, 928, 1205, 930, 1206, 932, 829, 829,
+ 473, 473, 1207, 1214, 1216, 940, 473, 473, 1218, 1235, 1219, 946, 947, 1220, 949, 1222,
+ 1223, 952, 1224, 1225, 955, 1226, 957, 1227, 1228, 960, 961, 962, 963, 1229, 1230, 1231,
+ 1232, 1233, 227, 228, 229, 1236, 1237, 230, 231, 232, 977, 305, 1250, 1238, 1239, 1240,
+ 1241, 1088, 1242, 985, 1271, 625, 1243, 439, 1244, 1245, 1246, 1247, 1254, 994, 1255, 233,
+ 234, 235, 1256, 1257, 1258, 253, 1261, 1265, 1266, 992, 236, 237, 238, 633, 1267, 1268,
+ 1269, 1270, 1076, 1273, 1274, 1275, 1146, 1278, 1280, 1282, 1283, 499, 830, 763, 1215, 1095,
+ 1272, 1279, 1011, 1264, 1277, 1106, 1070, 1144, 820, 0, 0, 0, 483, 0, 0, 1015,
+ 0, 0, 1016, 0, 1019, 1020, 1021, 435, 243, 1022, 0, 1000, 1023, 0, 245, 1024,
+ 243, 1025, 1026, 0, 0, 0, 245, 0, 0, 0, 0, 244, 1028, 0, 1029, 0,
+ 246, 1030, 1031, 244, 0, 0, 1032, 1007, 246, 1033, 0, 0, 1034, 0, 0, 1036,
+ 0, 0, 0, 1037, 0, 0, 0, 239, 240, 241, 242, 0, 0, 0, 0, 0,
+ 1039, 0, 0, 1040, 1041, 0, 0, 1042, 1043, 0, 0, 0, 1045, 0, 0, 1046,
+ 0, 0, 1047, 1048, 1049, 0, 0, 0, 1051, 0, 1052, 1053, 657, 1054, 0, 660,
+ 1055, 0, 0, 1056, 0, 1057, 0, 0, 1058, 1059, 1060, 1061, 0, 0, 0, 685,
+ 0, 0, 0, 0, 690, 691, 0, 695, 697, 1063, 0, 0, 0, 1064, 0, 0,
+ 1065, 1066, 0, 715, 716, 0, 476, 476, 0, 0, 0, 0, 738, 0, 0, 0,
+ 0, 468, 468, 0, 0, 462, 462, 0, 0, 754, 0, 0, 757, 0, 474, 474,
+ 762, 1086, 461, 461, 0, 0, 0, 0, 0, 0, 0, 1101, 0, 1103, 1104, 1104,
+ 0, 0, 0, 0, 0, 0, 1112, 463, 463, 0, 1069, 464, 464, 0, 0, 243,
+ 0, 0, 1125, 0, 1072, 245, 0, 1130, 0, 243, 1133, 1134, 1135, 0, 1137, 245,
+ 0, 1141, 244, 465, 465, 994, 0, 246, 0, 0, 0, 0, 244, 0, 0, 0,
+ 0, 246, 0, 0, 1148, 0, 0, 1151, 1152, 466, 466, 1157, 0, 467, 467, 0,
+ 1162, 0, 0, 0, 0, 469, 469, 1170, 1171, 470, 470, 0, 0, 471, 471, 0,
+ 0, 472, 472, 0, 0, 0, 0, 0, 1185, 1143, 1187, 1188, 0, 0, 243, 0,
+ 243, 473, 473, 0, 245, 0, 245, 0, 0, 0, 0, 0, 678, 681, 0, 0,
+ 0, 244, 0, 244, 0, 1208, 246, 693, 246, 1210, 0, 1213, 0, 703, 706, 709,
+ 0, 0, 0, 0, 0, 0, 0, 1221, 728, 731, 0, 735, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 752, 1234, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 1248, 0, 1249, 0, 0, 1252, 0, 0, 305, 789, 792, 638, 638, 638, 0,
+ 0, 0, 0, 0, 0, 638, 638, 638, 0, 638, 638, 1259, 1260, 0, 0, 0,
+ 638, 638, 0, 0, 0, 0, 672, 672, 672, 638, 1262, 0, 638, 0, 0, 638,
+ 0, 0, 672, 0, 0, 0, 0, 638, 672, 672, 672, 0, 638, 0, 638, 1276,
+ 0, 0, 0, 672, 672, 0, 672, 0, 0, 0, 0, 0, 638, 0, 0, 0,
+ 0, 0, 0, 0, 672, 0, 0, 0, 0, 0, 638, 638, 0, 0, 638, 0,
+ 0, 0, 0, 0, 0, 664, 638, 638, 667, 668, 669, 670, 676, 679, 682, 0,
+ 0, 0, 0, 687, 0, 672, 672, 0, 694, 0, 0, 0, 0, 0, 704, 707,
+ 710, 0, 0, 0, 0, 0, 0, 717, 0, 729, 732, 0, 736, 0, 305, 0,
+ 0, 0, 0, 0, 0, 0, 747, 748, 0, 750, 753, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 305, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 785, 0, 0, 790, 793, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 491, 492, 493, 494, 495, 0,
- 0, 496, 497, 0, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509,
- 0, 0, 0, 510, 511, 0, 0, 0, 0, 0, 0, 512, 0, 513, 0, 514,
- 0, 0, 515, 516, 517, 0, 0, 518, 519, 0, 0, 0, 520, 521, 522, 523,
- 524, 525, 526, 0, 0, 0, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536,
- 0, 537, 538, 539, 540, 0, 0, 541, 542, 543, 544, 545, 546, 547, 0, 0,
- 548, 549, 550, 551, 552, 553, 554, 555, 556, 0, 557, 558, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 559, 560, 561, 562, 563, 564, 565, 566, 567, 0, 0,
- 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 36, 582,
- 37, 38, 39, 40, 41, 42, 43, 0, 44, 45, 46, 47, 48, 49, 50, 51,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 305, 0, 100, 101,
+ 102, 103, 104, 105, 106, 37, 107, 108, 38, 39, 40, 41, 42, 43, 44, 45,
+ 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
+ 61, 62, 63, 64, 65, 66, 67, 68, 69, 109, 110, 111, 112, 113, 0, 0,
+ 114, 115, 0, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
+ 0, 0, 0, 129, 130, 0, 0, 0, 131, 0, 132, 133, 0, 134, 0, 135,
+ 136, 137, 0, 0, 138, 139, 140, 73, 141, 305, 142, 143, 144, 0, 0, 0,
+ 145, 146, 147, 148, 149, 150, 151, 152, 0, 0, 0, 153, 154, 155, 156, 157,
+ 158, 159, 160, 161, 162, 0, 163, 164, 165, 166, 0, 0, 167, 168, 169, 170,
+ 171, 172, 173, 0, 0, 174, 175, 176, 177, 178, 179, 180, 181, 182, 0, 183,
+ 184, 185, 186, 187, 188, 189, 190, 191, 0, 0, 192, 193, 194, 195, 196, 197,
+ 198, 199, 200, 0, 0, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211,
+ 212, 213, 214, 0, 215, 78, 216, 503, 504, 505, 506, 507, 508, 509, 37, 510,
+ 511, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49, 50, 51,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 68, 0, 0, 0, 0, 0, 0,
+ 68, 69, 512, 513, 514, 515, 516, 0, 0, 517, 518, 0, 519, 520, 521, 522,
+ 523, 524, 525, 526, 527, 528, 529, 530, 531, 0, 0, 0, 532, 533, 0, 0,
+ 0, 615, 0, 0, 534, 0, 535, 0, 536, 537, 538, 0, 0, 539, 540, 541,
+ 616, 542, 0, 543, 544, 545, 0, 0, 0, 546, 547, 548, 549, 550, 551, 552,
+ 553, 0, 0, 0, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 0, 564,
+ 565, 566, 567, 0, 0, 568, 569, 570, 571, 572, 573, 574, 0, 0, 575, 576,
+ 577, 578, 579, 580, 581, 582, 617, 0, 584, 585, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 586, 587, 588, 589, 590, 591, 592, 593, 594, 0, 0, 595, 596,
+ 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 0, 609, 94, 95,
+ 503, 504, 505, 506, 507, 508, 509, 37, 510, 511, 38, 39, 40, 41, 42, 43,
+ 44, 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
+ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 512, 513, 514, 515, 516,
+ 0, 0, 517, 518, 0, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529,
+ 530, 531, 0, 0, 0, 532, 533, 0, 0, 0, 0, 0, 0, 534, 0, 535,
+ 0, 536, 537, 538, 0, 0, 539, 540, 541, 616, 542, 0, 543, 544, 545, 0,
+ 0, 0, 546, 547, 548, 549, 550, 551, 552, 553, 0, 0, 0, 554, 555, 556,
+ 557, 558, 559, 560, 561, 562, 563, 0, 564, 565, 566, 567, 0, 0, 568, 569,
+ 570, 571, 572, 573, 574, 0, 0, 575, 576, 577, 578, 579, 580, 581, 582, 583,
+ 0, 584, 585, 0, 0, 0, 0, 0, 0, 0, 0, 0, 586, 587, 588, 589,
+ 590, 591, 592, 593, 594, 0, 0, 595, 596, 597, 598, 599, 600, 601, 602, 603,
+ 604, 605, 606, 607, 608, 0, 609, 94, 95, 100, 101, 102, 103, 104, 105, 106,
+ 37, 107, 108, 38, 39, 40, 41, 42, 43, 44, 45, 0, 46, 47, 48, 49,
+ 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
+ 66, 67, 68, 69, 109, 110, 111, 112, 113, 0, 0, 114, 115, 0, 116, 117,
+ 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 0, 0, 0, 129, 130,
+ 0, 0, 0, 131, 0, 632, 133, 0, 134, 0, 135, 136, 137, 0, 0, 138,
+ 139, 140, 73, 141, 0, 142, 143, 144, 0, 0, 0, 145, 146, 147, 148, 149,
+ 150, 151, 152, 0, 0, 0, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
+ 0, 163, 164, 165, 166, 0, 0, 167, 168, 169, 170, 171, 172, 173, 0, 0,
+ 174, 175, 176, 177, 178, 179, 180, 181, 182, 0, 183, 184, 185, 186, 187, 188,
+ 189, 190, 191, 0, 0, 192, 193, 194, 195, 196, 197, 198, 199, 200, 0, 0,
+ 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 0, 215,
+ 78, 503, 504, 505, 506, 507, 508, 509, 0, 510, 511, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 512, 513, 514, 515,
+ 516, 0, 0, 517, 518, 0, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528,
+ 529, 530, 531, 0, 0, 0, 532, 533, 0, 0, 0, 0, 0, 0, 534, 0,
+ 535, 0, 536, 537, 538, 0, 0, 539, 540, 541, 0, 542, 0, 543, 544, 545,
+ 0, 0, 0, 546, 547, 548, 549, 550, 551, 552, 553, 0, 0, 0, 554, 555,
+ 556, 557, 558, 559, 560, 561, 562, 563, 0, 564, 565, 566, 567, 0, 0, 568,
+ 569, 570, 571, 572, 573, 574, 0, 0, 575, 576, 577, 578, 579, 580, 581, 582,
+ 583, 0, 584, 585, 0, 0, 0, 0, 0, 0, 0, 0, 0, 586, 587, 588,
+ 589, 590, 591, 592, 593, 594, 0, 0, 595, 596, 597, 598, 599, 600, 601, 602,
+ 603, 604, 605, 606, 607, 608, 37, 609, 0, 38, 39, 40, 41, 42, 43, 44,
+ 45, 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
+ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, 0, 37, 0, 0,
+ 38, 39, 40, 41, 42, 43, 44, 45, 93, 46, 47, 48, 49, 50, 51, 52,
+ 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
+ 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 69, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0,
+ 0, 0, 623, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 624,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 72, 0, 73, 37, 38, 39, 40, 41, 42, 43,
- 0, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
- 59, 60, 61, 62, 63, 64, 65, 66, 67, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 74, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 75, 0, 76, 0, 0, 596, 0, 0, 0, 37, 38, 39,
- 40, 41, 42, 43, 597, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
- 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 37, 38, 39,
- 40, 41, 42, 43, 0, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
- 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 782, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 589, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1023, 0, 92,
- 93, 37, 38, 39, 40, 41, 42, 43, 589, 44, 45, 46, 47, 48, 49, 50,
- 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
- 67, 0, 0, 0, 245, 246, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 217, 218, 219, 0, 0, 220, 221, 222, 0, 603, 0,
- 0, 757, 0, 92, 93, 247, 248, 0, 0, 0, 0, 249, 71, 0, 223, 224,
- 225, 0, 0, 0, 0, 0, 0, 0, 226, 227, 228, 0, 0, 0, 0, 0,
- 0, 0, 0, 92, 93, 0, 0, 0, 0, 0, 250, 251, 0, 0, 0, 0,
- 0, 0, 0, 252, 253, 217, 218, 219, 0, 0, 220, 221, 222, 0, 254, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 255, 256, 0, 0, 0, 0, 223, 224,
- 225, 0, 0, 0, 257, 0, 0, 0, 226, 227, 228, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 76, 258, 259, 260, 261, 262, 263, 264, 265,
- 266, 267, 268, 269, 270, 229, 230, 231, 232, 271, 272, 273, 245, 246, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 218, 219,
- 0, 0, 220, 221, 222, 0, 608, 0, 0, 0, 0, 0, 0, 247, 248, 0,
- 0, 0, 0, 249, 0, 0, 223, 224, 225, 0, 0, 0, 0, 0, 0, 0,
- 226, 227, 228, 0, 0, 229, 230, 231, 232, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 250, 251, 0, 0, 0, 0, 0, 0, 0, 252, 253, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 300, 301, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0,
+ 0, 0, 0, 0, 0, 37, 94, 95, 38, 39, 40, 41, 42, 43, 44, 45,
+ 0, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
+ 61, 62, 63, 64, 65, 66, 67, 68, 69, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 229, 230, 231,
- 232, 271, 272, 273, 245, 246, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 217, 218, 219, 0, 0, 220, 221, 222, 0, 964, 0,
- 0, 0, 0, 0, 0, 247, 248, 0, 0, 0, 0, 249, 0, 0, 223, 224,
- 225, 0, 0, 0, 0, 0, 0, 0, 226, 227, 228, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 251, 0, 0, 0, 0,
- 0, 0, 0, 252, 253, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 300, 301, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 258, 259, 260, 261, 262, 263, 264, 265,
- 266, 267, 268, 269, 270, 229, 230, 231, 232, 271, 272, 273, 245, 246, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 218, 219,
- 0, 0, 220, 221, 222, 0, 1028, 0, 0, 0, 0, 0, 0, 247, 248, 0,
- 0, 0, 0, 249, 0, 0, 223, 224, 225, 0, 0, 0, 0, 0, 0, 0,
- 226, 227, 228, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 250, 251, 0, 0, 0, 0, 0, 0, 0, 252, 253, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 300, 301, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 819, 0, 37, 94, 95, 38,
+ 39, 40, 41, 42, 43, 44, 45, 616, 46, 47, 48, 49, 50, 51, 52, 53,
+ 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 229, 230, 231,
- 232, 271, 272, 273, 245, 246, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 217, 218, 219, 0, 0, 220, 221, 222, 0, 1125, 0,
- 0, 0, 0, 0, 0, 247, 248, 0, 0, 0, 0, 249, 0, 0, 223, 224,
- 225, 0, 0, 0, 0, 0, 0, 0, 226, 227, 228, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 251, 0, 0, 0, 0,
- 0, 0, 0, 252, 253, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 300, 301, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 258, 259, 260, 261, 262, 263, 264, 265,
- 266, 267, 268, 269, 270, 229, 230, 231, 232, 271, 272, 273, 245, 246, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 218, 219,
- 0, 0, 220, 221, 222, 0, 1134, 0, 0, 0, 0, 0, 0, 247, 248, 0,
- 0, 0, 0, 249, 0, 0, 223, 224, 225, 0, 0, 0, 0, 0, 0, 0,
- 226, 227, 228, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 250, 251, 0, 0, 0, 0, 0, 0, 0, 252, 253, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 300, 301, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 229, 230, 231,
- 232, 271, 272, 273, 245, 246, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 217, 218, 219, 0, 0, 220, 221, 222, 0, 1135, 0,
- 0, 0, 0, 0, 0, 247, 248, 0, 0, 0, 0, 249, 0, 0, 223, 224,
- 225, 0, 0, 0, 0, 0, 0, 0, 226, 227, 228, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 251, 0, 0, 0, 0,
- 0, 0, 0, 252, 253, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 300, 301, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 258, 259, 260, 261, 262, 263, 264, 265,
- 266, 267, 268, 269, 270, 229, 230, 231, 232, 271, 272, 273, 245, 246, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 218, 219,
- 0, 0, 220, 221, 222, 0, 1136, 0, 0, 0, 0, 0, 0, 247, 248, 0,
- 0, 0, 0, 249, 0, 0, 223, 224, 225, 0, 0, 0, 0, 0, 0, 0,
- 226, 227, 228, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 250, 251, 0, 0, 0, 0, 0, 0, 0, 252, 253, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 300, 301, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0,
+ 0, 1075, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 616, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 229, 230, 231,
- 232, 271, 272, 273, 245, 246, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 217, 218, 219, 0, 0, 220, 221, 222, 0, 0, 0,
- 0, 0, 0, 0, 0, 247, 248, 0, 0, 0, 0, 249, 0, 0, 223, 224,
- 225, 0, 0, 0, 0, 0, 0, 0, 226, 227, 228, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 251, 0, 0, 0, 0,
- 0, 0, 0, 252, 253, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 255, 256, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 258, 259, 260, 261, 262, 263, 264, 265,
- 266, 267, 268, 269, 270, 229, 230, 231, 232, 271, 272, 273, 245, 246, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 218, 219,
- 0, 0, 220, 221, 222, 0, 0, 0, 0, 0, 0, 0, 0, 247, 248, 0,
- 0, 0, 0, 249, 0, 0, 223, 224, 225, 0, 0, 0, 0, 0, 0, 0,
- 226, 227, 228, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 250, 251, 0, 0, 0, 0, 0, 0, 0, 252, 253, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 300, 301, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0,
+ 0, 0, 0, 0, 37, 94, 95, 38, 39, 40, 41, 42, 43, 44, 45, 0,
+ 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
+ 62, 63, 64, 65, 66, 67, 68, 69, 0, 0, 0, 0, 255, 256, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 227, 228,
+ 229, 0, 0, 230, 231, 232, 0, 630, 0, 794, 0, 0, 94, 95, 0, 0,
+ 257, 258, 0, 0, 0, 0, 73, 259, 0, 0, 0, 233, 234, 235, 0, 0,
+ 0, 0, 0, 0, 0, 0, 236, 237, 238, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 260, 261, 0, 0, 0, 0, 0, 0,
+ 0, 262, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 264, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 265, 266, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 267, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 78, 0, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277,
+ 278, 279, 280, 239, 240, 241, 242, 281, 282, 283, 255, 256, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 227, 228, 229, 0,
+ 0, 230, 231, 232, 0, 635, 0, 0, 0, 0, 0, 0, 0, 0, 257, 258,
+ 0, 0, 0, 0, 0, 259, 0, 0, 0, 233, 234, 235, 0, 0, 0, 0,
+ 0, 0, 0, 0, 236, 237, 238, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 260, 261, 0, 0, 0, 0, 0, 0, 0, 262,
+ 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 264, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 310, 311, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 267, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279,
+ 280, 239, 240, 241, 242, 281, 282, 283, 255, 256, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 227, 228, 229, 0, 0, 230,
+ 231, 232, 0, 1012, 0, 0, 0, 0, 0, 0, 0, 0, 257, 258, 0, 0,
+ 0, 0, 0, 259, 0, 0, 0, 233, 234, 235, 0, 0, 0, 0, 0, 0,
+ 0, 0, 236, 237, 238, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 260, 261, 0, 0, 0, 0, 0, 0, 0, 262, 263, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 264, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 310, 311, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 267, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 229, 230, 231,
- 232, 271, 272, 273, 245, 246, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 217, 218, 219, 0, 0, 220, 221, 222, 0, 0, 0,
- 0, 0, 0, 0, 0, 247, 248, 0, 0, 0, 0, 249, 0, 0, 223, 224,
- 225, 0, 0, 0, 0, 0, 0, 0, 226, 227, 228, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 251, 0, 0, 0, 0,
- 0, 0, 0, 252, 253, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 610, 301, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 258, 259, 260, 261, 262, 263, 264, 265,
- 266, 267, 268, 269, 270, 229, 230, 231, 232, 271, 272, 273, 245, 246, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 218, 219,
- 0, 0, 220, 221, 222, 0, 0, 0, 0, 0, 0, 0, 0, 247, 248, 0,
- 0, 0, 0, 249, 0, 0, 223, 224, 225, 0, 0, 0, 0, 0, 0, 0,
- 226, 227, 228, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 250, 251, 0, 0, 0, 0, 0, 0, 0, 252, 253, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 610, 641, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0,
+ 0, 0, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 239,
+ 240, 241, 242, 281, 282, 283, 255, 256, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 227, 228, 229, 0, 0, 230, 231, 232,
+ 0, 1013, 0, 0, 0, 0, 0, 0, 0, 0, 257, 258, 0, 0, 0, 0,
+ 0, 259, 0, 0, 0, 233, 234, 235, 0, 0, 0, 0, 0, 0, 0, 0,
+ 236, 237, 238, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 260, 261, 0, 0, 0, 0, 0, 0, 0, 262, 263, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 264, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 310, 311, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 267, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 229, 230, 231,
- 232, 271, 272, 273, 245, 246, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 217, 218, 219, 0, 0, 220, 221, 222, 0, 0, 0,
- 0, 0, 0, 0, 0, 247, 248, 0, 0, 0, 0, 249, 0, 0, 223, 224,
- 225, 0, 0, 0, 0, 0, 0, 0, 226, 227, 228, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 251, 0, 0, 0, 0,
- 0, 0, 0, 252, 253, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 419, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 258, 259, 260, 261, 262, 263, 264, 265,
- 266, 267, 268, 269, 270, 229, 230, 231, 232, 271, 272, 273, 423, 424, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 425, 426, 427,
- 0, 0, 428, 429, 430, 0, 0, 0, 0, 0, 0, 0, 0, 247, 248, 0,
- 0, 0, 0, 249, 0, 0, 431, 432, 433, 0, 0, 0, 0, 0, 0, 0,
- 434, 435, 436, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 250, 251, 0, 0, 0, 0, 0, 0, 0, 252, 253, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 300, 437, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0,
+ 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 239, 240, 241,
+ 242, 281, 282, 283, 255, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 227, 228, 229, 0, 0, 230, 231, 232, 0, 1080,
+ 0, 0, 0, 0, 0, 0, 0, 0, 257, 258, 0, 0, 0, 0, 0, 259,
+ 0, 0, 0, 233, 234, 235, 0, 0, 0, 0, 0, 0, 0, 0, 236, 237,
+ 238, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 260, 261, 0, 0, 0, 0, 0, 0, 0, 262, 263, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 310, 311,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 267, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268, 269,
+ 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 239, 240, 241, 242, 281,
+ 282, 283, 255, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 227, 228, 229, 0, 0, 230, 231, 232, 0, 1169, 0, 0,
+ 0, 0, 0, 0, 0, 0, 257, 258, 0, 0, 0, 0, 0, 259, 0, 0,
+ 0, 233, 234, 235, 0, 0, 0, 0, 0, 0, 0, 0, 236, 237, 238, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 261,
+ 0, 0, 0, 0, 0, 0, 0, 262, 263, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 310, 311, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 267, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268, 269, 270, 271,
+ 272, 273, 274, 275, 276, 277, 278, 279, 280, 239, 240, 241, 242, 281, 282, 283,
+ 255, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 227, 228, 229, 0, 0, 230, 231, 232, 0, 1183, 0, 0, 0, 0,
+ 0, 0, 0, 0, 257, 258, 0, 0, 0, 0, 0, 259, 0, 0, 0, 233,
+ 234, 235, 0, 0, 0, 0, 0, 0, 0, 0, 236, 237, 238, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 261, 0, 0,
+ 0, 0, 0, 0, 0, 262, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 310, 311, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 267, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268, 269, 270, 271, 272, 273,
+ 274, 275, 276, 277, 278, 279, 280, 239, 240, 241, 242, 281, 282, 283, 255, 256,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 258, 0, 0, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 438, 439, 440,
- 441, 271, 272, 273, 423, 424, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 425, 426, 427, 0, 0, 428, 429, 430, 0, 0, 0,
- 0, 0, 0, 0, 0, 247, 248, 0, 0, 0, 0, 249, 0, 0, 431, 432,
- 433, 0, 0, 0, 0, 0, 0, 0, 434, 435, 436, 0, 0, 0, 0, 0,
- 217, 218, 219, 0, 0, 220, 221, 222, 0, 1090, 250, 251, 0, 0, 0, 0,
- 247, 248, 0, 252, 253, 0, 249, 0, 0, 223, 224, 225, 0, 0, 254, 0,
- 0, 0, 0, 226, 227, 228, 0, 0, 300, 787, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 257, 250, 251, 0, 0, 0, 0, 0, 0, 0, 252, 253,
- 0, 0, 0, 0, 0, 0, 0, 0, 258, 254, 0, 261, 262, 263, 264, 265,
- 266, 267, 268, 269, 270, 438, 439, 440, 441, 271, 272, 273, 0, 618, 619, 257,
- 0, 0, 0, 624, 625, 626, 0, 629, 630, 0, 0, 0, 0, 635, 636, 0,
- 0, 0, 0, 258, 0, 0, 653, 0, 0, 656, 657, 0, 0, 0, 0, 0,
- 229, 230, 231, 232, 675, 0, 677, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 705, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 722, 723, 0, 0, 728, 0, 0, 0, 0, 0, 0, 0, 736, 737};
+ 227, 228, 229, 0, 0, 230, 231, 232, 0, 1192, 0, 0, 0, 0, 0, 0,
+ 0, 0, 257, 258, 0, 0, 0, 0, 0, 259, 0, 0, 0, 233, 234, 235,
+ 0, 0, 0, 0, 0, 0, 0, 0, 236, 237, 238, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 261, 0, 0, 0, 0,
+ 0, 0, 0, 262, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 264, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 310, 311, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 267, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 268, 269, 270, 271, 272, 273, 274, 275,
+ 276, 277, 278, 279, 280, 239, 240, 241, 242, 281, 282, 283, 255, 256, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 227, 228,
+ 229, 0, 0, 230, 231, 232, 0, 1193, 0, 0, 0, 0, 0, 0, 0, 0,
+ 257, 258, 0, 0, 0, 0, 0, 259, 0, 0, 0, 233, 234, 235, 0, 0,
+ 0, 0, 0, 0, 0, 0, 236, 237, 238, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 260, 261, 0, 0, 0, 0, 0, 0,
+ 0, 262, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 264, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 310, 311, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 267, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277,
+ 278, 279, 280, 239, 240, 241, 242, 281, 282, 283, 255, 256, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 227, 228, 229, 0,
+ 0, 230, 231, 232, 0, 1194, 0, 0, 0, 0, 0, 0, 0, 0, 257, 258,
+ 0, 0, 0, 0, 0, 259, 0, 0, 0, 233, 234, 235, 0, 0, 0, 0,
+ 0, 0, 0, 0, 236, 237, 238, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 260, 261, 0, 0, 0, 0, 0, 0, 0, 262,
+ 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 264, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 310, 311, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 267, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279,
+ 280, 239, 240, 241, 242, 281, 282, 283, 255, 256, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 227, 228, 229, 0, 0, 230,
+ 231, 232, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 258, 0, 0,
+ 0, 0, 0, 259, 0, 0, 0, 233, 234, 235, 0, 0, 0, 0, 0, 0,
+ 0, 0, 236, 237, 238, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 260, 261, 0, 0, 0, 0, 0, 0, 0, 262, 263, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 264, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 265, 266, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 267, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 239,
+ 240, 241, 242, 281, 282, 283, 255, 256, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 227, 228, 229, 0, 0, 230, 231, 232,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 258, 0, 0, 0, 0,
+ 0, 259, 0, 0, 0, 233, 234, 235, 0, 0, 0, 0, 0, 0, 0, 0,
+ 236, 237, 238, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 260, 261, 0, 0, 0, 0, 0, 0, 0, 262, 263, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 264, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 310, 311, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 267, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 239, 240, 241,
+ 242, 281, 282, 283, 255, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 227, 228, 229, 0, 0, 230, 231, 232, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 257, 258, 0, 0, 0, 0, 0, 259,
+ 0, 0, 0, 233, 234, 235, 0, 0, 0, 0, 0, 0, 0, 0, 236, 237,
+ 238, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 260, 261, 0, 0, 0, 0, 0, 0, 0, 262, 263, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 637, 311,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 267, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268, 269,
+ 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 239, 240, 241, 242, 281,
+ 282, 283, 255, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 227, 228, 229, 0, 0, 230, 231, 232, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 257, 258, 0, 0, 0, 0, 0, 259, 0, 0,
+ 0, 233, 234, 235, 0, 0, 0, 0, 0, 0, 0, 0, 236, 237, 238, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 261,
+ 0, 0, 0, 0, 0, 0, 0, 262, 263, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 637, 671, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 267, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268, 269, 270, 271,
+ 272, 273, 274, 275, 276, 277, 278, 279, 280, 239, 240, 241, 242, 281, 282, 283,
+ 255, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 227, 228, 229, 0, 0, 230, 231, 232, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 257, 258, 0, 0, 0, 0, 0, 259, 0, 0, 0, 233,
+ 234, 235, 0, 0, 0, 0, 0, 0, 0, 0, 236, 237, 238, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 261, 0, 0,
+ 0, 0, 0, 0, 0, 262, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 438, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 267, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268, 269, 270, 271, 272, 273,
+ 274, 275, 276, 277, 278, 279, 280, 239, 240, 241, 242, 281, 282, 283, 442, 443,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 444, 445, 446, 0, 0, 447, 448, 449, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 257, 258, 0, 0, 0, 0, 0, 259, 0, 0, 0, 450, 451, 452,
+ 0, 0, 0, 0, 0, 0, 0, 0, 453, 454, 455, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 260, 261, 0, 0, 0, 0,
+ 0, 0, 0, 262, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 264, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 310, 456, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 267, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 268, 0, 0, 271, 272, 273, 274, 275,
+ 276, 277, 278, 279, 280, 457, 458, 459, 460, 281, 282, 283, 442, 443, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 444, 445,
+ 446, 0, 0, 447, 448, 449, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 257, 258, 0, 0, 0, 0, 0, 259, 0, 0, 0, 450, 451, 452, 0, 0,
+ 0, 0, 0, 0, 0, 0, 453, 454, 455, 0, 227, 228, 229, 0, 0, 230,
+ 231, 232, 0, 1145, 0, 0, 0, 0, 260, 261, 0, 0, 257, 258, 0, 0,
+ 0, 262, 263, 259, 0, 0, 0, 233, 234, 235, 0, 0, 264, 0, 0, 0,
+ 0, 0, 236, 237, 238, 0, 310, 824, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 267, 0, 260, 261, 0, 0, 0, 0, 0, 0, 0, 262, 263, 0,
+ 0, 0, 0, 0, 0, 0, 268, 0, 264, 271, 272, 273, 274, 275, 276, 277,
+ 278, 279, 280, 457, 458, 459, 460, 281, 282, 283, 639, 639, 639, 0, 267, 0,
+ 0, 0, 0, 639, 639, 639, 0, 639, 639, 0, 0, 0, 0, 0, 639, 639,
+ 0, 0, 268, 0, 0, 0, 0, 639, 0, 0, 639, 0, 0, 639, 0, 239,
+ 240, 241, 242, 0, 0, 639, 0, 0, 645, 646, 639, 0, 639, 0, 0, 0,
+ 654, 655, 656, 0, 658, 659, 0, 0, 0, 0, 639, 665, 666, 0, 0, 0,
+ 0, 0, 0, 0, 683, 0, 0, 686, 639, 639, 689, 0, 639, 0, 0, 0,
+ 0, 0, 701, 0, 639, 639, 0, 712, 0, 714, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 742, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 759, 760, 0, 0, 765, 0, 0, 0, 0, 0, 0,
+ 0, 773, 774};
const short ParserGen::yycheck_[] = {
- 70, 75, 632, 75, 584, 17, 117, 19, 21, 17, 21, 21, 25, 18, 25, 25,
- 22, 91, 1106, 91, 94, 17, 94, 597, 598, 787, 17, 91, 147, 21, 94, 91,
- 148, 25, 94, 76, 955, 956, 21, 148, 148, 91, 25, 91, 94, 713, 94, 148,
- 159, 91, 0, 74, 94, 76, 481, 69, 70, 71, 91, 148, 91, 94, 91, 94,
- 73, 94, 148, 108, 974, 975, 1158, 977, 113, 148, 980, 981, 982, 148, 187, 148,
- 748, 987, 988, 38, 990, 108, 74, 47, 48, 91, 113, 147, 94, 999, 140, 141,
- 142, 143, 144, 145, 146, 74, 91, 64, 65, 94, 1012, 1013, 69, 70, 91, 12,
- 91, 94, 10, 94, 23, 24, 25, 105, 27, 91, 542, 543, 94, 591, 592, 147,
- 89, 90, 147, 172, 147, 1039, 16, 1041, 1042, 91, 99, 100, 94, 199, 200, 201,
- 202, 33, 147, 147, 147, 172, 147, 74, 484, 485, 486, 74, 74, 147, 74, 491,
- 492, 493, 147, 495, 496, 147, 74, 80, 81, 501, 502, 147, 147, 86, 74, 507,
- 508, 509, 510, 606, 194, 513, 514, 147, 764, 517, 21, 148, 520, 521, 522, 147,
- 524, 74, 526, 147, 958, 74, 147, 531, 532, 147, 534, 147, 117, 118, 633, 147,
- 540, 147, 147, 147, 497, 126, 127, 147, 548, 147, 147, 147, 147, 74, 554, 555,
- 137, 26, 558, 512, 74, 74, 515, 516, 74, 74, 566, 567, 74, 74, 15, 14,
- 13, 13, 527, 528, 74, 74, 159, 674, 13, 581, 582, 536, 74, 74, 13, 74,
- 74, 13, 74, 74, 74, 74, 74, 74, 549, 597, 598, 552, 74, 74, 13, 556,
- 74, 74, 74, 13, 74, 74, 13, 10, 11, 12, 13, 14, 15, 16, 1192, 18,
- 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
- 35, 36, 37, 38, 39, 40, 41, 1217, 74, 74, 13, 11, 74, 74, 13, 74,
- 74, 74, 64, 65, 66, 13, 74, 69, 70, 71, 74, 80, 81, 74, 74, 74,
- 13, 86, 80, 81, 767, 74, 74, 74, 86, 74, 74, 89, 90, 91, 74, 74,
- 74, 74, 85, 74, 74, 99, 100, 101, 74, 991, 74, 74, 21, 74, 74, 18,
- 117, 118, 1000, 1001, 1002, 18, 74, 117, 118, 126, 127, 13, 74, 955, 956, 74,
- 126, 127, 13, 74, 137, 74, 74, 13, 74, 74, 74, 137, 74, 80, 81, 74,
- 74, 74, 74, 86, 74, 147, 74, 479, 74, 74, 159, 74, 74, 74, 507, 508,
- 509, 159, 74, 74, 74, 74, 74, 487, 517, 489, 74, 520, 521, 522, 179, 74,
- 437, 26, 117, 118, 73, 179, 531, 532, 189, 534, 147, 126, 127, 176, 177, 20,
- 74, 74, 192, 193, 194, 195, 137, 548, 74, 73, 73, 73, 1040, 73, 73, 21,
- 73, 478, 21, 478, 478, 21, 482, 36, 74, 74, 538, 74, 159, 73, 19, 74,
- 74, 30, 22, 39, 73, 73, 478, 74, 581, 582, 560, 561, 73, 32, 74, 478,
- 179, 73, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 21, 21, 580, 73,
- 73, 73, 73, 31, 73, 591, 592, 591, 592, 74, 73, 597, 598, 597, 598, 591,
- 592, 28, 24, 591, 592, 597, 598, 40, 74, 597, 598, 74, 610, 591, 592, 591,
- 592, 74, 74, 597, 598, 591, 592, 621, 74, 623, 73, 597, 598, 627, 591, 592,
- 591, 592, 591, 592, 597, 598, 597, 598, 597, 598, 73, 583, 74, 74, 74, 583,
- 74, 590, 74, 590, 590, 587, 588, 74, 654, 74, 74, 583, 593, 591, 592, 74,
- 583, 663, 664, 597, 598, 74, 590, 34, 74, 74, 591, 592, 74, 73, 676, 590,
- 597, 598, 591, 592, 591, 592, 74, 74, 597, 598, 597, 598, 73, 591, 592, 955,
- 956, 73, 696, 597, 598, 73, 700, 74, 702, 74, 704, 74, 74, 591, 592, 29,
- 74, 73, 712, 597, 598, 74, 74, 25, 718, 719, 74, 721, 74, 74, 724, 74,
- 74, 727, 74, 729, 74, 74, 732, 733, 734, 735, 74, 74, 74, 74, 74, 74,
- 74, 35, 35, 74, 74, 68, 74, 749, 74, 74, 74, 37, 27, 74, 74, 74,
- 758, 80, 74, 74, 74, 74, 74, 74, 41, 74, 770, 500, 74, 74, 503, 504,
- 505, 506, 507, 508, 509, 769, 74, 74, 482, 477, 74, 74, 517, 74, 74, 520,
- 521, 522, 74, 74, 74, 958, 1019, 244, 529, 598, 531, 532, 1103, 534, 972, 1203,
- 1215, 1193, 808, 1210, 979, 943, 1018, 544, 545, 815, 547, 548, 818, 593, 820, 821,
- 822, 94, -1, 825, -1, -1, 828, 770, 770, 831, -1, 833, -1, 778, -1, 778,
- 778, -1, -1, 841, 842, 843, -1, -1, 846, 578, 770, 849, 581, 582, 852, -1,
- 795, 855, 778, 770, -1, 859, -1, -1, -1, -1, -1, 778, -1, -1, -1, -1,
- -1, -1, 872, -1, -1, 875, 876, -1, -1, 879, 880, -1, -1, -1, 884, -1,
- -1, 887, -1, -1, 890, 891, 892, -1, -1, -1, 896, -1, 898, 899, -1, 901,
- -1, -1, 904, -1, -1, 907, -1, 909, -1, -1, 912, 913, 914, 915, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 929, -1, -1, -1, 933,
- -1, -1, 936, 939, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 955, 956, 955, 956, -1, -1, -1, -1, -1, -1, 955, 956, -1, -1, 955,
- 956, -1, 968, -1, -1, -1, -1, -1, -1, 955, 956, -1, 978, 979, -1, -1,
- -1, 955, 956, -1, 986, -1, -1, -1, -1, -1, 955, 956, 955, 956, 955, 956,
- 998, 942, -1, 942, 942, 1003, -1, -1, 1006, 1007, 1008, 952, 1010, 952, 952, 1015,
- -1, -1, -1, 1019, -1, -1, 942, -1, -1, 955, 956, -1, -1, -1, -1, 942,
- 952, 1031, -1, -1, 1034, 1035, 955, 956, 1038, 952, -1, -1, -1, 1043, 955, 956,
- 955, 956, -1, 1049, -1, -1, -1, -1, -1, 955, 956, -1, -1, -1, -1, -1,
- -1, -1, -1, 1065, -1, 1067, 1068, -1, -1, 955, 956, -1, 1017, -1, 1017, 1017,
- 1019, 1019, -1, -1, -1, -1, -1, -1, 64, 65, 66, -1, -1, 69, 70, 71,
- 1094, 1017, -1, 1019, 1098, -1, 1100, -1, -1, -1, 1017, -1, 1019, -1, -1, -1,
- -1, 89, 90, 91, -1, -1, -1, -1, -1, -1, -1, 99, 100, 101, -1, -1,
- -1, -1, 1128, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1152, -1, 1154, -1, -1, 1157,
- -1, -1, 481, -1, -1, 484, 485, 486, -1, -1, -1, 147, 491, 492, 493, -1,
- 495, 496, 1176, 1177, -1, -1, 501, 502, -1, -1, -1, -1, 507, 508, 509, 510,
- -1, 1191, 513, 514, -1, -1, 517, -1, -1, 520, 521, 522, -1, 524, -1, 526,
- -1, -1, -1, 1209, 531, 532, -1, 534, 192, 193, 194, 195, -1, 540, -1, -1,
- -1, -1, -1, -1, -1, 548, -1, -1, -1, -1, -1, 554, 555, -1, -1, 558,
- -1, -1, 484, 485, 486, -1, -1, 566, 567, 491, 492, 493, -1, 495, 496, -1,
- -1, -1, -1, 501, 502, -1, 581, 582, -1, 508, 509, -1, 510, -1, -1, 513,
- 514, -1, 517, -1, -1, 520, 521, 522, -1, -1, 524, -1, 526, -1, -1, 606,
- 531, 532, -1, 534, -1, -1, -1, -1, -1, -1, 540, -1, -1, -1, -1, -1,
- -1, 548, -1, -1, -1, -1, -1, -1, 554, 555, 633, -1, 558, -1, -1, -1,
- -1, -1, -1, -1, 566, 567, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 581, 582, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 674, -1, -1, -1, -1, 3, 4, 5, 6, 7, 8, 9, 10,
- 11, 12, 13, 14, 15, 16, -1, 18, 19, 20, 21, 22, 23, 24, 25, 26,
- 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
- 43, 44, 45, 46, -1, -1, 49, 50, -1, 52, 53, 54, 55, 56, 57, 58,
- 59, 60, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, 72, -1, 74,
- 75, -1, 77, -1, 79, -1, -1, 82, 83, 84, 85, -1, 87, 88, -1, -1,
- 767, 92, 93, 94, 95, 96, 97, 98, -1, -1, -1, 102, 103, 104, 105, 106,
- 107, 108, 109, 110, 111, -1, 113, 114, 115, 116, -1, -1, 119, 120, 121, 122,
- 123, 124, 125, -1, -1, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, 138,
- 139, 140, 141, 142, 143, 144, 145, 146, -1, -1, 149, 150, 151, 152, 153, 154,
- 155, 156, 157, -1, -1, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
- 171, 172, 173, -1, 175, 176, 177, 3, 4, 5, 6, 7, 8, 9, 10, 11,
- 12, 13, 14, 15, 16, -1, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
+ 72, 21, 18, 77, 611, 25, 21, 77, 93, 1161, 25, 96, 21, 17, 17, 19,
+ 25, 93, 824, 93, 96, 22, 96, 93, 500, 21, 96, 17, 127, 25, 21, 750,
+ 93, 157, 25, 96, 93, 17, 158, 96, 661, 662, 158, 74, 75, 76, 624, 625,
+ 1003, 1004, 79, 158, 81, 158, 81, 569, 570, 93, 51, 52, 96, 93, 0, 1215,
+ 96, 158, 785, 1023, 1024, 158, 169, 78, 1028, 618, 619, 158, 1032, 1033, 1034, 158,
+ 158, 197, 79, 1039, 1040, 93, 1042, 79, 96, 118, 157, 118, 87, 88, 123, 1051,
+ 123, 42, 15, 94, 150, 151, 152, 153, 154, 155, 156, 93, 1064, 1065, 96, 93,
+ 10, 115, 96, 157, 27, 28, 29, 93, 31, 20, 96, 93, 157, 37, 96, 93,
+ 87, 88, 96, 93, 127, 128, 96, 94, 1092, 79, 1094, 1095, 157, 136, 137, 209,
+ 210, 211, 212, 93, 79, 25, 96, 157, 147, 182, 18, 182, 79, 633, 157, 157,
+ 79, 79, 19, 157, 79, 79, 79, 17, 127, 128, 503, 504, 505, 204, 169, 79,
+ 157, 136, 137, 512, 513, 514, 157, 516, 517, 157, 157, 663, 147, 157, 523, 524,
+ 157, 157, 801, 79, 529, 530, 531, 532, 1006, 157, 535, 157, 157, 538, 157, 157,
+ 541, 157, 169, 79, 79, 546, 547, 548, 549, 157, 551, 79, 553, 157, 87, 88,
+ 157, 558, 559, 157, 561, 94, 189, 157, 157, 157, 567, 711, 157, 157, 79, 79,
+ 199, 79, 575, 79, 17, 79, 79, 17, 581, 582, 79, 79, 585, 17, 79, 79,
+ 17, 79, 79, 79, 593, 594, 127, 128, 13, 79, 79, 79, 79, 79, 79, 136,
+ 137, 17, 79, 608, 609, 79, 79, 69, 70, 71, 147, 79, 74, 75, 76, 79,
+ 79, 17, 79, 624, 625, 79, 17, 1251, 79, 79, 17, 79, 79, 79, 79, 14,
+ 169, 79, 22, 79, 98, 99, 100, 79, 79, 79, 79, 17, 79, 79, 17, 109,
+ 110, 111, 79, 1279, 189, 79, 79, 8, 804, 10, 17, 79, 13, 14, 15, 16,
+ 17, 18, 19, 20, 79, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
+ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 69, 70, 157,
+ 25, 79, 74, 75, 79, 79, 55, 22, 79, 17, 69, 70, 71, 79, 79, 74,
+ 75, 76, 79, 79, 30, 79, 79, 79, 17, 79, 98, 99, 87, 88, 79, 79,
+ 79, 79, 83, 94, 79, 109, 110, 98, 99, 100, 79, 92, 202, 203, 204, 205,
+ 79, 79, 109, 110, 111, 506, 1043, 508, 498, 1003, 1004, 79, 79, 79, 79, 1052,
+ 1053, 1054, 79, 79, 127, 128, 79, 511, 456, 122, 79, 124, 79, 136, 137, 79,
+ 79, 79, 79, 79, 79, 79, 158, 79, 147, 17, 78, 24, 79, 157, 79, 79,
+ 78, 537, 157, 78, 78, 78, 16, 78, 25, 78, 25, 25, 40, 497, 169, 79,
+ 565, 79, 497, 79, 78, 34, 1093, 168, 497, 79, 529, 530, 531, 79, 79, 23,
+ 26, 501, 189, 43, 78, 497, 541, 184, 79, 186, 497, 78, 547, 548, 549, 202,
+ 203, 204, 205, 587, 588, 78, 36, 558, 559, 79, 561, 595, 596, 597, 598, 599,
+ 600, 601, 602, 603, 604, 618, 619, 607, 575, 78, 25, 624, 625, 25, 618, 619,
+ 618, 619, 78, 78, 618, 619, 624, 625, 78, 78, 624, 625, 78, 618, 619, 79,
+ 35, 618, 619, 624, 625, 637, 78, 624, 625, 608, 609, 32, 28, 79, 79, 79,
+ 648, 79, 650, 651, 25, 79, 618, 619, 78, 78, 618, 619, 624, 625, 79, 79,
+ 624, 625, 79, 38, 79, 617, 79, 79, 79, 79, 617, 79, 620, 79, 610, 610,
+ 617, 79, 618, 619, 684, 614, 615, 79, 624, 625, 44, 79, 610, 617, 79, 78,
+ 696, 79, 617, 699, 700, 78, 610, 78, 618, 619, 78, 33, 618, 619, 624, 625,
+ 79, 713, 624, 625, 618, 619, 79, 79, 618, 619, 624, 625, 618, 619, 624, 625,
+ 618, 619, 624, 625, 79, 733, 624, 625, 79, 737, 78, 739, 79, 741, 1003, 1004,
+ 618, 619, 79, 29, 79, 749, 624, 625, 79, 39, 79, 755, 756, 79, 758, 79,
+ 78, 761, 79, 79, 764, 79, 766, 79, 79, 769, 770, 771, 772, 79, 79, 79,
+ 79, 79, 69, 70, 71, 39, 79, 74, 75, 76, 786, 70, 41, 79, 79, 79,
+ 79, 31, 79, 795, 45, 496, 79, 82, 79, 79, 79, 79, 79, 807, 79, 98,
+ 99, 100, 79, 79, 79, 26, 79, 79, 79, 806, 109, 110, 111, 501, 79, 79,
+ 79, 79, 1006, 79, 79, 79, 1071, 79, 79, 79, 79, 254, 625, 583, 1158, 1021,
+ 1264, 1277, 842, 1252, 1272, 1031, 991, 1070, 620, -1, -1, -1, 96, -1, -1, 855,
+ -1, -1, 858, -1, 860, 861, 862, 76, 807, 865, -1, 815, 868, -1, 807, 871,
+ 815, 873, 876, -1, -1, -1, 815, -1, -1, -1, -1, 807, 884, -1, 886, -1,
+ 807, 889, 890, 815, -1, -1, 894, 832, 815, 897, -1, -1, 900, -1, -1, 903,
+ -1, -1, -1, 907, -1, -1, -1, 202, 203, 204, 205, -1, -1, -1, -1, -1,
+ 920, -1, -1, 923, 924, -1, -1, 927, 928, -1, -1, -1, 932, -1, -1, 935,
+ -1, -1, 938, 939, 940, -1, -1, -1, 944, -1, 946, 947, 515, 949, -1, 518,
+ 952, -1, -1, 955, -1, 957, -1, -1, 960, 961, 962, 963, -1, -1, -1, 534,
+ -1, -1, -1, -1, 539, 540, -1, 542, 543, 977, -1, -1, -1, 981, -1, -1,
+ 984, 987, -1, 554, 555, -1, 1003, 1004, -1, -1, -1, -1, 563, -1, -1, -1,
+ -1, 1003, 1004, -1, -1, 1003, 1004, -1, -1, 576, -1, -1, 579, -1, 1003, 1004,
+ 583, 1017, 1003, 1004, -1, -1, -1, -1, -1, -1, -1, 1027, -1, 1029, 1030, 1031,
+ -1, -1, -1, -1, -1, -1, 1038, 1003, 1004, -1, 990, 1003, 1004, -1, -1, 990,
+ -1, -1, 1050, -1, 1000, 990, -1, 1055, -1, 1000, 1058, 1059, 1060, -1, 1062, 1000,
+ -1, 1067, 990, 1003, 1004, 1071, -1, 990, -1, -1, -1, -1, 1000, -1, -1, -1,
+ -1, 1000, -1, -1, 1084, -1, -1, 1087, 1088, 1003, 1004, 1091, -1, 1003, 1004, -1,
+ 1096, -1, -1, -1, -1, 1003, 1004, 1103, 1104, 1003, 1004, -1, -1, 1003, 1004, -1,
+ -1, 1003, 1004, -1, -1, -1, -1, -1, 1120, 1069, 1122, 1123, -1, -1, 1069, -1,
+ 1071, 1003, 1004, -1, 1069, -1, 1071, -1, -1, -1, -1, -1, 530, 531, -1, -1,
+ -1, 1069, -1, 1071, -1, 1149, 1069, 541, 1071, 1153, -1, 1155, -1, 547, 548, 549,
+ -1, -1, -1, -1, -1, -1, -1, 1167, 558, 559, -1, 561, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 575, 1186, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 1209, -1, 1211, -1, -1, 1214, -1, -1, 500, 608, 609, 503, 504, 505, -1,
+ -1, -1, -1, -1, -1, 512, 513, 514, -1, 516, 517, 1235, 1236, -1, -1, -1,
+ 523, 524, -1, -1, -1, -1, 529, 530, 531, 532, 1250, -1, 535, -1, -1, 538,
+ -1, -1, 541, -1, -1, -1, -1, 546, 547, 548, 549, -1, 551, -1, 553, 1271,
+ -1, -1, -1, 558, 559, -1, 561, -1, -1, -1, -1, -1, 567, -1, -1, -1,
+ -1, -1, -1, -1, 575, -1, -1, -1, -1, -1, 581, 582, -1, -1, 585, -1,
+ -1, -1, -1, -1, -1, 522, 593, 594, 525, 526, 527, 528, 529, 530, 531, -1,
+ -1, -1, -1, 536, -1, 608, 609, -1, 541, -1, -1, -1, -1, -1, 547, 548,
+ 549, -1, -1, -1, -1, -1, -1, 556, -1, 558, 559, -1, 561, -1, 633, -1,
+ -1, -1, -1, -1, -1, -1, 571, 572, -1, 574, 575, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 663, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 605, -1, -1, 608, 609, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 711, -1, 3, 4,
+ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
+ -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
+ 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, -1, -1,
+ 53, 54, -1, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
+ -1, -1, -1, 72, 73, -1, -1, -1, 77, -1, 79, 80, -1, 82, -1, 84,
+ 85, 86, -1, -1, 89, 90, 91, 92, 93, 804, 95, 96, 97, -1, -1, -1,
+ 101, 102, 103, 104, 105, 106, 107, 108, -1, -1, -1, 112, 113, 114, 115, 116,
+ 117, 118, 119, 120, 121, -1, 123, 124, 125, 126, -1, -1, 129, 130, 131, 132,
+ 133, 134, 135, -1, -1, 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, 148,
+ 149, 150, 151, 152, 153, 154, 155, 156, -1, -1, 159, 160, 161, 162, 163, 164,
+ 165, 166, 167, -1, -1, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
+ 181, 182, 183, -1, 185, 186, 187, 3, 4, 5, 6, 7, 8, 9, 10, 11,
+ 12, 13, 14, 15, 16, 17, 18, 19, 20, -1, 22, 23, 24, 25, 26, 27,
28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
- 44, 45, 46, -1, -1, 49, 50, -1, 52, 53, 54, 55, 56, 57, 58, 59,
- 60, 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, 72, -1, -1, 75,
- -1, 77, -1, 79, -1, -1, 82, 83, 84, 85, -1, 87, 88, -1, -1, -1,
- 92, 93, 94, 95, 96, 97, 98, -1, -1, -1, 102, 103, 104, 105, 106, 107,
- 108, 109, 110, 111, -1, 113, 114, 115, 116, -1, -1, 119, 120, 121, 122, 123,
- 124, 125, -1, -1, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, 138, 139,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 149, 150, 151, 152, 153, 154, 155,
- 156, 157, -1, -1, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
- 172, 173, -1, 175, 176, 177, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
- 13, 14, 15, 16, -1, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
+ 44, 45, 46, 47, 48, 49, 50, -1, -1, 53, 54, -1, 56, 57, 58, 59,
+ 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, -1, -1, 72, 73, -1, -1,
+ -1, 77, -1, -1, 80, -1, 82, -1, 84, 85, 86, -1, -1, 89, 90, 91,
+ 92, 93, -1, 95, 96, 97, -1, -1, -1, 101, 102, 103, 104, 105, 106, 107,
+ 108, -1, -1, -1, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, -1, 123,
+ 124, 125, 126, -1, -1, 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, 139,
+ 140, 141, 142, 143, 144, 145, 146, -1, 148, 149, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 159, 160, 161, 162, 163, 164, 165, 166, 167, -1, -1, 170, 171,
+ 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, -1, 185, 186, 187,
+ 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
+ 19, 20, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
+ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
+ -1, -1, 53, 54, -1, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
+ 67, 68, -1, -1, -1, 72, 73, -1, -1, -1, -1, -1, -1, 80, -1, 82,
+ -1, 84, 85, 86, -1, -1, 89, 90, 91, 92, 93, -1, 95, 96, 97, -1,
+ -1, -1, 101, 102, 103, 104, 105, 106, 107, 108, -1, -1, -1, 112, 113, 114,
+ 115, 116, 117, 118, 119, 120, 121, -1, 123, 124, 125, 126, -1, -1, 129, 130,
+ 131, 132, 133, 134, 135, -1, -1, 138, 139, 140, 141, 142, 143, 144, 145, 146,
+ -1, 148, 149, -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, 160, 161, 162,
+ 163, 164, 165, 166, 167, -1, -1, 170, 171, 172, 173, 174, 175, 176, 177, 178,
+ 179, 180, 181, 182, 183, -1, 185, 186, 187, 3, 4, 5, 6, 7, 8, 9,
+ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, -1, 22, 23, 24, 25,
+ 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
+ 42, 43, 44, 45, 46, 47, 48, 49, 50, -1, -1, 53, 54, -1, 56, 57,
+ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, -1, -1, -1, 72, 73,
+ -1, -1, -1, 77, -1, 79, 80, -1, 82, -1, 84, 85, 86, -1, -1, 89,
+ 90, 91, 92, 93, -1, 95, 96, 97, -1, -1, -1, 101, 102, 103, 104, 105,
+ 106, 107, 108, -1, -1, -1, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
+ -1, 123, 124, 125, 126, -1, -1, 129, 130, 131, 132, 133, 134, 135, -1, -1,
+ 138, 139, 140, 141, 142, 143, 144, 145, 146, -1, 148, 149, 150, 151, 152, 153,
+ 154, 155, 156, -1, -1, 159, 160, 161, 162, 163, 164, 165, 166, 167, -1, -1,
+ 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, -1, 185,
+ 186, 3, 4, 5, 6, 7, 8, 9, -1, 11, 12, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 46, 47, 48, 49,
+ 50, -1, -1, 53, 54, -1, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
+ 66, 67, 68, -1, -1, -1, 72, 73, -1, -1, -1, -1, -1, -1, 80, -1,
+ 82, -1, 84, 85, 86, -1, -1, 89, 90, 91, -1, 93, -1, 95, 96, 97,
+ -1, -1, -1, 101, 102, 103, 104, 105, 106, 107, 108, -1, -1, -1, 112, 113,
+ 114, 115, 116, 117, 118, 119, 120, 121, -1, 123, 124, 125, 126, -1, -1, 129,
+ 130, 131, 132, 133, 134, 135, -1, -1, 138, 139, 140, 141, 142, 143, 144, 145,
+ 146, -1, 148, 149, -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, 160, 161,
+ 162, 163, 164, 165, 166, 167, -1, -1, 170, 171, 172, 173, 174, 175, 176, 177,
+ 178, 179, 180, 181, 182, 183, 10, 185, -1, 13, 14, 15, 16, 17, 18, 19,
+ 20, -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
+ 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 79, -1, 10, -1, -1,
+ 13, 14, 15, 16, 17, 18, 19, 20, 92, 22, 23, 24, 25, 26, 27, 28,
29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
- 45, 46, -1, -1, 49, 50, -1, 52, 53, 54, 55, 56, 57, 58, 59, 60,
- 61, 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1,
- 77, -1, 79, -1, -1, 82, 83, 84, 85, -1, 87, 88, -1, -1, -1, 92,
- 93, 94, 95, 96, 97, 98, -1, -1, -1, 102, 103, 104, 105, 106, 107, 108,
- 109, 110, 111, -1, 113, 114, 115, 116, -1, -1, 119, 120, 121, 122, 123, 124,
- 125, -1, -1, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, 138, 139, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156,
- 157, -1, -1, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172,
- 173, -1, 175, 176, 177, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
- 14, 15, 16, -1, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
- 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
- 46, -1, -1, 49, 50, -1, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
- 62, 63, -1, -1, -1, 67, 68, -1, -1, -1, 72, -1, 74, 75, -1, 77,
- -1, 79, -1, -1, 82, 83, 84, 85, -1, 87, 88, -1, -1, -1, 92, 93,
- 94, 95, 96, 97, 98, -1, -1, -1, 102, 103, 104, 105, 106, 107, 108, 109,
- 110, 111, -1, 113, 114, 115, 116, -1, -1, 119, 120, 121, 122, 123, 124, 125,
- -1, -1, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, 138, 139, 140, 141,
- 142, 143, 144, 145, 146, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157,
- -1, -1, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
- -1, 175, 176, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1,
+ 45, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 42, 43, 44, 45, 46, -1,
- -1, 49, 50, -1, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
- -1, -1, -1, 67, 68, -1, -1, -1, -1, -1, -1, 75, -1, 77, -1, 79,
- -1, -1, 82, 83, 84, -1, -1, 87, 88, -1, -1, -1, 92, 93, 94, 95,
- 96, 97, 98, -1, -1, -1, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
- -1, 113, 114, 115, 116, -1, -1, 119, 120, 121, 122, 123, 124, 125, -1, -1,
- 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, 138, 139, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 149, 150, 151, 152, 153, 154, 155, 156, 157, -1, -1,
- 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 8, 175,
- 10, 11, 12, 13, 14, 15, 16, -1, 18, 19, 20, 21, 22, 23, 24, 25,
- 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 51, -1, -1, -1, -1, -1, -1,
+ -1, -1, 79, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 92,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 10, 186, 187, 13, 14, 15, 16, 17, 18, 19, 20,
+ -1, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
+ 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 79, -1, 10, 186, 187, 13,
+ 14, 15, 16, 17, 18, 19, 20, 92, 22, 23, 24, 25, 26, 27, 28, 29,
+ 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 74, -1, -1, -1, 78, -1, -1, -1, -1, -1, -1, 85, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 112, -1, 114, 10, 11, 12, 13, 14, 15, 16,
- -1, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
- 33, 34, 35, 36, 37, 38, 39, 40, 41, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 158, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 174, -1, 176, -1, -1, 74, -1, -1, -1, 10, 11, 12,
- 13, 14, 15, 16, 85, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
- 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 10, 11, 12,
- 13, 14, 15, 16, -1, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
- 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 74, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 85, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 74, -1, 176,
- 177, 10, 11, 12, 13, 14, 15, 16, 85, 18, 19, 20, 21, 22, 23, 24,
- 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
- 41, -1, -1, -1, 47, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 64, 65, 66, -1, -1, 69, 70, 71, -1, 73, -1,
- -1, 74, -1, 176, 177, 80, 81, -1, -1, -1, -1, 86, 85, -1, 89, 90,
- 91, -1, -1, -1, -1, -1, -1, -1, 99, 100, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, 176, 177, -1, -1, -1, -1, -1, 117, 118, -1, -1, -1, -1,
- -1, -1, -1, 126, 127, 64, 65, 66, -1, -1, 69, 70, 71, -1, 137, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 147, 148, -1, -1, -1, -1, 89, 90,
- 91, -1, -1, -1, 159, -1, -1, -1, 99, 100, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 176, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 47, 48, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, 66,
- -1, -1, 69, 70, 71, -1, 73, -1, -1, -1, -1, -1, -1, 80, 81, -1,
- -1, -1, -1, 86, -1, -1, 89, 90, 91, -1, -1, -1, -1, -1, -1, -1,
- 99, 100, 101, -1, -1, 192, 193, 194, 195, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 117, 118, -1, -1, -1, -1, -1, -1, -1, 126, 127, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 147, 148, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, -1, -1, -1,
+ -1, 79, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 92, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 196, 197, 198, 47, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 64, 65, 66, -1, -1, 69, 70, 71, -1, 73, -1,
- -1, -1, -1, -1, -1, 80, 81, -1, -1, -1, -1, 86, -1, -1, 89, 90,
- 91, -1, -1, -1, -1, -1, -1, -1, 99, 100, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 117, 118, -1, -1, -1, -1,
- -1, -1, -1, 126, 127, -1, -1, -1, -1, -1, -1, -1, -1, -1, 137, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 147, 148, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 159, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 47, 48, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, 66,
- -1, -1, 69, 70, 71, -1, 73, -1, -1, -1, -1, -1, -1, 80, 81, -1,
- -1, -1, -1, 86, -1, -1, 89, 90, 91, -1, -1, -1, -1, -1, -1, -1,
- 99, 100, 101, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 117, 118, -1, -1, -1, -1, -1, -1, -1, 126, 127, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 147, 148, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, -1, -1, -1,
+ -1, -1, -1, -1, 10, 186, 187, 13, 14, 15, 16, 17, 18, 19, 20, -1,
+ 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
+ 38, 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, -1, 51, 52, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, 70,
+ 71, -1, -1, 74, 75, 76, -1, 78, -1, 79, -1, -1, 186, 187, -1, -1,
+ 87, 88, -1, -1, -1, -1, 92, 94, -1, -1, -1, 98, 99, 100, -1, -1,
+ -1, -1, -1, -1, -1, -1, 109, 110, 111, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, -1, -1, -1, -1, -1, -1,
+ -1, 136, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1, 147, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 157, 158, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 169, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 186, -1, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
+ 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 51, 52, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, 70, 71, -1,
+ -1, 74, 75, 76, -1, 78, -1, -1, -1, -1, -1, -1, -1, -1, 87, 88,
+ -1, -1, -1, -1, -1, 94, -1, -1, -1, 98, 99, 100, -1, -1, -1, -1,
+ -1, -1, -1, -1, 109, 110, 111, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 127, 128, -1, -1, -1, -1, -1, -1, -1, 136,
+ 137, -1, -1, -1, -1, -1, -1, -1, -1, -1, 147, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 157, 158, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 169, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
+ 201, 202, 203, 204, 205, 206, 207, 208, 51, 52, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, 70, 71, -1, -1, 74,
+ 75, 76, -1, 78, -1, -1, -1, -1, -1, -1, -1, -1, 87, 88, -1, -1,
+ -1, -1, -1, 94, -1, -1, -1, 98, 99, 100, -1, -1, -1, -1, -1, -1,
+ -1, -1, 109, 110, 111, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 127, 128, -1, -1, -1, -1, -1, -1, -1, 136, 137, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 147, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 157, 158, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 169, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 196, 197, 198, 47, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 64, 65, 66, -1, -1, 69, 70, 71, -1, 73, -1,
- -1, -1, -1, -1, -1, 80, 81, -1, -1, -1, -1, 86, -1, -1, 89, 90,
- 91, -1, -1, -1, -1, -1, -1, -1, 99, 100, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 117, 118, -1, -1, -1, -1,
- -1, -1, -1, 126, 127, -1, -1, -1, -1, -1, -1, -1, -1, -1, 137, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 147, 148, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 159, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 47, 48, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, 66,
- -1, -1, 69, 70, 71, -1, 73, -1, -1, -1, -1, -1, -1, 80, 81, -1,
- -1, -1, -1, 86, -1, -1, 89, 90, 91, -1, -1, -1, -1, -1, -1, -1,
- 99, 100, 101, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 117, 118, -1, -1, -1, -1, -1, -1, -1, 126, 127, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 147, 148, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, -1, -1, -1,
+ -1, -1, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
+ 203, 204, 205, 206, 207, 208, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 69, 70, 71, -1, -1, 74, 75, 76,
+ -1, 78, -1, -1, -1, -1, -1, -1, -1, -1, 87, 88, -1, -1, -1, -1,
+ -1, 94, -1, -1, -1, 98, 99, 100, -1, -1, -1, -1, -1, -1, -1, -1,
+ 109, 110, 111, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 127, 128, -1, -1, -1, -1, -1, -1, -1, 136, 137, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 147, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 157, 158, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 169, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 196, 197, 198, 47, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 64, 65, 66, -1, -1, 69, 70, 71, -1, 73, -1,
- -1, -1, -1, -1, -1, 80, 81, -1, -1, -1, -1, 86, -1, -1, 89, 90,
- 91, -1, -1, -1, -1, -1, -1, -1, 99, 100, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 117, 118, -1, -1, -1, -1,
- -1, -1, -1, 126, 127, -1, -1, -1, -1, -1, -1, -1, -1, -1, 137, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 147, 148, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 159, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 47, 48, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, 66,
- -1, -1, 69, 70, 71, -1, 73, -1, -1, -1, -1, -1, -1, 80, 81, -1,
- -1, -1, -1, 86, -1, -1, 89, 90, 91, -1, -1, -1, -1, -1, -1, -1,
- 99, 100, 101, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 117, 118, -1, -1, -1, -1, -1, -1, -1, 126, 127, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 147, 148, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, -1, -1, -1,
+ 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
+ 205, 206, 207, 208, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 69, 70, 71, -1, -1, 74, 75, 76, -1, 78,
+ -1, -1, -1, -1, -1, -1, -1, -1, 87, 88, -1, -1, -1, -1, -1, 94,
+ -1, -1, -1, 98, 99, 100, -1, -1, -1, -1, -1, -1, -1, -1, 109, 110,
+ 111, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 127, 128, -1, -1, -1, -1, -1, -1, -1, 136, 137, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 147, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, 158,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 169, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 189, 190,
+ 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
+ 207, 208, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 69, 70, 71, -1, -1, 74, 75, 76, -1, 78, -1, -1,
+ -1, -1, -1, -1, -1, -1, 87, 88, -1, -1, -1, -1, -1, 94, -1, -1,
+ -1, 98, 99, 100, -1, -1, -1, -1, -1, -1, -1, -1, 109, 110, 111, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 127, 128,
+ -1, -1, -1, -1, -1, -1, -1, 136, 137, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 147, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, 158, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 169, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 189, 190, 191, 192,
+ 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
+ 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 69, 70, 71, -1, -1, 74, 75, 76, -1, 78, -1, -1, -1, -1,
+ -1, -1, -1, -1, 87, 88, -1, -1, -1, -1, -1, 94, -1, -1, -1, 98,
+ 99, 100, -1, -1, -1, -1, -1, -1, -1, -1, 109, 110, 111, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, -1, -1,
+ -1, -1, -1, -1, -1, 136, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 147, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, 158, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 169, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 189, 190, 191, 192, 193, 194,
+ 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 51, 52,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 196, 197, 198, 47, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 64, 65, 66, -1, -1, 69, 70, 71, -1, -1, -1,
- -1, -1, -1, -1, -1, 80, 81, -1, -1, -1, -1, 86, -1, -1, 89, 90,
- 91, -1, -1, -1, -1, -1, -1, -1, 99, 100, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 117, 118, -1, -1, -1, -1,
- -1, -1, -1, 126, 127, -1, -1, -1, -1, -1, -1, -1, -1, -1, 137, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 147, 148, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 159, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 47, 48, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, 66,
- -1, -1, 69, 70, 71, -1, -1, -1, -1, -1, -1, -1, -1, 80, 81, -1,
- -1, -1, -1, 86, -1, -1, 89, 90, 91, -1, -1, -1, -1, -1, -1, -1,
- 99, 100, 101, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 117, 118, -1, -1, -1, -1, -1, -1, -1, 126, 127, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 147, 148, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, -1, -1, -1,
+ 69, 70, 71, -1, -1, 74, 75, 76, -1, 78, -1, -1, -1, -1, -1, -1,
+ -1, -1, 87, 88, -1, -1, -1, -1, -1, 94, -1, -1, -1, 98, 99, 100,
+ -1, -1, -1, -1, -1, -1, -1, -1, 109, 110, 111, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, -1, -1, -1, -1,
+ -1, -1, -1, 136, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1, 147, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 157, 158, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 169, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 189, 190, 191, 192, 193, 194, 195, 196,
+ 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 51, 52, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, 70,
+ 71, -1, -1, 74, 75, 76, -1, 78, -1, -1, -1, -1, -1, -1, -1, -1,
+ 87, 88, -1, -1, -1, -1, -1, 94, -1, -1, -1, 98, 99, 100, -1, -1,
+ -1, -1, -1, -1, -1, -1, 109, 110, 111, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, -1, -1, -1, -1, -1, -1,
+ -1, 136, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1, 147, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 157, 158, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 169, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
+ 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 51, 52, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, 70, 71, -1,
+ -1, 74, 75, 76, -1, 78, -1, -1, -1, -1, -1, -1, -1, -1, 87, 88,
+ -1, -1, -1, -1, -1, 94, -1, -1, -1, 98, 99, 100, -1, -1, -1, -1,
+ -1, -1, -1, -1, 109, 110, 111, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 127, 128, -1, -1, -1, -1, -1, -1, -1, 136,
+ 137, -1, -1, -1, -1, -1, -1, -1, -1, -1, 147, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 157, 158, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 169, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
+ 201, 202, 203, 204, 205, 206, 207, 208, 51, 52, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, 70, 71, -1, -1, 74,
+ 75, 76, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 87, 88, -1, -1,
+ -1, -1, -1, 94, -1, -1, -1, 98, 99, 100, -1, -1, -1, -1, -1, -1,
+ -1, -1, 109, 110, 111, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 127, 128, -1, -1, -1, -1, -1, -1, -1, 136, 137, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 147, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 157, 158, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 169, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 196, 197, 198, 47, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 64, 65, 66, -1, -1, 69, 70, 71, -1, -1, -1,
- -1, -1, -1, -1, -1, 80, 81, -1, -1, -1, -1, 86, -1, -1, 89, 90,
- 91, -1, -1, -1, -1, -1, -1, -1, 99, 100, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 117, 118, -1, -1, -1, -1,
- -1, -1, -1, 126, 127, -1, -1, -1, -1, -1, -1, -1, -1, -1, 137, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 147, 148, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 159, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 47, 48, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, 66,
- -1, -1, 69, 70, 71, -1, -1, -1, -1, -1, -1, -1, -1, 80, 81, -1,
- -1, -1, -1, 86, -1, -1, 89, 90, 91, -1, -1, -1, -1, -1, -1, -1,
- 99, 100, 101, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 117, 118, -1, -1, -1, -1, -1, -1, -1, 126, 127, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 147, 148, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, -1, -1, -1,
+ -1, -1, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
+ 203, 204, 205, 206, 207, 208, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 69, 70, 71, -1, -1, 74, 75, 76,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 87, 88, -1, -1, -1, -1,
+ -1, 94, -1, -1, -1, 98, 99, 100, -1, -1, -1, -1, -1, -1, -1, -1,
+ 109, 110, 111, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 127, 128, -1, -1, -1, -1, -1, -1, -1, 136, 137, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 147, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 157, 158, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 169, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 196, 197, 198, 47, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 64, 65, 66, -1, -1, 69, 70, 71, -1, -1, -1,
- -1, -1, -1, -1, -1, 80, 81, -1, -1, -1, -1, 86, -1, -1, 89, 90,
- 91, -1, -1, -1, -1, -1, -1, -1, 99, 100, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 117, 118, -1, -1, -1, -1,
- -1, -1, -1, 126, 127, -1, -1, -1, -1, -1, -1, -1, -1, -1, 137, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 148, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 159, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 47, 48, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, 66,
- -1, -1, 69, 70, 71, -1, -1, -1, -1, -1, -1, -1, -1, 80, 81, -1,
- -1, -1, -1, 86, -1, -1, 89, 90, 91, -1, -1, -1, -1, -1, -1, -1,
- 99, 100, 101, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 117, 118, -1, -1, -1, -1, -1, -1, -1, 126, 127, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 147, 148, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 159, -1, -1, -1,
+ 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
+ 205, 206, 207, 208, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 69, 70, 71, -1, -1, 74, 75, 76, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 87, 88, -1, -1, -1, -1, -1, 94,
+ -1, -1, -1, 98, 99, 100, -1, -1, -1, -1, -1, -1, -1, -1, 109, 110,
+ 111, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 127, 128, -1, -1, -1, -1, -1, -1, -1, 136, 137, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 147, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, 158,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 169, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 189, 190,
+ 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
+ 207, 208, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 69, 70, 71, -1, -1, 74, 75, 76, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 87, 88, -1, -1, -1, -1, -1, 94, -1, -1,
+ -1, 98, 99, 100, -1, -1, -1, -1, -1, -1, -1, -1, 109, 110, 111, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 127, 128,
+ -1, -1, -1, -1, -1, -1, -1, 136, 137, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 147, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, 158, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 169, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 189, 190, 191, 192,
+ 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
+ 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 69, 70, 71, -1, -1, 74, 75, 76, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 87, 88, -1, -1, -1, -1, -1, 94, -1, -1, -1, 98,
+ 99, 100, -1, -1, -1, -1, -1, -1, -1, -1, 109, 110, 111, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, -1, -1,
+ -1, -1, -1, -1, -1, 136, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 147, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, 169, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 189, 190, 191, 192, 193, 194,
+ 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 51, 52,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 179, -1, -1, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 196, 197, 198, 47, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 64, 65, 66, -1, -1, 69, 70, 71, -1, -1, -1,
- -1, -1, -1, -1, -1, 80, 81, -1, -1, -1, -1, 86, -1, -1, 89, 90,
- 91, -1, -1, -1, -1, -1, -1, -1, 99, 100, 101, -1, -1, -1, -1, -1,
- 64, 65, 66, -1, -1, 69, 70, 71, -1, 73, 117, 118, -1, -1, -1, -1,
- 80, 81, -1, 126, 127, -1, 86, -1, -1, 89, 90, 91, -1, -1, 137, -1,
- -1, -1, -1, 99, 100, 101, -1, -1, 147, 148, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 159, 117, 118, -1, -1, -1, -1, -1, -1, -1, 126, 127,
- -1, -1, -1, -1, -1, -1, -1, -1, 179, 137, -1, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, -1, 485, 486, 159,
- -1, -1, -1, 491, 492, 493, -1, 495, 496, -1, -1, -1, -1, 501, 502, -1,
- -1, -1, -1, 179, -1, -1, 510, -1, -1, 513, 514, -1, -1, -1, -1, -1,
- 192, 193, 194, 195, 524, -1, 526, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 540, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 554, 555, -1, -1, 558, -1, -1, -1, -1, -1, -1, -1, 566, 567};
+ 69, 70, 71, -1, -1, 74, 75, 76, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 87, 88, -1, -1, -1, -1, -1, 94, -1, -1, -1, 98, 99, 100,
+ -1, -1, -1, -1, -1, -1, -1, -1, 109, 110, 111, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 127, 128, -1, -1, -1, -1,
+ -1, -1, -1, 136, 137, -1, -1, -1, -1, -1, -1, -1, -1, -1, 147, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 157, 158, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 169, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 189, -1, -1, 192, 193, 194, 195, 196,
+ 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 51, 52, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 69, 70,
+ 71, -1, -1, 74, 75, 76, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 87, 88, -1, -1, -1, -1, -1, 94, -1, -1, -1, 98, 99, 100, -1, -1,
+ -1, -1, -1, -1, -1, -1, 109, 110, 111, -1, 69, 70, 71, -1, -1, 74,
+ 75, 76, -1, 78, -1, -1, -1, -1, 127, 128, -1, -1, 87, 88, -1, -1,
+ -1, 136, 137, 94, -1, -1, -1, 98, 99, 100, -1, -1, 147, -1, -1, -1,
+ -1, -1, 109, 110, 111, -1, 157, 158, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 169, -1, 127, 128, -1, -1, -1, -1, -1, -1, -1, 136, 137, -1,
+ -1, -1, -1, -1, -1, -1, 189, -1, 147, 192, 193, 194, 195, 196, 197, 198,
+ 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 503, 504, 505, -1, 169, -1,
+ -1, -1, -1, 512, 513, 514, -1, 516, 517, -1, -1, -1, -1, -1, 523, 524,
+ -1, -1, 189, -1, -1, -1, -1, 532, -1, -1, 535, -1, -1, 538, -1, 202,
+ 203, 204, 205, -1, -1, 546, -1, -1, 504, 505, 551, -1, 553, -1, -1, -1,
+ 512, 513, 514, -1, 516, 517, -1, -1, -1, -1, 567, 523, 524, -1, -1, -1,
+ -1, -1, -1, -1, 532, -1, -1, 535, 581, 582, 538, -1, 585, -1, -1, -1,
+ -1, -1, 546, -1, 593, 594, -1, 551, -1, 553, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, 567, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 581, 582, -1, -1, 585, -1, -1, -1, -1, -1, -1,
+ -1, 593, 594};
const short ParserGen::yystos_[] = {
- 0, 199, 200, 201, 202, 448, 147, 252, 148, 409, 148, 432, 148, 442, 0, 148, 253, 410, 433,
- 443, 140, 141, 142, 143, 144, 145, 146, 254, 255, 256, 257, 258, 259, 260, 261, 73, 8, 10,
- 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
- 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 51, 74, 78, 85, 112, 114, 158, 174,
- 176, 208, 211, 213, 217, 222, 414, 415, 416, 422, 423, 425, 426, 427, 74, 85, 176, 177, 205,
- 209, 222, 440, 3, 4, 5, 6, 7, 8, 9, 42, 43, 44, 45, 46, 49, 50, 52, 53,
- 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 67, 68, 72, 74, 75, 77, 79, 82, 83,
- 84, 87, 88, 92, 93, 94, 95, 96, 97, 98, 102, 103, 104, 105, 106, 107, 108, 109, 110,
- 111, 113, 114, 115, 116, 119, 120, 121, 122, 123, 124, 125, 128, 129, 130, 131, 132, 133, 134,
- 135, 136, 138, 139, 140, 141, 142, 143, 144, 145, 146, 149, 150, 151, 152, 153, 154, 155, 156,
- 157, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 175, 177, 207, 208,
- 210, 211, 212, 213, 214, 216, 447, 148, 64, 65, 66, 69, 70, 71, 89, 90, 91, 99, 100,
- 101, 192, 193, 194, 195, 227, 229, 230, 231, 268, 409, 148, 148, 268, 148, 449, 74, 47, 48,
- 80, 81, 86, 117, 118, 126, 127, 137, 147, 148, 159, 179, 180, 181, 182, 183, 184, 185, 186,
- 187, 188, 189, 190, 191, 196, 197, 198, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233,
- 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 249, 147, 148, 244, 269,
- 272, 273, 274, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291,
- 292, 293, 294, 295, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311,
+ 0, 209, 210, 211, 212, 468, 157, 262, 158, 429, 158, 452, 158, 462, 0, 158, 263, 430, 453,
+ 463, 150, 151, 152, 153, 154, 155, 156, 264, 265, 266, 267, 268, 269, 270, 271, 78, 8, 10,
+ 13, 14, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
+ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 55, 79, 83, 92, 122, 124,
+ 168, 184, 186, 218, 221, 223, 227, 232, 434, 435, 436, 442, 443, 445, 446, 447, 79, 92, 186,
+ 187, 215, 219, 232, 460, 3, 4, 5, 6, 7, 8, 9, 11, 12, 46, 47, 48, 49, 50,
+ 53, 54, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 72, 73, 77, 79,
+ 80, 82, 84, 85, 86, 89, 90, 91, 93, 95, 96, 97, 101, 102, 103, 104, 105, 106, 107,
+ 108, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125, 126, 129, 130, 131, 132,
+ 133, 134, 135, 138, 139, 140, 141, 142, 143, 144, 145, 146, 148, 149, 150, 151, 152, 153, 154,
+ 155, 156, 159, 160, 161, 162, 163, 164, 165, 166, 167, 170, 171, 172, 173, 174, 175, 176, 177,
+ 178, 179, 180, 181, 182, 183, 185, 187, 217, 218, 220, 221, 222, 223, 224, 226, 467, 158, 69,
+ 70, 71, 74, 75, 76, 98, 99, 100, 109, 110, 111, 202, 203, 204, 205, 237, 239, 240, 241,
+ 278, 429, 158, 158, 278, 158, 469, 79, 51, 52, 87, 88, 94, 127, 128, 136, 137, 147, 157,
+ 158, 169, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 206, 207, 208, 233,
+ 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252,
+ 253, 254, 255, 256, 257, 259, 157, 158, 254, 279, 282, 283, 284, 286, 287, 288, 289, 290, 291,
+ 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 307, 308, 309, 310, 311,
312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330,
331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
- 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 378, 379, 380, 381, 382, 383, 384, 385, 386,
- 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 404, 405, 449, 224,
- 235, 148, 244, 412, 147, 47, 48, 64, 65, 66, 69, 70, 71, 89, 90, 91, 99, 100, 101,
- 148, 192, 193, 194, 195, 223, 224, 225, 226, 228, 232, 233, 235, 237, 238, 239, 241, 242, 243,
- 266, 273, 405, 434, 435, 436, 437, 438, 434, 64, 65, 69, 70, 89, 90, 99, 100, 148, 444,
- 445, 74, 262, 38, 12, 253, 376, 248, 375, 3, 4, 5, 6, 7, 8, 9, 42, 43, 44,
- 45, 46, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 67, 68, 75,
- 77, 79, 82, 83, 84, 87, 88, 92, 93, 94, 95, 96, 97, 98, 102, 103, 104, 105, 106,
- 107, 108, 109, 110, 111, 113, 114, 115, 116, 119, 120, 121, 122, 123, 124, 125, 128, 129, 130,
- 131, 132, 133, 134, 135, 136, 138, 139, 149, 150, 151, 152, 153, 154, 155, 156, 157, 160, 161,
- 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 175, 275, 10, 428, 411, 413, 72,
- 85, 136, 205, 215, 439, 441, 105, 74, 85, 204, 205, 218, 268, 235, 73, 234, 74, 216, 221,
- 73, 269, 147, 244, 274, 402, 403, 404, 406, 407, 407, 407, 273, 147, 273, 147, 407, 407, 407,
- 147, 270, 407, 407, 270, 147, 147, 449, 407, 407, 449, 449, 449, 449, 148, 244, 404, 406, 408,
- 449, 406, 408, 449, 406, 408, 449, 407, 147, 270, 407, 407, 270, 270, 406, 408, 449, 147, 147,
- 406, 408, 449, 406, 408, 449, 406, 408, 449, 147, 407, 147, 407, 270, 270, 449, 80, 81, 86,
- 117, 118, 126, 127, 137, 159, 406, 408, 449, 406, 408, 449, 147, 406, 408, 449, 147, 270, 147,
- 273, 147, 407, 296, 449, 296, 296, 449, 449, 147, 449, 406, 408, 449, 270, 147, 147, 270, 147,
- 407, 407, 147, 270, 271, 147, 407, 147, 269, 269, 147, 147, 147, 147, 407, 407, 269, 269, 269,
- 269, 269, 269, 269, 269, 269, 269, 449, 147, 269, 406, 408, 449, 406, 408, 449, 74, 206, 208,
- 211, 213, 220, 240, 16, 429, 74, 76, 108, 113, 172, 417, 418, 419, 420, 421, 409, 409, 147,
- 268, 435, 435, 74, 441, 117, 159, 446, 148, 264, 265, 266, 267, 404, 264, 74, 33, 234, 269,
- 74, 74, 74, 74, 269, 74, 269, 74, 74, 74, 269, 74, 74, 74, 74, 375, 234, 21, 74,
- 74, 15, 370, 14, 13, 13, 74, 74, 13, 74, 74, 13, 74, 74, 13, 74, 269, 74, 74,
- 74, 74, 74, 74, 74, 13, 269, 269, 74, 74, 13, 74, 74, 13, 74, 74, 13, 234, 74,
- 269, 74, 74, 74, 11, 364, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 13, 74,
- 74, 13, 269, 74, 74, 13, 269, 74, 269, 74, 269, 74, 74, 21, 74, 74, 18, 18, 269,
- 364, 74, 74, 13, 74, 269, 269, 74, 269, 74, 74, 269, 74, 74, 269, 74, 269, 74, 74,
- 269, 269, 269, 269, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 364, 269, 74,
- 74, 74, 13, 74, 74, 13, 269, 240, 26, 430, 234, 147, 148, 243, 147, 235, 250, 251, 268,
- 73, 74, 268, 74, 74, 204, 215, 219, 263, 230, 73, 73, 73, 269, 73, 73, 269, 269, 20,
- 366, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, 73, 269, 269, 21, 269,
- 269, 269, 269, 269, 73, 269, 269, 269, 269, 269, 21, 269, 269, 269, 269, 269, 269, 269, 269,
- 269, 269, 269, 21, 269, 269, 269, 235, 36, 431, 268, 411, 424, 268, 265, 265, 74, 219, 74,
- 74, 74, 73, 74, 74, 30, 360, 269, 23, 27, 369, 374, 19, 362, 22, 372, 362, 39, 363,
- 363, 363, 73, 363, 269, 377, 377, 363, 363, 363, 74, 73, 269, 363, 363, 73, 363, 375, 74,
- 73, 32, 365, 21, 21, 73, 269, 363, 375, 375, 375, 269, 73, 73, 269, 269, 269, 73, 269,
- 73, 363, 363, 235, 74, 268, 417, 73, 251, 73, 269, 31, 361, 269, 269, 28, 367, 24, 371,
- 269, 363, 240, 363, 363, 269, 74, 74, 74, 74, 74, 269, 73, 73, 74, 74, 74, 74, 74,
- 74, 74, 74, 74, 73, 74, 269, 34, 269, 269, 74, 74, 74, 73, 73, 73, 73, 74, 74,
- 73, 73, 73, 74, 74, 74, 74, 74, 73, 74, 74, 269, 40, 269, 29, 373, 269, 25, 360,
- 74, 361, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 269, 35, 35,
- 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 269, 269, 37, 368, 269, 361, 74, 74,
- 74, 269, 269, 74, 269, 363, 369, 74, 74, 74, 74, 74, 41, 367, 74, 74, 74, 269, 373,
- 74, 368, 74, 363, 74, 74};
+ 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368,
+ 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 398, 399, 400, 401, 402, 403, 404, 405, 406,
+ 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 424, 425, 469, 234,
+ 245, 158, 254, 432, 157, 51, 52, 69, 70, 71, 74, 75, 76, 98, 99, 100, 109, 110, 111,
+ 158, 202, 203, 204, 205, 233, 234, 235, 236, 238, 242, 243, 245, 247, 248, 249, 251, 252, 253,
+ 276, 283, 425, 454, 455, 456, 457, 458, 454, 69, 70, 74, 75, 98, 99, 109, 110, 158, 464,
+ 465, 79, 272, 42, 15, 263, 396, 258, 395, 3, 4, 5, 6, 7, 8, 9, 11, 12, 46,
+ 47, 48, 49, 50, 53, 54, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
+ 72, 73, 80, 82, 84, 85, 86, 89, 90, 91, 93, 95, 96, 97, 101, 102, 103, 104, 105,
+ 106, 107, 108, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125, 126, 129, 130,
+ 131, 132, 133, 134, 135, 138, 139, 140, 141, 142, 143, 144, 145, 146, 148, 149, 159, 160, 161,
+ 162, 163, 164, 165, 166, 167, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182,
+ 183, 185, 285, 10, 448, 431, 433, 77, 92, 146, 215, 225, 459, 461, 115, 79, 92, 214, 215,
+ 228, 278, 245, 78, 244, 79, 226, 231, 78, 279, 157, 254, 284, 422, 423, 424, 426, 427, 427,
+ 427, 283, 157, 283, 157, 157, 280, 279, 427, 427, 427, 280, 427, 427, 280, 157, 157, 157, 469,
+ 427, 427, 469, 469, 469, 469, 158, 254, 424, 426, 428, 469, 426, 428, 469, 426, 428, 469, 427,
+ 157, 280, 427, 469, 279, 427, 280, 280, 426, 428, 469, 280, 157, 280, 281, 157, 157, 427, 426,
+ 428, 469, 426, 428, 469, 426, 428, 469, 157, 427, 157, 427, 280, 280, 469, 87, 88, 94, 127,
+ 128, 136, 137, 147, 169, 426, 428, 469, 426, 428, 469, 157, 426, 428, 469, 157, 280, 157, 283,
+ 157, 427, 306, 469, 306, 306, 469, 469, 157, 469, 426, 428, 469, 280, 157, 157, 280, 157, 427,
+ 427, 157, 280, 281, 157, 427, 157, 279, 279, 157, 157, 157, 157, 427, 427, 279, 279, 279, 279,
+ 279, 279, 279, 279, 279, 279, 469, 157, 279, 426, 428, 469, 426, 428, 469, 79, 216, 218, 221,
+ 223, 230, 250, 20, 449, 79, 81, 118, 123, 182, 437, 438, 439, 440, 441, 429, 429, 157, 278,
+ 455, 455, 79, 461, 127, 169, 466, 158, 274, 275, 276, 277, 424, 274, 79, 37, 244, 279, 79,
+ 79, 79, 79, 279, 79, 279, 279, 79, 79, 79, 79, 79, 79, 79, 79, 79, 395, 395, 244,
+ 25, 79, 79, 19, 390, 18, 17, 17, 79, 79, 17, 79, 79, 17, 79, 79, 17, 79, 279,
+ 79, 79, 13, 381, 79, 79, 79, 79, 79, 79, 17, 79, 279, 79, 79, 279, 279, 79, 79,
+ 79, 17, 79, 79, 17, 79, 79, 17, 244, 79, 279, 79, 79, 79, 14, 384, 79, 79, 79,
+ 79, 79, 79, 79, 79, 79, 79, 79, 17, 79, 79, 17, 279, 79, 79, 17, 279, 79, 279,
+ 79, 279, 79, 79, 25, 79, 79, 22, 22, 279, 384, 79, 79, 17, 79, 279, 279, 79, 279,
+ 79, 79, 279, 79, 79, 279, 79, 279, 79, 79, 279, 279, 279, 279, 79, 79, 79, 79, 79,
+ 79, 79, 79, 79, 79, 79, 79, 384, 279, 79, 79, 79, 17, 79, 79, 17, 279, 250, 30,
+ 450, 244, 157, 158, 253, 157, 245, 260, 261, 278, 78, 79, 278, 79, 79, 214, 225, 229, 273,
+ 240, 78, 78, 78, 279, 78, 78, 78, 279, 279, 24, 386, 279, 279, 279, 279, 279, 279, 279,
+ 245, 16, 279, 279, 279, 279, 279, 279, 279, 78, 279, 279, 25, 279, 279, 279, 279, 279, 78,
+ 279, 279, 279, 279, 279, 25, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 25, 279,
+ 279, 279, 245, 40, 451, 278, 431, 444, 278, 275, 275, 79, 229, 79, 79, 79, 78, 79, 79,
+ 79, 34, 379, 279, 27, 31, 389, 394, 23, 382, 26, 392, 382, 43, 383, 383, 383, 78, 279,
+ 383, 279, 279, 397, 397, 383, 383, 383, 79, 78, 279, 383, 383, 78, 383, 395, 79, 78, 36,
+ 385, 25, 25, 78, 279, 383, 395, 395, 395, 279, 78, 78, 279, 279, 279, 78, 279, 78, 383,
+ 383, 245, 79, 278, 437, 78, 261, 78, 279, 35, 380, 279, 279, 32, 387, 28, 391, 279, 383,
+ 250, 383, 383, 279, 79, 79, 79, 79, 25, 79, 78, 279, 279, 78, 78, 79, 79, 79, 79,
+ 79, 79, 79, 79, 79, 78, 79, 279, 38, 279, 279, 79, 79, 79, 78, 78, 78, 79, 79,
+ 78, 78, 78, 79, 79, 79, 79, 79, 78, 79, 79, 279, 44, 279, 33, 393, 279, 29, 379,
+ 79, 380, 79, 79, 79, 279, 79, 78, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 279,
+ 39, 39, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 279, 279, 41, 388, 279, 380,
+ 79, 79, 79, 79, 79, 279, 279, 79, 279, 383, 389, 79, 79, 79, 79, 79, 79, 45, 387,
+ 79, 79, 79, 279, 393, 79, 388, 79, 383, 79, 79};
const short ParserGen::yyr1_[] = {
- 0, 203, 448, 448, 448, 448, 252, 253, 253, 449, 254, 254, 254, 254, 254, 254, 254, 261, 255,
- 256, 268, 268, 268, 268, 257, 258, 259, 260, 262, 262, 218, 218, 264, 265, 265, 265, 266, 266,
- 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266,
- 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 266, 204, 205, 205, 205, 267, 263, 263,
- 219, 219, 409, 410, 410, 414, 414, 414, 414, 414, 414, 415, 412, 412, 411, 411, 417, 417, 417,
- 417, 420, 250, 424, 424, 251, 251, 421, 421, 422, 418, 418, 419, 416, 423, 423, 423, 413, 413,
- 217, 217, 217, 211, 425, 426, 428, 428, 429, 429, 430, 430, 431, 427, 427, 207, 207, 207, 207,
- 207, 207, 207, 208, 209, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222,
- 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 222, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210,
- 210, 210, 235, 235, 235, 235, 235, 235, 235, 235, 235, 235, 236, 249, 237, 238, 239, 241, 242,
- 243, 223, 224, 225, 226, 228, 232, 233, 227, 227, 227, 227, 229, 229, 229, 229, 230, 230, 230,
- 230, 231, 231, 231, 231, 240, 240, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244,
- 244, 244, 244, 244, 244, 244, 244, 244, 244, 375, 375, 269, 269, 269, 269, 402, 402, 408, 408,
- 403, 403, 404, 404, 405, 405, 405, 405, 405, 405, 405, 405, 405, 405, 270, 271, 272, 272, 273,
- 406, 407, 407, 274, 275, 275, 220, 206, 206, 206, 213, 214, 215, 276, 276, 276, 276, 276, 276,
- 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 277, 277, 277, 277, 277, 277, 277, 277, 277,
- 386, 386, 386, 386, 386, 386, 386, 386, 386, 386, 386, 386, 386, 386, 386, 278, 399, 345, 346,
- 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 387, 388, 389, 390, 391, 392,
- 393, 394, 395, 396, 397, 398, 400, 401, 279, 279, 279, 280, 281, 282, 286, 286, 286, 286, 286,
- 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 287, 362,
- 362, 363, 363, 288, 289, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318,
- 318, 366, 366, 367, 367, 368, 368, 369, 369, 370, 370, 374, 374, 371, 371, 372, 372, 373, 373,
- 319, 319, 320, 321, 321, 321, 322, 322, 322, 325, 325, 325, 323, 323, 323, 324, 324, 324, 330,
- 330, 330, 332, 332, 332, 326, 326, 326, 327, 327, 327, 333, 333, 333, 331, 331, 331, 328, 328,
- 328, 329, 329, 329, 377, 377, 377, 290, 291, 364, 364, 292, 299, 309, 365, 365, 296, 293, 294,
- 295, 297, 298, 300, 301, 302, 303, 304, 305, 306, 307, 308, 446, 446, 444, 442, 443, 443, 445,
- 445, 445, 445, 445, 445, 445, 445, 212, 212, 447, 447, 432, 433, 433, 440, 440, 434, 435, 435,
- 435, 435, 435, 437, 436, 436, 438, 439, 439, 441, 441, 378, 378, 378, 378, 378, 378, 378, 379,
- 380, 381, 382, 383, 384, 385, 283, 283, 284, 285, 234, 234, 245, 245, 246, 376, 376, 247, 248,
- 248, 221, 216, 216, 216, 216, 216, 216, 310, 310, 310, 310, 310, 310, 310, 311, 312, 313, 314,
- 315, 316, 317, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 360, 360, 361, 361, 335, 336,
- 337, 338, 339, 340, 341, 342, 343, 344};
+ 0, 213, 468, 468, 468, 468, 262, 263, 263, 469, 264, 264, 264, 264, 264, 264, 264, 271, 265,
+ 266, 278, 278, 278, 278, 267, 268, 269, 270, 272, 272, 228, 228, 274, 275, 275, 275, 276, 276,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 214, 215, 215, 215, 277, 273, 273,
+ 229, 229, 429, 430, 430, 434, 434, 434, 434, 434, 434, 435, 432, 432, 431, 431, 437, 437, 437,
+ 437, 440, 260, 444, 444, 261, 261, 441, 441, 442, 438, 438, 439, 436, 443, 443, 443, 433, 433,
+ 227, 227, 227, 221, 445, 446, 448, 448, 449, 449, 450, 450, 451, 447, 447, 217, 217, 217, 217,
+ 217, 217, 217, 218, 219, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
+ 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
+ 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220,
+ 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220,
+ 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220,
+ 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220,
+ 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220,
+ 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 245, 245, 245, 245, 245, 245, 245,
+ 245, 245, 245, 246, 259, 247, 248, 249, 251, 252, 253, 233, 234, 235, 236, 238, 242, 243, 237,
+ 237, 237, 237, 239, 239, 239, 239, 240, 240, 240, 240, 241, 241, 241, 241, 250, 250, 254, 254,
+ 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254,
+ 395, 395, 279, 279, 279, 279, 422, 422, 428, 428, 423, 423, 424, 424, 425, 425, 425, 425, 425,
+ 425, 425, 425, 425, 425, 425, 280, 281, 282, 282, 283, 426, 427, 427, 284, 285, 285, 230, 216,
+ 216, 216, 223, 224, 225, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286,
+ 286, 286, 287, 287, 287, 287, 287, 287, 287, 287, 287, 406, 406, 406, 406, 406, 406, 406, 406,
+ 406, 406, 406, 406, 406, 406, 406, 288, 419, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
+ 365, 366, 367, 368, 369, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 420, 421,
+ 289, 289, 289, 290, 291, 292, 370, 370, 370, 370, 370, 370, 370, 370, 371, 372, 373, 381, 381,
+ 374, 375, 376, 377, 377, 377, 378, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
+ 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 297, 382, 382, 383, 383, 298, 299, 328, 328,
+ 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 328, 386, 386, 387, 387, 388, 388,
+ 389, 389, 390, 390, 394, 394, 391, 391, 392, 392, 393, 393, 329, 329, 330, 331, 331, 331, 332,
+ 332, 332, 335, 335, 335, 333, 333, 333, 334, 334, 334, 340, 340, 340, 342, 342, 342, 336, 336,
+ 336, 337, 337, 337, 343, 343, 343, 341, 341, 341, 338, 338, 338, 339, 339, 339, 397, 397, 397,
+ 300, 301, 384, 384, 302, 309, 319, 385, 385, 306, 303, 304, 305, 307, 308, 310, 311, 312, 313,
+ 314, 315, 316, 317, 318, 466, 466, 464, 462, 463, 463, 465, 465, 465, 465, 465, 465, 465, 465,
+ 222, 222, 467, 467, 452, 453, 453, 460, 460, 454, 455, 455, 455, 455, 455, 457, 456, 456, 458,
+ 459, 459, 461, 461, 398, 398, 398, 398, 398, 398, 398, 399, 400, 401, 402, 403, 404, 405, 293,
+ 293, 294, 295, 244, 244, 255, 255, 256, 396, 396, 257, 258, 258, 231, 226, 226, 226, 226, 226,
+ 226, 320, 320, 320, 320, 320, 320, 320, 321, 322, 323, 324, 325, 326, 327, 344, 344, 344, 344,
+ 344, 344, 344, 344, 344, 344, 379, 379, 380, 380, 345, 346, 347, 348, 349, 350, 351, 352, 353,
+ 354};
const signed char ParserGen::yyr2_[] = {
- 0, 2, 2, 2, 2, 2, 3, 0, 4, 1, 1, 1, 1, 1, 1, 1, 1, 5, 3, 7, 1, 1, 1, 1, 2, 2, 2, 4, 0,
- 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 2, 2, 2, 3, 0, 2, 1, 1, 1, 1, 1, 1,
- 2, 1, 3, 0, 2, 1, 1, 1, 1, 2, 3, 0, 2, 1, 1, 2, 2, 2, 2, 5, 5, 5, 1, 1, 1, 0, 2, 1, 1,
- 1, 1, 2, 7, 0, 2, 0, 2, 0, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 4, 5, 4, 4, 3, 3, 1, 1, 3, 0, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 7, 4, 4, 4, 7, 4, 7, 8, 7, 7, 4, 7, 7, 4, 4, 4, 4,
- 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 4, 4, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 0, 2, 0, 2, 11, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 14, 16, 9, 4, 8, 4, 4, 8, 4,
- 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8,
- 4, 4, 8, 4, 0, 1, 2, 8, 8, 0, 2, 8, 8, 8, 0, 2, 7, 4, 4, 4, 11, 11, 7, 4, 4, 7, 8, 8, 8,
- 4, 4, 1, 1, 4, 3, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 0, 2, 2, 2, 1, 1, 1, 1,
- 1, 1, 4, 4, 7, 3, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 6, 6, 4, 8, 8, 4, 8, 1, 1, 6, 6, 1,
- 1, 1, 1, 3, 0, 2, 3, 0, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4,
- 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 0, 2, 11, 4, 4, 4, 4, 4, 4, 4, 4, 4};
-
-
+ 0, 2, 2, 2, 2, 2, 3, 0, 4, 1, 1, 1, 1, 1, 1, 1, 1, 5, 3, 7, 1, 1, 1, 1, 2, 2, 2, 4, 0,
+ 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 2, 2, 2, 3, 0, 2, 1, 1, 1, 1, 1, 1,
+ 2, 1, 3, 0, 2, 1, 1, 1, 1, 2, 3, 0, 2, 1, 1, 2, 2, 2, 2, 5, 5, 5, 1, 1, 1, 0, 2, 1, 1,
+ 1, 1, 2, 7, 0, 2, 0, 2, 0, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 5, 4, 4, 3, 3, 1, 1, 3, 0,
+ 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4,
+ 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 7, 4, 4, 4, 7, 4,
+ 7, 8, 7, 7, 4, 7, 7, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 4, 4, 6, 1, 1,
+ 1, 1, 1, 1, 1, 1, 4, 4, 6, 0, 2, 10, 4, 4, 9, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 0, 2, 0, 2, 11, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 14, 16, 9, 4, 8, 4, 4,
+ 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4, 4, 8, 4,
+ 4, 8, 4, 4, 8, 4, 0, 1, 2, 8, 8, 0, 2, 8, 8, 8, 0, 2, 7, 4, 4, 4, 11, 11, 7, 4, 4, 7, 8,
+ 8, 8, 4, 4, 1, 1, 4, 3, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 0, 2, 2, 2, 1, 1,
+ 1, 1, 1, 1, 4, 4, 7, 3, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 6, 6, 4, 8, 8, 4, 8, 1, 1, 6,
+ 6, 1, 1, 1, 1, 3, 0, 2, 3, 0, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4,
+ 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 2, 0, 2, 11, 4, 4, 4, 4, 4, 4, 4, 4, 4};
+
+
+#if YYDEBUG || 1
// YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
-// First, the terminals, then, starting at \a yyntokens_, nonterminals.
+// First, the terminals, then, starting at \a YYNTOKENS, nonterminals.
const char* const ParserGen::yytname_[] = {"\"EOF\"",
"error",
- "$undefined",
+ "\"invalid token\"",
"ABS",
"ACOS",
"ACOSH",
@@ -9616,8 +10179,12 @@ const char* const ParserGen::yytname_[] = {"\"EOF\"",
"AND",
"\"anyElementTrue\"",
"\"$caseSensitive argument\"",
+ "ARRAY_ELEM_AT",
+ "ARRAY_TO_OBJECT",
+ "\"as argument\"",
"\"chars argument\"",
"\"coll argument\"",
+ "\"cond argument\"",
"\"date argument\"",
"\"dateString argument\"",
"\"day argument\"",
@@ -9658,6 +10225,7 @@ const char* const ParserGen::yytname_[] = {"\"EOF\"",
"CMP",
"COMMENT",
"CONCAT",
+ "CONCAT_ARRAYS",
"CONST_EXPR",
"CONVERT",
"COS",
@@ -9684,6 +10252,8 @@ const char* const ParserGen::yytname_[] = {"\"EOF\"",
"EXISTS",
"EXPONENT",
"EXPR",
+ "FILTER",
+ "FIRST",
"FLOOR",
"\"geoNearDistance\"",
"\"geoNearPoint\"",
@@ -9691,12 +10261,15 @@ const char* const ParserGen::yytname_[] = {"\"EOF\"",
"GTE",
"HOUR",
"ID",
+ "IN",
"\"indexKey\"",
+ "INDEX_OF_ARRAY",
"INDEX_OF_BYTES",
"INDEX_OF_CP",
"\"-1 (int)\"",
"\"1 (int)\"",
"\"zero (int)\"",
+ "IS_ARRAY",
"ISO_DAY_OF_WEEK",
"ISO_WEEK",
"ISO_WEEK_YEAR",
@@ -9965,8 +10538,18 @@ const char* const ParserGen::yytname_[] = {"\"EOF\"",
"sqrt",
"subtract",
"trunc",
+ "arrayExps",
+ "arrayElemAt",
+ "arrayToObject",
+ "concatArrays",
+ "filter",
+ "first",
+ "in",
+ "indexOfArray",
+ "isArray",
"onErrorArg",
"onNullArg",
+ "asArg",
"formatArg",
"timezoneArg",
"charsArg",
@@ -10056,64 +10639,66 @@ const char* const ParserGen::yytname_[] = {"\"EOF\"",
"start",
"START_ORDERED_OBJECT",
YY_NULLPTR};
+#endif
+
#if YYDEBUG
const short ParserGen::yyrline_[] = {
- 0, 405, 405, 408, 411, 414, 421, 427, 428, 436, 439, 439, 439, 439, 439, 439,
- 439, 442, 452, 458, 468, 468, 468, 468, 472, 477, 482, 488, 507, 510, 517, 520,
- 526, 540, 541, 542, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557,
- 560, 563, 566, 569, 572, 575, 578, 581, 584, 587, 590, 593, 596, 599, 602, 605,
- 608, 611, 612, 613, 614, 619, 628, 639, 640, 655, 662, 666, 674, 677, 683, 689,
- 692, 699, 700, 703, 704, 705, 706, 709, 718, 719, 725, 728, 736, 736, 736, 736,
- 740, 746, 752, 753, 760, 760, 764, 773, 783, 789, 794, 803, 813, 821, 822, 823,
- 826, 829, 836, 836, 836, 839, 845, 851, 870, 873, 878, 881, 886, 889, 894, 900,
- 901, 907, 910, 913, 916, 919, 922, 925, 931, 937, 953, 956, 959, 962, 965, 968,
- 971, 974, 977, 980, 983, 986, 989, 992, 995, 998, 1001, 1004, 1007, 1010, 1013, 1016,
- 1019, 1022, 1025, 1028, 1031, 1034, 1037, 1040, 1043, 1051, 1054, 1057, 1060, 1063, 1066, 1069,
- 1072, 1075, 1078, 1081, 1084, 1087, 1090, 1093, 1096, 1099, 1102, 1105, 1108, 1111, 1114, 1117,
- 1120, 1123, 1126, 1129, 1132, 1135, 1138, 1141, 1144, 1147, 1150, 1153, 1156, 1159, 1162, 1165,
- 1168, 1171, 1174, 1177, 1180, 1183, 1186, 1189, 1192, 1195, 1198, 1201, 1204, 1207, 1210, 1213,
- 1216, 1219, 1222, 1225, 1228, 1231, 1234, 1237, 1240, 1243, 1246, 1249, 1252, 1255, 1258, 1261,
- 1264, 1267, 1270, 1273, 1276, 1279, 1282, 1285, 1288, 1291, 1294, 1297, 1300, 1303, 1306, 1309,
- 1312, 1315, 1318, 1321, 1324, 1327, 1330, 1333, 1336, 1339, 1342, 1345, 1352, 1357, 1360, 1363,
- 1366, 1369, 1372, 1375, 1378, 1381, 1387, 1401, 1415, 1421, 1427, 1433, 1439, 1445, 1451, 1457,
- 1463, 1469, 1475, 1481, 1487, 1493, 1496, 1499, 1502, 1508, 1511, 1514, 1517, 1523, 1526, 1529,
- 1532, 1538, 1541, 1544, 1547, 1553, 1556, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570,
- 1571, 1572, 1573, 1574, 1575, 1576, 1577, 1578, 1579, 1580, 1581, 1582, 1589, 1590, 1597, 1597,
- 1597, 1597, 1601, 1601, 1605, 1605, 1609, 1609, 1613, 1613, 1617, 1617, 1617, 1617, 1617, 1617,
- 1617, 1618, 1618, 1618, 1623, 1630, 1636, 1640, 1649, 1656, 1661, 1661, 1666, 1672, 1675, 1682,
- 1689, 1689, 1689, 1693, 1699, 1705, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711,
- 1711, 1711, 1711, 1712, 1712, 1712, 1716, 1719, 1722, 1725, 1728, 1731, 1734, 1737, 1740, 1745,
- 1745, 1745, 1745, 1745, 1745, 1745, 1745, 1745, 1745, 1745, 1745, 1745, 1746, 1746, 1750, 1757,
- 1763, 1768, 1773, 1779, 1784, 1789, 1794, 1800, 1805, 1811, 1820, 1826, 1832, 1837, 1843, 1849,
- 1854, 1859, 1864, 1869, 1874, 1879, 1884, 1889, 1894, 1899, 1904, 1909, 1914, 1920, 1920, 1920,
- 1924, 1931, 1938, 1945, 1945, 1945, 1945, 1945, 1945, 1945, 1946, 1946, 1946, 1946, 1946, 1946,
- 1946, 1946, 1947, 1947, 1947, 1947, 1947, 1947, 1947, 1951, 1961, 1964, 1970, 1973, 1980, 1989,
- 1998, 1998, 1998, 1998, 1998, 1998, 1998, 1998, 1998, 1999, 1999, 1999, 1999, 1999, 1999, 2003,
- 2006, 2012, 2015, 2021, 2024, 2030, 2033, 2039, 2042, 2048, 2051, 2057, 2060, 2066, 2069, 2075,
- 2078, 2084, 2090, 2099, 2107, 2110, 2114, 2120, 2124, 2128, 2134, 2138, 2142, 2148, 2152, 2156,
- 2162, 2166, 2170, 2176, 2180, 2184, 2190, 2194, 2198, 2204, 2208, 2212, 2218, 2222, 2226, 2232,
- 2236, 2240, 2246, 2250, 2254, 2260, 2264, 2268, 2274, 2278, 2282, 2288, 2291, 2294, 2300, 2311,
- 2322, 2325, 2331, 2339, 2347, 2355, 2358, 2363, 2372, 2378, 2384, 2390, 2400, 2410, 2417, 2424,
- 2431, 2439, 2447, 2455, 2463, 2469, 2475, 2478, 2484, 2490, 2495, 2498, 2505, 2508, 2511, 2514,
- 2517, 2520, 2523, 2526, 2531, 2533, 2543, 2545, 2551, 2570, 2573, 2580, 2583, 2589, 2603, 2604,
- 2605, 2606, 2607, 2611, 2617, 2620, 2628, 2635, 2639, 2647, 2650, 2656, 2656, 2656, 2656, 2656,
- 2656, 2657, 2661, 2667, 2673, 2680, 2691, 2702, 2709, 2720, 2720, 2724, 2731, 2738, 2738, 2742,
- 2742, 2746, 2752, 2753, 2760, 2766, 2769, 2776, 2783, 2784, 2785, 2786, 2787, 2788, 2791, 2791,
- 2791, 2791, 2791, 2791, 2791, 2793, 2798, 2803, 2808, 2813, 2818, 2823, 2829, 2830, 2831, 2832,
- 2833, 2834, 2835, 2836, 2837, 2838, 2843, 2846, 2853, 2856, 2862, 2872, 2877, 2882, 2887, 2892,
- 2897, 2902, 2907, 2912};
-
-// Print the state stack on the debug stream.
-void ParserGen::yystack_print_() {
+ 0, 417, 417, 420, 423, 426, 433, 439, 440, 448, 451, 451, 451, 451, 451, 451,
+ 451, 454, 464, 470, 480, 480, 480, 480, 484, 489, 494, 500, 519, 522, 529, 532,
+ 538, 552, 553, 554, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569,
+ 572, 575, 578, 581, 584, 587, 590, 593, 596, 599, 602, 605, 608, 611, 614, 617,
+ 620, 623, 624, 625, 626, 631, 640, 651, 652, 667, 674, 678, 686, 689, 695, 701,
+ 704, 711, 712, 715, 716, 717, 718, 721, 730, 731, 737, 740, 748, 748, 748, 748,
+ 752, 758, 764, 765, 772, 772, 776, 785, 795, 801, 806, 815, 825, 833, 834, 835,
+ 838, 841, 848, 848, 848, 851, 857, 863, 882, 885, 890, 893, 898, 901, 906, 912,
+ 913, 919, 922, 925, 928, 931, 934, 937, 943, 949, 965, 968, 971, 974, 977, 980,
+ 983, 986, 989, 992, 995, 998, 1001, 1004, 1007, 1010, 1013, 1016, 1019, 1022, 1025, 1028,
+ 1031, 1034, 1037, 1040, 1043, 1046, 1049, 1052, 1055, 1058, 1061, 1069, 1072, 1075, 1078, 1081,
+ 1084, 1087, 1090, 1093, 1096, 1099, 1102, 1105, 1108, 1111, 1114, 1117, 1120, 1123, 1126, 1129,
+ 1132, 1135, 1138, 1141, 1144, 1147, 1150, 1153, 1156, 1159, 1162, 1165, 1168, 1171, 1174, 1177,
+ 1180, 1183, 1186, 1189, 1192, 1195, 1198, 1201, 1204, 1207, 1210, 1213, 1216, 1219, 1222, 1225,
+ 1228, 1231, 1234, 1237, 1240, 1243, 1246, 1249, 1252, 1255, 1258, 1261, 1264, 1267, 1270, 1273,
+ 1276, 1279, 1282, 1285, 1288, 1291, 1294, 1297, 1300, 1303, 1306, 1309, 1312, 1315, 1318, 1321,
+ 1324, 1327, 1330, 1333, 1336, 1339, 1342, 1345, 1348, 1351, 1354, 1357, 1360, 1363, 1366, 1369,
+ 1372, 1375, 1378, 1381, 1384, 1387, 1394, 1399, 1402, 1405, 1408, 1411, 1414, 1417, 1420, 1423,
+ 1429, 1443, 1457, 1463, 1469, 1475, 1481, 1487, 1493, 1499, 1505, 1511, 1517, 1523, 1529, 1535,
+ 1538, 1541, 1544, 1550, 1553, 1556, 1559, 1565, 1568, 1571, 1574, 1580, 1583, 1586, 1589, 1595,
+ 1598, 1604, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614, 1615, 1616, 1617, 1618,
+ 1619, 1620, 1621, 1622, 1623, 1624, 1631, 1632, 1639, 1639, 1639, 1639, 1643, 1643, 1647, 1647,
+ 1651, 1651, 1655, 1655, 1659, 1659, 1659, 1659, 1659, 1659, 1659, 1660, 1660, 1660, 1660, 1665,
+ 1672, 1678, 1682, 1691, 1698, 1703, 1703, 1708, 1714, 1717, 1724, 1731, 1731, 1731, 1735, 1741,
+ 1747, 1753, 1753, 1753, 1753, 1753, 1753, 1753, 1753, 1753, 1753, 1753, 1753, 1753, 1754, 1754,
+ 1754, 1758, 1761, 1764, 1767, 1770, 1773, 1776, 1779, 1782, 1787, 1787, 1787, 1787, 1787, 1787,
+ 1787, 1787, 1787, 1787, 1787, 1787, 1787, 1788, 1788, 1792, 1799, 1805, 1810, 1815, 1821, 1826,
+ 1831, 1836, 1842, 1847, 1853, 1862, 1868, 1874, 1879, 1885, 1891, 1896, 1901, 1906, 1911, 1916,
+ 1921, 1926, 1931, 1936, 1941, 1946, 1951, 1956, 1962, 1962, 1962, 1966, 1973, 1980, 1987, 1987,
+ 1987, 1987, 1987, 1987, 1987, 1987, 1991, 1998, 2004, 2011, 2014, 2020, 2027, 2033, 2040, 2045,
+ 2049, 2056, 2062, 2062, 2062, 2062, 2062, 2062, 2062, 2063, 2063, 2063, 2063, 2063, 2063, 2063,
+ 2063, 2064, 2064, 2064, 2064, 2064, 2064, 2064, 2068, 2075, 2078, 2084, 2087, 2094, 2103, 2112,
+ 2112, 2112, 2112, 2112, 2112, 2112, 2112, 2112, 2113, 2113, 2113, 2113, 2113, 2113, 2117, 2120,
+ 2126, 2129, 2135, 2138, 2144, 2147, 2153, 2156, 2162, 2165, 2171, 2174, 2180, 2183, 2189, 2192,
+ 2198, 2204, 2213, 2221, 2224, 2228, 2234, 2238, 2242, 2248, 2252, 2256, 2262, 2266, 2270, 2276,
+ 2280, 2284, 2290, 2294, 2298, 2304, 2308, 2312, 2318, 2322, 2326, 2332, 2336, 2340, 2346, 2350,
+ 2354, 2360, 2364, 2368, 2374, 2378, 2382, 2388, 2392, 2396, 2402, 2405, 2408, 2414, 2425, 2436,
+ 2439, 2445, 2453, 2461, 2469, 2472, 2477, 2486, 2492, 2498, 2504, 2514, 2524, 2531, 2538, 2545,
+ 2553, 2561, 2569, 2577, 2583, 2589, 2592, 2598, 2604, 2609, 2612, 2619, 2622, 2625, 2628, 2631,
+ 2634, 2637, 2640, 2645, 2647, 2657, 2659, 2665, 2684, 2687, 2694, 2697, 2703, 2717, 2718, 2719,
+ 2720, 2721, 2725, 2731, 2734, 2742, 2749, 2753, 2761, 2764, 2770, 2770, 2770, 2770, 2770, 2770,
+ 2771, 2775, 2781, 2787, 2794, 2805, 2816, 2823, 2834, 2834, 2838, 2845, 2852, 2852, 2856, 2856,
+ 2860, 2866, 2867, 2874, 2880, 2883, 2890, 2897, 2898, 2899, 2900, 2901, 2902, 2905, 2905, 2905,
+ 2905, 2905, 2905, 2905, 2907, 2912, 2917, 2922, 2927, 2932, 2937, 2943, 2944, 2945, 2946, 2947,
+ 2948, 2949, 2950, 2951, 2952, 2957, 2960, 2967, 2970, 2976, 2986, 2991, 2996, 3001, 3006, 3011,
+ 3016, 3021, 3026};
+
+void ParserGen::yy_stack_print_() const {
*yycdebug_ << "Stack now";
for (stack_type::const_iterator i = yystack_.begin(), i_end = yystack_.end(); i != i_end; ++i)
*yycdebug_ << ' ' << int(i->state);
*yycdebug_ << '\n';
}
-// Report on the debug stream that the rule \a yyrule is going to be reduced.
-void ParserGen::yy_reduce_print_(int yyrule) {
+void ParserGen::yy_reduce_print_(int yyrule) const {
int yylno = yyrline_[yyrule];
int yynrhs = yyr2_[yyrule];
// Print the symbols being reduced, and their result.
@@ -10125,8 +10710,8 @@ void ParserGen::yy_reduce_print_(int yyrule) {
#endif // YYDEBUG
-#line 57 "src/mongo/db/cst/grammar.yy"
+#line 57 "grammar.yy"
} // namespace mongo
-#line 9675 "src/mongo/db/cst/parser_gen.cpp"
+#line 10172 "parser_gen.cpp"
-#line 2916 "src/mongo/db/cst/grammar.yy"
+#line 3030 "grammar.yy"