chromium/third_party/angle/src/compiler/preprocessor/preprocessor_tab_autogen.cpp

/* A Bison parser, made by GNU Bison 3.8.2.  */

/* Bison implementation for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 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
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

/* C LALR(1) parser skeleton written by Richard Stallman, by
   simplifying the original so-called "semantic" parser.  */

/* 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.  */

/* All symbols defined below should begin with yy or YY, to avoid
   infringing on user name space.  This should be done even for local
   variables, as they might otherwise be expanded by user macros.
   There are some unavoidable exceptions within include files to
   define necessary library symbols; they are noted "INFRINGES ON
   USER NAME SPACE" below.  */

/* Identify Bison output, and Bison version.  */
#define YYBISON

/* Bison version string.  */
#define YYBISON_VERSION

/* Skeleton name.  */
#define YYSKELETON_NAME

/* Pure parsers.  */
#define YYPURE

/* Push parsers.  */
#define YYPUSH

/* Pull parsers.  */
#define YYPULL

/* Substitute the type names.  */
#define YYSTYPE
/* Substitute the variable and function names.  */
#define yyparse
#define yylex
#define yyerror
#define yydebug
#define yynerrs

/* First part of user prologue.  */

// GENERATED FILE - DO NOT EDIT.
// Generated by generate_parser.py from preprocessor.y
//
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// preprocessor.y:
//   Parser for the OpenGL shading language preprocessor.

#if defined(__GNUC__)
// Triggered by the auto-generated pplval variable.
#    if !defined(__clang__) && ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))
#        pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#    else
#        pragma GCC diagnostic ignored "-Wuninitialized"
#    endif
#elif defined(_MSC_VER)
#    pragma warning(disable : 4065 4244 4701 4702)
#endif
#if defined(__clang__)
#    pragma clang diagnostic ignored "-Wunreachable-code"
#    pragma clang diagnostic ignored "-Wunused-but-set-variable"
#endif

#include "ExpressionParser.h"

#if defined(_MSC_VER)
#    include <malloc.h>
#else
#    include <stdlib.h>
#endif

#include <stdint.h>
#include <cassert>
#include <sstream>

#include "DiagnosticsBase.h"
#include "Lexer.h"
#include "Token.h"
#include "common/mathutil.h"

PPSTYPE;
UNSIGNED_TYPE;

#define YYENABLE_NLS
#define YYLTYPE_IS_TRIVIAL
#define YYSTYPE_IS_TRIVIAL
#define YYSTYPE_IS_DECLARED

namespace
{
struct Context
{};
}  // namespace

static int yylex(YYSTYPE *lvalp, Context *context);
static void yyerror(Context *context, const char *reason);

#ifndef YY_CAST
#    ifdef __cplusplus
#define YY_CAST(Type, Val)
#define YY_REINTERPRET_CAST(Type, Val)
#    else
#define YY_CAST
#define YY_REINTERPRET_CAST
#    endif
#endif
#ifndef YY_NULLPTR
#    if defined __cplusplus
#        if 201103L <= __cplusplus
#define YY_NULLPTR
#        else
#define YY_NULLPTR
#        endif
#    else
#define YY_NULLPTR
#    endif
#endif

/* Debug traces.  */
#ifndef PPDEBUG
#    if defined YYDEBUG
#        if YYDEBUG
#define PPDEBUG
#        else
#define PPDEBUG
#        endif
#    else /* ! defined YYDEBUG */
#define PPDEBUG
#    endif /* ! defined YYDEBUG */
#endif     /* ! defined PPDEBUG */
#if PPDEBUG
extern int ppdebug;
#endif

/* Token kinds.  */
#ifndef PPTOKENTYPE
#define PPTOKENTYPE
enum pptokentype
{};
pptoken_kind_t;
#endif

/* Value type.  */
#if !defined PPSTYPE && !defined PPSTYPE_IS_DECLARED
PPSTYPE;
#define PPSTYPE_IS_TRIVIAL
#define PPSTYPE_IS_DECLARED
#endif

int ppparse(Context *context);

/* Symbol kind.  */
enum yysymbol_kind_t
{};
yysymbol_kind_t;

#ifdef short
#    undef short
#endif

