{"version":3,"sources":["../src/keywords.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0; you may not use this file except in compliance with the Elastic License\n * 2.0.\n */\n\nexport const literalNames = ['TRUE', 'FALSE', 'NULL'];\n\n/**\n * Keywords which appear as options or sub-clauses inside commands.\n */\nexport const optionNames = [\n  'BY',\n  'ON',\n  'WITH',\n  'METADATA',\n\n  // Besides being a command, also a per-aggregation filter in STATS:\n  // `STATS agg(field) WHERE condition`.\n  'WHERE',\n\n  'SCORE',\n  'KEY',\n  'GROUP',\n\n  // Besides being a command, also an option of MMR: `MMR ... ON field LIMIT n`.\n  'LIMIT',\n];\n\n/**\n * Keywords which modify SORT expressions.\n */\nexport const sortModifierNames = ['ASC', 'DESC', 'FIRST', 'LAST', 'NULLS'];\n\n/**\n * Binary expressions with a latin name.\n */\nexport const namedBinaryOperatorNames = ['AND', 'OR', 'IS', 'IN', 'AS', 'LIKE', 'RLIKE'];\n\n/**\n * Unary expressions with a latin name.\n */\nexport const namedUnaryOperatorNames = ['NOT'];\n"],"mappings":";AAOO,IAAM,eAAe,CAAC,QAAQ,SAAS,MAAM;AAK7C,IAAM,cAAc;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA;AAAA,EAIA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA;AAAA,EAGA;AACF;AAKO,IAAM,oBAAoB,CAAC,OAAO,QAAQ,SAAS,QAAQ,OAAO;AAKlE,IAAM,2BAA2B,CAAC,OAAO,MAAM,MAAM,MAAM,MAAM,QAAQ,OAAO;AAKhF,IAAM,0BAA0B,CAAC,KAAK;","names":[]}