/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure
   <limits.h> and (if available) <stdint.h> are included
   so that the code can choose integer types of a good width.  */

#ifndef __PTRDIFF_MAX__
#    include <limits.h> /* INFRINGES ON USER NAME SPACE */
#    if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
#        include <stdint.h> /* INFRINGES ON USER NAME SPACE */
#define YY_STDINT_H
#    endif
#endif

/* Narrow types that promote to a signed type and that can represent a
   signed or unsigned integer of at least N bits.  In tables they can
   save space and decrease cache pressure.  Promoting to a signed type
   helps avoid bugs in integer arithmetic.  */

#ifdef __INT_LEAST8_MAX__
yytype_int8;
#elif defined YY_STDINT_H
typedef int_least8_t yytype_int8;
#else
typedef signed char yytype_int8;
#endif

#ifdef __INT_LEAST16_MAX__
yytype_int16;
#elif defined YY_STDINT_H
typedef int_least16_t yytype_int16;
#else
typedef short yytype_int16;
#endif

/* Work around bug in HP-UX 11.23, which defines these macros
   incorrectly for preprocessor constants.  This workaround can likely
   be removed in 2023, as HPE has promised support for HP-UX 11.23
   (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of
   <https://h20195.www2.hpe.com/V2/getpdf.aspx/4AA4-7673ENW.pdf>.  */
#ifdef __hpux
#    undef UINT_LEAST8_MAX
#    undef UINT_LEAST16_MAX
#define UINT_LEAST8_MAX
#define UINT_LEAST16_MAX
#endif

#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__
yytype_uint8;
#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H && UINT_LEAST8_MAX <= INT_MAX)
typedef uint_least8_t yytype_uint8;
#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX
typedef unsigned char yytype_uint8;
#else
typedef short yytype_uint8;
#endif

#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__
yytype_uint16;
#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H && UINT_LEAST16_MAX <= INT_MAX)
typedef uint_least16_t yytype_uint16;
#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX
typedef unsigned short yytype_uint16;
#else
typedef int yytype_uint16;
#endif

#ifndef YYPTRDIFF_T
#    if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__
#define YYPTRDIFF_T
#define YYPTRDIFF_MAXIMUM
#    elif defined PTRDIFF_MAX
#        ifndef ptrdiff_t
#            include <stddef.h> /* INFRINGES ON USER NAME SPACE */
#        endif
#define YYPTRDIFF_T
#define YYPTRDIFF_MAXIMUM
#    else
#define YYPTRDIFF_T
#define YYPTRDIFF_MAXIMUM
#    endif
#endif

#ifndef YYSIZE_T
#    ifdef __SIZE_TYPE__
#define YYSIZE_T
#    elif defined size_t
#define YYSIZE_T
#    elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
#        include <stddef.h> /* INFRINGES ON USER NAME SPACE */
#define YYSIZE_T
#    else
#define YYSIZE_T
#    endif
#endif

#define YYSIZE_MAXIMUM

#define YYSIZEOF(X)

/* Stored state numbers (used for stacks). */
yy_state_t;

/* State numbers in computations.  */
yy_state_fast_t;

#ifndef YY_
#    if defined YYENABLE_NLS && YYENABLE_NLS
#        if ENABLE_NLS
#            include <libintl.h> /* INFRINGES ON USER NAME SPACE */
#define YY_
#        endif
#    endif
#    ifndef YY_
#define YY_(Msgid)
#    endif
#endif

#ifndef YY_ATTRIBUTE_PURE
#    if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__)
#define YY_ATTRIBUTE_PURE
#    else
#define YY_ATTRIBUTE_PURE
#    endif
#endif

#ifndef YY_ATTRIBUTE_UNUSED
#    if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__)
#define YY_ATTRIBUTE_UNUSED
#    else
#define YY_ATTRIBUTE_UNUSED
#    endif
#endif

/* Suppress unused-variable warnings by "using" E.  */
#if !defined lint || defined __GNUC__
#define YY_USE(E)
#else
#define YY_USE
#endif

/* Suppress an incorrect diagnostic about yylval being uninitialized.  */
#if defined __GNUC__ && !defined __ICC && 406 <= __GNUC__ * 100 + __GNUC_MINOR__
#    if __GNUC__ * 100 + __GNUC_MINOR__ < 407
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
#    else
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
#    endif
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
#else
#define YY_INITIAL_VALUE(Value)
#endif
#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
#endif
#ifndef YY_INITIAL_VALUE
#define YY_INITIAL_VALUE
#endif

#if defined __cplusplus && defined __GNUC__ && !defined __ICC && 6 <= __GNUC__
#define YY_IGNORE_USELESS_CAST_BEGIN
#define YY_IGNORE_USELESS_CAST_END
#endif
#ifndef YY_IGNORE_USELESS_CAST_BEGIN
#define YY_IGNORE_USELESS_CAST_BEGIN
#define YY_IGNORE_USELESS_CAST_END
#endif

#define YY_ASSERT(E)

#if !defined yyoverflow

/* The parser invokes alloca or malloc; define the necessary symbols.  */

#    ifdef YYSTACK_USE_ALLOCA
#        if YYSTACK_USE_ALLOCA
#            ifdef __GNUC__
#define YYSTACK_ALLOC
#            elif defined __BUILTIN_VA_ARG_INCR
#                include <alloca.h> /* INFRINGES ON USER NAME SPACE */
#            elif defined _AIX
#define YYSTACK_ALLOC
#            elif defined _MSC_VER
#                include <malloc.h> /* INFRINGES ON USER NAME SPACE */
#define alloca
#            else
#define YYSTACK_ALLOC
#                if !defined _ALLOCA_H && !defined EXIT_SUCCESS
#                    include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
/* Use EXIT_SUCCESS as a witness for stdlib.h.  */
#                    ifndef EXIT_SUCCESS
#define EXIT_SUCCESS
#                    endif
#                endif
#            endif
#        endif
#    endif

#    ifdef YYSTACK_ALLOC
/* Pacify GCC's 'empty if-body' warning.  */
#define YYSTACK_FREE
#        ifndef YYSTACK_ALLOC_MAXIMUM
/* The OS might guarantee only one guard page at the bottom of the stack,
   and a page size can be as small as 4096 bytes.  So we cannot safely
   invoke alloca (N) if N exceeds 4096.  Use a slightly smaller number
   to allow for a few compiler-allocated temporary stack slots.  */
#define YYSTACK_ALLOC_MAXIMUM
#        endif
#    else
#define YYSTACK_ALLOC
#define YYSTACK_FREE
#        ifndef YYSTACK_ALLOC_MAXIMUM
#define YYSTACK_ALLOC_MAXIMUM
#        endif
#        if (defined __cplusplus && !defined EXIT_SUCCESS && \
             !((defined YYMALLOC || defined malloc) && (defined YYFREE || defined free)))
#            include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
#            ifndef EXIT_SUCCESS
#define EXIT_SUCCESS
#            endif
#        endif
#        ifndef YYMALLOC
#define YYMALLOC
#            if !defined malloc && !defined EXIT_SUCCESS
void *malloc(YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
#            endif
#        endif
#        ifndef YYFREE
#define YYFREE
#            if !defined free && !defined EXIT_SUCCESS
void free(void *);      /* INFRINGES ON USER NAME SPACE */
#            endif
#        endif
#    endif
#endif /* !defined yyoverflow */

#if (!defined yyoverflow && \
     (!defined __cplusplus || (defined PPSTYPE_IS_TRIVIAL && PPSTYPE_IS_TRIVIAL)))

/* A type that is properly aligned for any stack member.  */
yyalloc;

/* The size of the maximum gap between one aligned stack and the next.  */
#define YYSTACK_GAP_MAXIMUM

/* The size of an array large to enough to hold all stacks, each with
   N elements.  */
#define YYSTACK_BYTES(N)

#define YYCOPY_NEEDED

/* Relocate STACK from its old location to the new one.  The
   local variables YYSIZE and YYSTACKSIZE give the old and new number of
   elements in the stack, and YYPTR gives the new location of the
   stack.  Advance YYPTR to a properly aligned location for the next
   stack.  */
#define YYSTACK_RELOCATE

#endif

#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
/* Copy COUNT objects from SRC to DST.  The source and destination do
   not overlap.  */
#    ifndef YYCOPY
#        if defined __GNUC__ && 1 < __GNUC__
#define YYCOPY(Dst, Src, Count)
#        else
#define YYCOPY
#        endif
#    endif
#endif /* !YYCOPY_NEEDED */

/* YYFINAL -- State number of the termination state.  */
#define YYFINAL
/* YYLAST -- Last index in YYTABLE.  */
#define YYLAST

/* YYNTOKENS -- Number of terminals.  */
#define YYNTOKENS
/* YYNNTS -- Number of nonterminals.  */
#define YYNNTS
/* YYNRULES -- Number of rules.  */
#define YYNRULES
/* YYNSTATES -- Number of states.  */
#define YYNSTATES

/* YYMAXUTOK -- Last valid token kind.  */
#define YYMAXUTOK

/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
   as returned by yylex, with out-of-bounds checking.  */
#define YYTRANSLATE(YYX)

/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
   as returned by yylex.  */
static const yytype_int8 yytranslate[] =;

#if PPDEBUG
/* YYRLINE[YYN] -- Source line where rule number YYN was defined.  */
static const yytype_int16 yyrline[] = {0,   114, 114, 121, 122, 133, 133, 154, 154, 175,
                                       178, 181, 184, 187, 190, 193, 196, 199, 202, 227,
                                       249, 252, 255, 281, 308, 311, 314, 317, 329, 332};
#endif

/** Accessing symbol of state STATE.  */
#define YY_ACCESSING_SYMBOL(State)

#if PPDEBUG || 0
/* The user-facing name of the symbol whose (internal) number is
   YYSYMBOL.  No bounds checking.  */
static const char *yysymbol_name(yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED;

/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
   First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
static const char *const yytname[] = {"\"end of file\"",
                                      "error",
                                      "\"invalid token\"",
                                      "TOK_CONST_INT",
                                      "TOK_IDENTIFIER",
                                      "TOK_OP_OR",
                                      "TOK_OP_AND",
                                      "'|'",
                                      "'^'",
                                      "'&'",
                                      "TOK_OP_EQ",
                                      "TOK_OP_NE",
                                      "'<'",
                                      "'>'",
                                      "TOK_OP_LE",
                                      "TOK_OP_GE",
                                      "TOK_OP_LEFT",
                                      "TOK_OP_RIGHT",
                                      "'+'",
                                      "'-'",
                                      "'*'",
                                      "'/'",
                                      "'%'",
                                      "TOK_UNARY",
                                      "'!'",
                                      "'~'",
                                      "'('",
                                      "')'",
                                      "$accept",
                                      "input",
                                      "expression",
                                      "$@1",
                                      "$@2",
                                      YY_NULLPTR};

static const char *yysymbol_name(yysymbol_kind_t yysymbol)
{
    return yytname[yysymbol];
}
#endif

#define YYPACT_NINF

#define yypact_value_is_default(Yyn)

#define YYTABLE_NINF

#define yytable_value_is_error(Yyn)

/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
   STATE-NUM.  */
static const yytype_int16 yypact[] =;

/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
   Performed when YYTABLE does not specify something else to do.  Zero
   means the default is an error.  */
static const yytype_int8 yydefact[] =;

/* YYPGOTO[NTERM-NUM].  */
static const yytype_int8 yypgoto[] =;

/* YYDEFGOTO[NTERM-NUM].  */
static const yytype_int8 yydefgoto[] =;

/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM.  If
   positive, shift that token.  If negative, reduce the rule whose
   number is the opposite.  If YYTABLE_NINF, syntax error.  */
static const yytype_int8 yytable[] =;

static const yytype_int8 yycheck[] =;

/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of
   state STATE-NUM.  */
static const yytype_int8 yystos[] =;

/* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM.  */
static const yytype_int8 yyr1[] =;

/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM.  */
static const yytype_int8 yyr2[] =;

enum
{};

#define yyerrok
#define yyclearin

#define YYACCEPT
#define YYABORT
#define YYERROR
#define YYNOMEM

#define YYRECOVERING()

#define YYBACKUP(Token, Value)

/* Backward compatibility with an undocumented macro.
   Use PPerror or PPUNDEF. */
#define YYERRCODE

/* Enable debugging if requested.  */
#if PPDEBUG

#    ifndef YYFPRINTF
#        include <stdio.h> /* INFRINGES ON USER NAME SPACE */
#define YYFPRINTF
#    endif

#define YYDPRINTF

#define YY_SYMBOL_PRINT

/*-----------------------------------.
| Print this symbol's value on YYO.  |
`-----------------------------------*/

static void yy_symbol_value_print(FILE *yyo,
                                  yysymbol_kind_t yykind,
                                  YYSTYPE const *const yyvaluep,
                                  Context *context)
{
    FILE *yyoutput = yyo;
    YY_USE(yyoutput);
    YY_USE(context);
    if (!yyvaluep)
        return;
    YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
    YY_USE(yykind);
    YY_IGNORE_MAYBE_UNINITIALIZED_END
}

/*---------------------------.
| Print this symbol on YYO.  |
`---------------------------*/

static void yy_symbol_print(FILE *yyo,
                            yysymbol_kind_t yykind,
                            YYSTYPE const *const yyvaluep,
                            Context *context)
{
    YYFPRINTF(yyo, "%s %s (", yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name(yykind));

    yy_symbol_value_print(yyo, yykind, yyvaluep, context);
    YYFPRINTF(yyo, ")");
}

/*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
| TOP (included).                                                   |
`------------------------------------------------------------------*/

static void yy_stack_print(yy_state_t *yybottom, yy_state_t *yytop)
{
    YYFPRINTF(stderr, "Stack now");
    for (; yybottom <= yytop; yybottom++)
    {
        int yybot = *yybottom;
        YYFPRINTF(stderr, " %d", yybot);
    }
    YYFPRINTF(stderr, "\n");
}

#define YY_STACK_PRINT

/*------------------------------------------------.
| Report that the YYRULE is going to be reduced.  |
`------------------------------------------------*/

static void yy_reduce_print(yy_state_t *yyssp, YYSTYPE *yyvsp, int yyrule, Context *context)
{
    int yylno  = yyrline[yyrule];
    int yynrhs = yyr2[yyrule];
    int yyi;
    YYFPRINTF(stderr, "Reducing stack by rule %d (line %d):\n", yyrule - 1, yylno);
    /* The symbols being reduced.  */
    for (yyi = 0; yyi < yynrhs; yyi++)
    {
        YYFPRINTF(stderr, "   $%d = ", yyi + 1);
        yy_symbol_print(stderr, YY_ACCESSING_SYMBOL(+yyssp[yyi + 1 - yynrhs]),
                        &yyvsp[(yyi + 1) - (yynrhs)], context);
        YYFPRINTF(stderr, "\n");
    }
}

#define YY_REDUCE_PRINT

/* Nonzero means print parse trace.  It is left uninitialized so that
   multiple parsers can coexist.  */
int yydebug;
#else /* !PPDEBUG */
#define YYDPRINTF(Args)
#define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
#define YY_STACK_PRINT(Bottom, Top)
#define YY_REDUCE_PRINT(Rule)
#endif /* !PPDEBUG */

/* YYINITDEPTH -- initial size of the parser's stacks.  */
#ifndef YYINITDEPTH
#define YYINITDEPTH
#endif

/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
   if the built-in stack extension method is used).

   Do not make this value too large; the results are undefined if
   YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
   evaluated with infinite-precision integer arithmetic.  */

#ifndef YYMAXDEPTH
#define YYMAXDEPTH
#endif

/*-----------------------------------------------.
| Release the memory associated to this symbol.  |
`-----------------------------------------------*/

static void yydestruct(const char *yymsg,
                       yysymbol_kind_t yykind,
                       YYSTYPE *yyvaluep,
                       Context *context)
{}

/*----------.
| yyparse.  |
`----------*/

int yyparse(Context *context)
{}

int yylex(YYSTYPE *lvalp, Context *context)
{}

void yyerror(Context *context, const char *reason)
{}

namespace angle
{

namespace pp
{

ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics)
    :{}

bool ExpressionParser::parse(Token *token,
                             int *result,
                             bool parsePresetToken,
                             const ErrorSettings &errorSettings,
                             bool *valid)
{}

}  // namespace pp

}  // namespace angle