From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.151; helo=mga17.intel.com; envelope-from=bob.c.feng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2D257211BB8C6 for ; Thu, 24 Jan 2019 21:05:32 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2019 21:05:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,519,1539673200"; d="scan'208";a="294272675" Received: from shwdepsi1121.ccr.corp.intel.com ([10.239.158.47]) by orsmga005.jf.intel.com with ESMTP; 24 Jan 2019 21:05:29 -0800 From: "Feng, Bob C" To: edk2-devel@lists.01.org Cc: Bob Feng , Liming Gao Date: Fri, 25 Jan 2019 12:56:26 +0800 Message-Id: <20190125045626.14700-34-bob.c.feng@intel.com> X-Mailer: git-send-email 2.20.1.windows.1 In-Reply-To: <20190125045626.14700-1-bob.c.feng@intel.com> References: <20190125045626.14700-1-bob.c.feng@intel.com> MIME-Version: 1.0 Subject: [Patch 33/33] BaseTools: Eot tool Python3 adaption X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2019 05:05:32 -0000 Content-Transfer-Encoding: quoted-printable Eot tool Python3 adaption. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng Cc: Liming Gao --- BaseTools/Source/Python/Eot/{ =3D> CParser3}/CLexer.py | 0 BaseTools/Source/Python/Eot/{ =3D> CParser3}/CParser.py | 0 BaseTools/Source/Python/Eot/CParser3/__init__.py | 0 BaseTools/Source/Python/Eot/CParser4/CLexer.py | 632 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++ BaseTools/Source/Python/Eot/CParser4/CListener.py | 672 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++ BaseTools/Source/Python/Eot/CParser4/CParser.py | 5948 +++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++++ BaseTools/Source/Python/Eot/CParser4/__init__.py | 0 BaseTools/Source/Python/Eot/CodeFragmentCollector.py | 22 ++-- 8 files changed, 7266 insertions(+), 8 deletions(-) diff --git a/BaseTools/Source/Python/Eot/CLexer.py b/BaseTools/Source/Pytho= n/Eot/CParser3/CLexer.py similarity index 100% rename from BaseTools/Source/Python/Eot/CLexer.py rename to BaseTools/Source/Python/Eot/CParser3/CLexer.py diff --git a/BaseTools/Source/Python/Eot/CParser.py b/BaseTools/Source/Pyth= on/Eot/CParser3/CParser.py similarity index 100% rename from BaseTools/Source/Python/Eot/CParser.py rename to BaseTools/Source/Python/Eot/CParser3/CParser.py diff --git a/BaseTools/Source/Python/Eot/CParser3/__init__.py b/BaseTools/S= ource/Python/Eot/CParser3/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/BaseTools/Source/Python/Eot/CParser4/CLexer.py b/BaseTools/Sou= rce/Python/Eot/CParser4/CLexer.py new file mode 100644 index 0000000000..bcc1403e81 --- /dev/null +++ b/BaseTools/Source/Python/Eot/CParser4/CLexer.py @@ -0,0 +1,632 @@ +# Generated from C.g4 by ANTLR 4.7.1=0D +from antlr4 import *=0D +from io import StringIO=0D +from typing.io import TextIO=0D +import sys=0D +=0D +=0D +## @file=0D +# The file defines the parser for C source files.=0D +#=0D +# THIS FILE IS AUTO-GENENERATED. PLEASE DON NOT MODIFY THIS FILE.=0D +# This file is generated by running:=0D +# java org.antlr.Tool C.g=0D +#=0D +# Copyright (c) 2009 - 2010, Intel Corporation All rights reserved.=0D +#=0D +# This program and the accompanying materials are licensed and made availa= ble=0D +# under the terms and conditions of the BSD License which accompanies this= =0D +# distribution. The full text of the license may be found at:=0D +# http://opensource.org/licenses/bsd-license.php=0D +#=0D +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D +#=0D +##=0D +=0D +import Ecc.CodeFragment as CodeFragment=0D +import Ecc.FileProfile as FileProfile=0D +=0D +=0D +def serializedATN():=0D + with StringIO() as buf:=0D + buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2k")= =0D + buf.write("\u0383\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7"= )=0D + buf.write("\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4\r\t\r"= )=0D + buf.write("\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22\4\23= ")=0D + buf.write("\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30= ")=0D + buf.write("\4\31\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36= ")=0D + buf.write("\t\36\4\37\t\37\4 \t \4!\t!\4\"\t\"\4#\t#\4$\t$\4%\t%")= =0D + buf.write("\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4,\t,\4-\t-\4.")= =0D + buf.write("\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64"= )=0D + buf.write("\t\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:")= =0D + buf.write("\4;\t;\4<\t<\4=3D\t=3D\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C= \t")=0D + buf.write("C\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I\tI\4J\tJ\4K\tK\4L\t"= )=0D + buf.write("L\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT\4U\t"= )=0D + buf.write("U\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4")= =0D + buf.write("^\t^\4_\t_\4`\t`\4a\ta\4b\tb\4c\tc\4d\td\4e\te\4f\tf\4"= )=0D + buf.write("g\tg\4h\th\4i\ti\4j\tj\4k\tk\4l\tl\4m\tm\4n\tn\4o\to\4"= )=0D + buf.write("p\tp\4q\tq\4r\tr\3\2\3\2\3\3\3\3\3\4\3\4\3\4\3\4\3\4\3"= )=0D + buf.write("\4\3\4\3\4\3\5\3\5\3\6\3\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7"= )=0D + buf.write("\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\n\3"= )=0D + buf.write("\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\13\3\13\3\13\3\13\3\13= ")=0D + buf.write("\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\16= ")=0D + buf.write("\3\16\3\16\3\16\3\16\3\16\3\17\3\17\3\17\3\17\3\20\3\20= ")=0D + buf.write("\3\20\3\20\3\20\3\21\3\21\3\21\3\21\3\21\3\21\3\22\3\22= ")=0D + buf.write("\3\22\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\23\3\23= ")=0D + buf.write("\3\23\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\25= ")=0D + buf.write("\3\25\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3\27= ")=0D + buf.write("\3\27\3\27\3\27\3\30\3\30\3\31\3\31\3\31\3\31\3\31\3\32= ")=0D + buf.write("\3\32\3\32\3\32\3\32\3\32\3\33\3\33\3\33\3\33\3\33\3\33= ")=0D + buf.write("\3\33\3\33\3\33\3\34\3\34\3\34\3\35\3\35\3\35\3\35\3\36= ")=0D + buf.write("\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\37\3\37\3\37= ")=0D + buf.write("\3\37\3\37\3\37\3 \3 \3 \3 \3 \3 \3 \3 \3 \3 \3!\3!\3")= =0D + buf.write("!\3!\3!\3!\3!\3!\3!\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3")= =0D + buf.write("\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\""= )=0D + buf.write("\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3#\3#\3#\3#\3#\3#\3#")= =0D + buf.write("\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3$\3%\3")= =0D + buf.write("%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3%\3"= )=0D + buf.write("&\3&\3&\3&\3&\3&\3&\3\'\3\'\3(\3(\3)\3)\3*\3*\3+\3+\3")= =0D + buf.write(",\3,\3,\3,\3-\3-\3.\3.\3/\3/\3\60\3\60\3\61\3\61\3\61")= =0D + buf.write("\3\62\3\62\3\62\3\63\3\63\3\63\3\63\3\63\3\63\3\63\3\64= ")=0D + buf.write("\3\64\3\65\3\65\3\65\3\66\3\66\3\67\3\67\38\38\39\39\3"= )=0D + buf.write("9\3:\3:\3:\3;\3;\3;\3<\3<\3<\3=3D\3=3D\3=3D\3>\3>\3>\3>= \3?\3")=0D + buf.write("?\3?\3?\3@\3@\3@\3A\3A\3A\3B\3B\3B\3C\3C\3D\3D\3D\3E\3"= )=0D + buf.write("E\3E\3F\3F\3G\3G\3H\3H\3H\3I\3I\3I\3J\3J\3K\3K\3L\3L\3"= )=0D + buf.write("L\3M\3M\3M\3N\3N\3N\3O\3O\3O\3P\3P\3P\3P\3P\3P\3P\3P\3"= )=0D + buf.write("Q\3Q\3Q\3Q\3Q\3R\3R\3R\3R\3R\3R\3S\3S\3S\3S\3S\3T\3T\3"= )=0D + buf.write("T\3T\3T\3T\3T\3T\3U\3U\3U\3V\3V\3V\3V\3V\3W\3W\3W\3W\3"= )=0D + buf.write("W\3W\3W\3X\3X\3X\3X\3X\3X\3Y\3Y\3Y\3Z\3Z\3Z\3Z\3Z\3[\3"= )=0D + buf.write("[\3[\3[\3[\3[\3[\3[\3[\3\\\3\\\3\\\3\\\3\\\3\\\3]\3]\3"= )=0D + buf.write("]\3]\3]\3]\3]\3^\3^\3^\7^\u02b2\n^\f^\16^\u02b5\13^\3")= =0D + buf.write("_\3_\3`\5`\u02ba\n`\3`\3`\3`\5`\u02bf\n`\3`\3`\3a\5a\u0= 2c4")=0D + buf.write("\na\3a\3a\3a\7a\u02c9\na\fa\16a\u02cc\13a\3a\3a\3b\3b")= =0D + buf.write("\3b\6b\u02d3\nb\rb\16b\u02d4\3b\5b\u02d8\nb\3c\3c\3c\7"= )=0D + buf.write("c\u02dd\nc\fc\16c\u02e0\13c\5c\u02e2\nc\3c\5c\u02e5\n")= =0D + buf.write("c\3d\3d\6d\u02e9\nd\rd\16d\u02ea\3d\5d\u02ee\nd\3e\3e")= =0D + buf.write("\3f\3f\3f\3f\3f\3f\5f\u02f8\nf\3g\6g\u02fb\ng\rg\16g\u0= 2fc")=0D + buf.write("\3g\3g\7g\u0301\ng\fg\16g\u0304\13g\3g\5g\u0307\ng\3g")= =0D + buf.write("\5g\u030a\ng\3g\3g\6g\u030e\ng\rg\16g\u030f\3g\5g\u0313= ")=0D + buf.write("\ng\3g\5g\u0316\ng\3g\6g\u0319\ng\rg\16g\u031a\3g\3g\5"= )=0D + buf.write("g\u031f\ng\3g\6g\u0322\ng\rg\16g\u0323\3g\5g\u0327\ng")= =0D + buf.write("\3g\5g\u032a\ng\3h\3h\5h\u032e\nh\3h\6h\u0331\nh\rh\16"= )=0D + buf.write("h\u0332\3i\3i\3j\3j\3j\5j\u033a\nj\3k\3k\3k\3k\3k\3k\3"= )=0D + buf.write("k\3k\3k\5k\u0345\nk\3l\3l\3l\3l\3l\3l\3l\3m\3m\3m\3m\3"= )=0D + buf.write("n\3n\3n\3n\3o\3o\3p\3p\3p\3p\7p\u035c\np\fp\16p\u035f")= =0D + buf.write("\13p\3p\3p\3p\3p\3p\3q\3q\3q\3q\7q\u036a\nq\fq\16q\u036= d")=0D + buf.write("\13q\3q\5q\u0370\nq\3q\3q\3q\3q\3r\3r\7r\u0378\nr\fr\16= ")=0D + buf.write("r\u037b\13r\3r\5r\u037e\nr\3r\3r\3r\3r\3\u035d\2s\3\3")= =0D + buf.write("\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16")= =0D + buf.write("\33\17\35\20\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61"= )=0D + buf.write("\32\63\33\65\34\67\359\36;\37=3D ?!A\"C#E$G%I&K\'M(O)Q*= ")=0D + buf.write("S+U,W-Y.[/]\60_\61a\62c\63e\64g\65i\66k\67m8o9q:s;u{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089F\u008b= ")=0D + buf.write("G\u008dH\u008fI\u0091J\u0093K\u0095L\u0097M\u0099N\u009= b")=0D + buf.write("O\u009dP\u009fQ\u00a1R\u00a3S\u00a5T\u00a7U\u00a9V\u00a= b")=0D + buf.write("W\u00adX\u00afY\u00b1Z\u00b3[\u00b5\\\u00b7]\u00b9^\u00= bb")=0D + buf.write("_\u00bd\2\u00bf`\u00c1a\u00c3b\u00c5c\u00c7d\u00c9\2\u0= 0cb")=0D + buf.write("\2\u00cde\u00cf\2\u00d1\2\u00d3\2\u00d5\2\u00d7\2\u00d9= ")=0D + buf.write("f\u00dbg\u00ddh\u00dfi\u00e1j\u00e3k\3\2\20\6\2&&C\\a")= =0D + buf.write("ac|\4\2))^^\4\2$$^^\4\2ZZzz\5\2\62;CHch\6\2NNWWnnww\4")= =0D + buf.write("\2WWww\4\2NNnn\4\2GGgg\4\2--//\6\2FFHHffhh\t\2))^^ddh")= =0D + buf.write("hppttvv\5\2\13\f\16\17\"\"\4\2\f\f\17\17\2\u03a2\2\3\3"= )=0D + buf.write("\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2")= =0D + buf.write("\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2")= =0D + buf.write("\2\25\3\2\2\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2"= )=0D + buf.write("\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2\2\2%\3\2")= =0D + buf.write("\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3"= )=0D + buf.write("\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2"= )=0D + buf.write("\2\2\29\3\2\2\2\2;\3\2\2\2\2=3D\3\2\2\2\2?\3\2\2\2\2A\3= ")=0D + buf.write("\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2\2\2I\3\2\2\2\2K")= =0D + buf.write("\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3\2\2\2\2"= )=0D + buf.write("U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2[\3\2\2\2\2]\3\2\2\2")= =0D + buf.write("\2_\3\2\2\2\2a\3\2\2\2\2c\3\2\2\2\2e\3\2\2\2\2g\3\2\2")= =0D + buf.write("\2\2i\3\2\2\2\2k\3\2\2\2\2m\3\2\2\2\2o\3\2\2\2\2q\3\2")= =0D + buf.write("\2\2\2s\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2y\3\2\2\2\2{\3")= =0D + buf.write("\2\2\2\2}\3\2\2\2\2\177\3\2\2\2\2\u0081\3\2\2\2\2\u0083= ")=0D + buf.write("\3\2\2\2\2\u0085\3\2\2\2\2\u0087\3\2\2\2\2\u0089\3\2\2"= )=0D + buf.write("\2\2\u008b\3\2\2\2\2\u008d\3\2\2\2\2\u008f\3\2\2\2\2\u0= 091")=0D + buf.write("\3\2\2\2\2\u0093\3\2\2\2\2\u0095\3\2\2\2\2\u0097\3\2\2"= )=0D + buf.write("\2\2\u0099\3\2\2\2\2\u009b\3\2\2\2\2\u009d\3\2\2\2\2\u0= 09f")=0D + buf.write("\3\2\2\2\2\u00a1\3\2\2\2\2\u00a3\3\2\2\2\2\u00a5\3\2\2"= )=0D + buf.write("\2\2\u00a7\3\2\2\2\2\u00a9\3\2\2\2\2\u00ab\3\2\2\2\2\u0= 0ad")=0D + buf.write("\3\2\2\2\2\u00af\3\2\2\2\2\u00b1\3\2\2\2\2\u00b3\3\2\2"= )=0D + buf.write("\2\2\u00b5\3\2\2\2\2\u00b7\3\2\2\2\2\u00b9\3\2\2\2\2\u0= 0bb")=0D + buf.write("\3\2\2\2\2\u00bf\3\2\2\2\2\u00c1\3\2\2\2\2\u00c3\3\2\2"= )=0D + buf.write("\2\2\u00c5\3\2\2\2\2\u00c7\3\2\2\2\2\u00cd\3\2\2\2\2\u0= 0d9")=0D + buf.write("\3\2\2\2\2\u00db\3\2\2\2\2\u00dd\3\2\2\2\2\u00df\3\2\2"= )=0D + buf.write("\2\2\u00e1\3\2\2\2\2\u00e3\3\2\2\2\3\u00e5\3\2\2\2\5\u0= 0e7")=0D + buf.write("\3\2\2\2\7\u00e9\3\2\2\2\t\u00f1\3\2\2\2\13\u00f3\3\2")= =0D + buf.write("\2\2\r\u00f5\3\2\2\2\17\u00fc\3\2\2\2\21\u0103\3\2\2\2"= )=0D + buf.write("\23\u0108\3\2\2\2\25\u0111\3\2\2\2\27\u0118\3\2\2\2\31"= )=0D + buf.write("\u011d\3\2\2\2\33\u0122\3\2\2\2\35\u0128\3\2\2\2\37\u01= 2c")=0D + buf.write("\3\2\2\2!\u0131\3\2\2\2#\u0137\3\2\2\2%\u013e\3\2\2\2")= =0D + buf.write("\'\u0145\3\2\2\2)\u014e\3\2\2\2+\u0150\3\2\2\2-\u0157")= =0D + buf.write("\3\2\2\2/\u015d\3\2\2\2\61\u015f\3\2\2\2\63\u0164\3\2")= =0D + buf.write("\2\2\65\u016a\3\2\2\2\67\u0173\3\2\2\29\u0176\3\2\2\2")= =0D + buf.write(";\u017a\3\2\2\2=3D\u0183\3\2\2\2?\u0189\3\2\2\2A\u0193\= 3")=0D + buf.write("\2\2\2C\u019c\3\2\2\2E\u01ba\3\2\2\2G\u01c1\3\2\2\2I\u0= 1d1")=0D + buf.write("\3\2\2\2K\u01e4\3\2\2\2M\u01eb\3\2\2\2O\u01ed\3\2\2\2")= =0D + buf.write("Q\u01ef\3\2\2\2S\u01f1\3\2\2\2U\u01f3\3\2\2\2W\u01f5\3"= )=0D + buf.write("\2\2\2Y\u01f9\3\2\2\2[\u01fb\3\2\2\2]\u01fd\3\2\2\2_\u0= 1ff")=0D + buf.write("\3\2\2\2a\u0201\3\2\2\2c\u0204\3\2\2\2e\u0207\3\2\2\2")= =0D + buf.write("g\u020e\3\2\2\2i\u0210\3\2\2\2k\u0213\3\2\2\2m\u0215\3"= )=0D + buf.write("\2\2\2o\u0217\3\2\2\2q\u0219\3\2\2\2s\u021c\3\2\2\2u\u0= 21f")=0D + buf.write("\3\2\2\2w\u0222\3\2\2\2y\u0225\3\2\2\2{\u0228\3\2\2\2")= =0D + buf.write("}\u022c\3\2\2\2\177\u0230\3\2\2\2\u0081\u0233\3\2\2\2")= =0D + buf.write("\u0083\u0236\3\2\2\2\u0085\u0239\3\2\2\2\u0087\u023b\3"= )=0D + buf.write("\2\2\2\u0089\u023e\3\2\2\2\u008b\u0241\3\2\2\2\u008d\u0= 243")=0D + buf.write("\3\2\2\2\u008f\u0245\3\2\2\2\u0091\u0248\3\2\2\2\u0093"= )=0D + buf.write("\u024b\3\2\2\2\u0095\u024d\3\2\2\2\u0097\u024f\3\2\2\2"= )=0D + buf.write("\u0099\u0252\3\2\2\2\u009b\u0255\3\2\2\2\u009d\u0258\3"= )=0D + buf.write("\2\2\2\u009f\u025b\3\2\2\2\u00a1\u0263\3\2\2\2\u00a3\u0= 268")=0D + buf.write("\3\2\2\2\u00a5\u026e\3\2\2\2\u00a7\u0273\3\2\2\2\u00a9"= )=0D + buf.write("\u027b\3\2\2\2\u00ab\u027e\3\2\2\2\u00ad\u0283\3\2\2\2"= )=0D + buf.write("\u00af\u028a\3\2\2\2\u00b1\u0290\3\2\2\2\u00b3\u0293\3"= )=0D + buf.write("\2\2\2\u00b5\u0298\3\2\2\2\u00b7\u02a1\3\2\2\2\u00b9\u0= 2a7")=0D + buf.write("\3\2\2\2\u00bb\u02ae\3\2\2\2\u00bd\u02b6\3\2\2\2\u00bf"= )=0D + buf.write("\u02b9\3\2\2\2\u00c1\u02c3\3\2\2\2\u00c3\u02cf\3\2\2\2"= )=0D + buf.write("\u00c5\u02e1\3\2\2\2\u00c7\u02e6\3\2\2\2\u00c9\u02ef\3"= )=0D + buf.write("\2\2\2\u00cb\u02f7\3\2\2\2\u00cd\u0329\3\2\2\2\u00cf\u0= 32b")=0D + buf.write("\3\2\2\2\u00d1\u0334\3\2\2\2\u00d3\u0339\3\2\2\2\u00d5"= )=0D + buf.write("\u0344\3\2\2\2\u00d7\u0346\3\2\2\2\u00d9\u034d\3\2\2\2"= )=0D + buf.write("\u00db\u0351\3\2\2\2\u00dd\u0355\3\2\2\2\u00df\u0357\3"= )=0D + buf.write("\2\2\2\u00e1\u0365\3\2\2\2\u00e3\u0375\3\2\2\2\u00e5\u0= 0e6")=0D + buf.write("\7}\2\2\u00e6\4\3\2\2\2\u00e7\u00e8\7=3D\2\2\u00e8\6\3\= 2")=0D + buf.write("\2\2\u00e9\u00ea\7v\2\2\u00ea\u00eb\7{\2\2\u00eb\u00ec"= )=0D + buf.write("\7r\2\2\u00ec\u00ed\7g\2\2\u00ed\u00ee\7f\2\2\u00ee\u00= ef")=0D + buf.write("\7g\2\2\u00ef\u00f0\7h\2\2\u00f0\b\3\2\2\2\u00f1\u00f2"= )=0D + buf.write("\7.\2\2\u00f2\n\3\2\2\2\u00f3\u00f4\7?\2\2\u00f4\f\3\2"= )=0D + buf.write("\2\2\u00f5\u00f6\7g\2\2\u00f6\u00f7\7z\2\2\u00f7\u00f8"= )=0D + buf.write("\7v\2\2\u00f8\u00f9\7g\2\2\u00f9\u00fa\7t\2\2\u00fa\u00= fb")=0D + buf.write("\7p\2\2\u00fb\16\3\2\2\2\u00fc\u00fd\7u\2\2\u00fd\u00fe= ")=0D + buf.write("\7v\2\2\u00fe\u00ff\7c\2\2\u00ff\u0100\7v\2\2\u0100\u01= 01")=0D + buf.write("\7k\2\2\u0101\u0102\7e\2\2\u0102\20\3\2\2\2\u0103\u0104= ")=0D + buf.write("\7c\2\2\u0104\u0105\7w\2\2\u0105\u0106\7v\2\2\u0106\u01= 07")=0D + buf.write("\7q\2\2\u0107\22\3\2\2\2\u0108\u0109\7t\2\2\u0109\u010a= ")=0D + buf.write("\7g\2\2\u010a\u010b\7i\2\2\u010b\u010c\7k\2\2\u010c\u01= 0d")=0D + buf.write("\7u\2\2\u010d\u010e\7v\2\2\u010e\u010f\7g\2\2\u010f\u01= 10")=0D + buf.write("\7t\2\2\u0110\24\3\2\2\2\u0111\u0112\7U\2\2\u0112\u0113= ")=0D + buf.write("\7V\2\2\u0113\u0114\7C\2\2\u0114\u0115\7V\2\2\u0115\u01= 16")=0D + buf.write("\7K\2\2\u0116\u0117\7E\2\2\u0117\26\3\2\2\2\u0118\u0119= ")=0D + buf.write("\7x\2\2\u0119\u011a\7q\2\2\u011a\u011b\7k\2\2\u011b\u01= 1c")=0D + buf.write("\7f\2\2\u011c\30\3\2\2\2\u011d\u011e\7e\2\2\u011e\u011f= ")=0D + buf.write("\7j\2\2\u011f\u0120\7c\2\2\u0120\u0121\7t\2\2\u0121\32"= )=0D + buf.write("\3\2\2\2\u0122\u0123\7u\2\2\u0123\u0124\7j\2\2\u0124\u0= 125")=0D + buf.write("\7q\2\2\u0125\u0126\7t\2\2\u0126\u0127\7v\2\2\u0127\34"= )=0D + buf.write("\3\2\2\2\u0128\u0129\7k\2\2\u0129\u012a\7p\2\2\u012a\u0= 12b")=0D + buf.write("\7v\2\2\u012b\36\3\2\2\2\u012c\u012d\7n\2\2\u012d\u012e= ")=0D + buf.write("\7q\2\2\u012e\u012f\7p\2\2\u012f\u0130\7i\2\2\u0130 \3"= )=0D + buf.write("\2\2\2\u0131\u0132\7h\2\2\u0132\u0133\7n\2\2\u0133\u013= 4")=0D + buf.write("\7q\2\2\u0134\u0135\7c\2\2\u0135\u0136\7v\2\2\u0136\"")= =0D + buf.write("\3\2\2\2\u0137\u0138\7f\2\2\u0138\u0139\7q\2\2\u0139\u0= 13a")=0D + buf.write("\7w\2\2\u013a\u013b\7d\2\2\u013b\u013c\7n\2\2\u013c\u01= 3d")=0D + buf.write("\7g\2\2\u013d$\3\2\2\2\u013e\u013f\7u\2\2\u013f\u0140")= =0D + buf.write("\7k\2\2\u0140\u0141\7i\2\2\u0141\u0142\7p\2\2\u0142\u01= 43")=0D + buf.write("\7g\2\2\u0143\u0144\7f\2\2\u0144&\3\2\2\2\u0145\u0146")= =0D + buf.write("\7w\2\2\u0146\u0147\7p\2\2\u0147\u0148\7u\2\2\u0148\u01= 49")=0D + buf.write("\7k\2\2\u0149\u014a\7i\2\2\u014a\u014b\7p\2\2\u014b\u01= 4c")=0D + buf.write("\7g\2\2\u014c\u014d\7f\2\2\u014d(\3\2\2\2\u014e\u014f")= =0D + buf.write("\7\177\2\2\u014f*\3\2\2\2\u0150\u0151\7u\2\2\u0151\u015= 2")=0D + buf.write("\7v\2\2\u0152\u0153\7t\2\2\u0153\u0154\7w\2\2\u0154\u01= 55")=0D + buf.write("\7e\2\2\u0155\u0156\7v\2\2\u0156,\3\2\2\2\u0157\u0158")= =0D + buf.write("\7w\2\2\u0158\u0159\7p\2\2\u0159\u015a\7k\2\2\u015a\u01= 5b")=0D + buf.write("\7q\2\2\u015b\u015c\7p\2\2\u015c.\3\2\2\2\u015d\u015e")= =0D + buf.write("\7<\2\2\u015e\60\3\2\2\2\u015f\u0160\7g\2\2\u0160\u0161= ")=0D + buf.write("\7p\2\2\u0161\u0162\7w\2\2\u0162\u0163\7o\2\2\u0163\62"= )=0D + buf.write("\3\2\2\2\u0164\u0165\7e\2\2\u0165\u0166\7q\2\2\u0166\u0= 167")=0D + buf.write("\7p\2\2\u0167\u0168\7u\2\2\u0168\u0169\7v\2\2\u0169\64"= )=0D + buf.write("\3\2\2\2\u016a\u016b\7x\2\2\u016b\u016c\7q\2\2\u016c\u0= 16d")=0D + buf.write("\7n\2\2\u016d\u016e\7c\2\2\u016e\u016f\7v\2\2\u016f\u01= 70")=0D + buf.write("\7k\2\2\u0170\u0171\7n\2\2\u0171\u0172\7g\2\2\u0172\66"= )=0D + buf.write("\3\2\2\2\u0173\u0174\7K\2\2\u0174\u0175\7P\2\2\u01758")= =0D + buf.write("\3\2\2\2\u0176\u0177\7Q\2\2\u0177\u0178\7W\2\2\u0178\u0= 179")=0D + buf.write("\7V\2\2\u0179:\3\2\2\2\u017a\u017b\7Q\2\2\u017b\u017c")= =0D + buf.write("\7R\2\2\u017c\u017d\7V\2\2\u017d\u017e\7K\2\2\u017e\u01= 7f")=0D + buf.write("\7Q\2\2\u017f\u0180\7P\2\2\u0180\u0181\7C\2\2\u0181\u01= 82")=0D + buf.write("\7N\2\2\u0182<\3\2\2\2\u0183\u0184\7E\2\2\u0184\u0185")= =0D + buf.write("\7Q\2\2\u0185\u0186\7P\2\2\u0186\u0187\7U\2\2\u0187\u01= 88")=0D + buf.write("\7V\2\2\u0188>\3\2\2\2\u0189\u018a\7W\2\2\u018a\u018b")= =0D + buf.write("\7P\2\2\u018b\u018c\7C\2\2\u018c\u018d\7N\2\2\u018d\u01= 8e")=0D + buf.write("\7K\2\2\u018e\u018f\7I\2\2\u018f\u0190\7P\2\2\u0190\u01= 91")=0D + buf.write("\7G\2\2\u0191\u0192\7F\2\2\u0192@\3\2\2\2\u0193\u0194")= =0D + buf.write("\7X\2\2\u0194\u0195\7Q\2\2\u0195\u0196\7N\2\2\u0196\u01= 97")=0D + buf.write("\7C\2\2\u0197\u0198\7V\2\2\u0198\u0199\7K\2\2\u0199\u01= 9a")=0D + buf.write("\7N\2\2\u019a\u019b\7G\2\2\u019bB\3\2\2\2\u019c\u019d")= =0D + buf.write("\7I\2\2\u019d\u019e\7N\2\2\u019e\u019f\7Q\2\2\u019f\u01= a0")=0D + buf.write("\7D\2\2\u01a0\u01a1\7C\2\2\u01a1\u01a2\7N\2\2\u01a2\u01= a3")=0D + buf.write("\7a\2\2\u01a3\u01a4\7T\2\2\u01a4\u01a5\7G\2\2\u01a5\u01= a6")=0D + buf.write("\7O\2\2\u01a6\u01a7\7Q\2\2\u01a7\u01a8\7X\2\2\u01a8\u01= a9")=0D + buf.write("\7G\2\2\u01a9\u01aa\7a\2\2\u01aa\u01ab\7K\2\2\u01ab\u01= ac")=0D + buf.write("\7H\2\2\u01ac\u01ad\7a\2\2\u01ad\u01ae\7W\2\2\u01ae\u01= af")=0D + buf.write("\7P\2\2\u01af\u01b0\7T\2\2\u01b0\u01b1\7G\2\2\u01b1\u01= b2")=0D + buf.write("\7H\2\2\u01b2\u01b3\7G\2\2\u01b3\u01b4\7T\2\2\u01b4\u01= b5")=0D + buf.write("\7G\2\2\u01b5\u01b6\7P\2\2\u01b6\u01b7\7E\2\2\u01b7\u01= b8")=0D + buf.write("\7G\2\2\u01b8\u01b9\7F\2\2\u01b9D\3\2\2\2\u01ba\u01bb")= =0D + buf.write("\7G\2\2\u01bb\u01bc\7H\2\2\u01bc\u01bd\7K\2\2\u01bd\u01= be")=0D + buf.write("\7C\2\2\u01be\u01bf\7R\2\2\u01bf\u01c0\7K\2\2\u01c0F\3"= )=0D + buf.write("\2\2\2\u01c1\u01c2\7G\2\2\u01c2\u01c3\7H\2\2\u01c3\u01c= 4")=0D + buf.write("\7K\2\2\u01c4\u01c5\7a\2\2\u01c5\u01c6\7D\2\2\u01c6\u01= c7")=0D + buf.write("\7Q\2\2\u01c7\u01c8\7Q\2\2\u01c8\u01c9\7V\2\2\u01c9\u01= ca")=0D + buf.write("\7U\2\2\u01ca\u01cb\7G\2\2\u01cb\u01cc\7T\2\2\u01cc\u01= cd")=0D + buf.write("\7X\2\2\u01cd\u01ce\7K\2\2\u01ce\u01cf\7E\2\2\u01cf\u01= d0")=0D + buf.write("\7G\2\2\u01d0H\3\2\2\2\u01d1\u01d2\7G\2\2\u01d2\u01d3")= =0D + buf.write("\7H\2\2\u01d3\u01d4\7K\2\2\u01d4\u01d5\7a\2\2\u01d5\u01= d6")=0D + buf.write("\7T\2\2\u01d6\u01d7\7W\2\2\u01d7\u01d8\7P\2\2\u01d8\u01= d9")=0D + buf.write("\7V\2\2\u01d9\u01da\7K\2\2\u01da\u01db\7O\2\2\u01db\u01= dc")=0D + buf.write("\7G\2\2\u01dc\u01dd\7U\2\2\u01dd\u01de\7G\2\2\u01de\u01= df")=0D + buf.write("\7T\2\2\u01df\u01e0\7X\2\2\u01e0\u01e1\7K\2\2\u01e1\u01= e2")=0D + buf.write("\7E\2\2\u01e2\u01e3\7G\2\2\u01e3J\3\2\2\2\u01e4\u01e5")= =0D + buf.write("\7R\2\2\u01e5\u01e6\7C\2\2\u01e6\u01e7\7E\2\2\u01e7\u01= e8")=0D + buf.write("\7M\2\2\u01e8\u01e9\7G\2\2\u01e9\u01ea\7F\2\2\u01eaL\3"= )=0D + buf.write("\2\2\2\u01eb\u01ec\7*\2\2\u01ecN\3\2\2\2\u01ed\u01ee\7"= )=0D + buf.write("+\2\2\u01eeP\3\2\2\2\u01ef\u01f0\7]\2\2\u01f0R\3\2\2\2"= )=0D + buf.write("\u01f1\u01f2\7_\2\2\u01f2T\3\2\2\2\u01f3\u01f4\7,\2\2")= =0D + buf.write("\u01f4V\3\2\2\2\u01f5\u01f6\7\60\2\2\u01f6\u01f7\7\60")= =0D + buf.write("\2\2\u01f7\u01f8\7\60\2\2\u01f8X\3\2\2\2\u01f9\u01fa\7"= )=0D + buf.write("-\2\2\u01faZ\3\2\2\2\u01fb\u01fc\7/\2\2\u01fc\\\3\2\2")= =0D + buf.write("\2\u01fd\u01fe\7\61\2\2\u01fe^\3\2\2\2\u01ff\u0200\7\'"= )=0D + buf.write("\2\2\u0200`\3\2\2\2\u0201\u0202\7-\2\2\u0202\u0203\7-")= =0D + buf.write("\2\2\u0203b\3\2\2\2\u0204\u0205\7/\2\2\u0205\u0206\7/")= =0D + buf.write("\2\2\u0206d\3\2\2\2\u0207\u0208\7u\2\2\u0208\u0209\7k")= =0D + buf.write("\2\2\u0209\u020a\7|\2\2\u020a\u020b\7g\2\2\u020b\u020c"= )=0D + buf.write("\7q\2\2\u020c\u020d\7h\2\2\u020df\3\2\2\2\u020e\u020f")= =0D + buf.write("\7\60\2\2\u020fh\3\2\2\2\u0210\u0211\7/\2\2\u0211\u0212= ")=0D + buf.write("\7@\2\2\u0212j\3\2\2\2\u0213\u0214\7(\2\2\u0214l\3\2\2"= )=0D + buf.write("\2\u0215\u0216\7\u0080\2\2\u0216n\3\2\2\2\u0217\u0218")= =0D + buf.write("\7#\2\2\u0218p\3\2\2\2\u0219\u021a\7,\2\2\u021a\u021b")= =0D + buf.write("\7?\2\2\u021br\3\2\2\2\u021c\u021d\7\61\2\2\u021d\u021e= ")=0D + buf.write("\7?\2\2\u021et\3\2\2\2\u021f\u0220\7\'\2\2\u0220\u0221"= )=0D + buf.write("\7?\2\2\u0221v\3\2\2\2\u0222\u0223\7-\2\2\u0223\u0224")= =0D + buf.write("\7?\2\2\u0224x\3\2\2\2\u0225\u0226\7/\2\2\u0226\u0227")= =0D + buf.write("\7?\2\2\u0227z\3\2\2\2\u0228\u0229\7>\2\2\u0229\u022a")= =0D + buf.write("\7>\2\2\u022a\u022b\7?\2\2\u022b|\3\2\2\2\u022c\u022d")= =0D + buf.write("\7@\2\2\u022d\u022e\7@\2\2\u022e\u022f\7?\2\2\u022f~\3"= )=0D + buf.write("\2\2\2\u0230\u0231\7(\2\2\u0231\u0232\7?\2\2\u0232\u008= 0")=0D + buf.write("\3\2\2\2\u0233\u0234\7`\2\2\u0234\u0235\7?\2\2\u0235\u0= 082")=0D + buf.write("\3\2\2\2\u0236\u0237\7~\2\2\u0237\u0238\7?\2\2\u0238\u0= 084")=0D + buf.write("\3\2\2\2\u0239\u023a\7A\2\2\u023a\u0086\3\2\2\2\u023b")= =0D + buf.write("\u023c\7~\2\2\u023c\u023d\7~\2\2\u023d\u0088\3\2\2\2\u0= 23e")=0D + buf.write("\u023f\7(\2\2\u023f\u0240\7(\2\2\u0240\u008a\3\2\2\2\u0= 241")=0D + buf.write("\u0242\7~\2\2\u0242\u008c\3\2\2\2\u0243\u0244\7`\2\2\u0= 244")=0D + buf.write("\u008e\3\2\2\2\u0245\u0246\7?\2\2\u0246\u0247\7?\2\2\u0= 247")=0D + buf.write("\u0090\3\2\2\2\u0248\u0249\7#\2\2\u0249\u024a\7?\2\2\u0= 24a")=0D + buf.write("\u0092\3\2\2\2\u024b\u024c\7>\2\2\u024c\u0094\3\2\2\2")= =0D + buf.write("\u024d\u024e\7@\2\2\u024e\u0096\3\2\2\2\u024f\u0250\7")= =0D + buf.write(">\2\2\u0250\u0251\7?\2\2\u0251\u0098\3\2\2\2\u0252\u025= 3")=0D + buf.write("\7@\2\2\u0253\u0254\7?\2\2\u0254\u009a\3\2\2\2\u0255\u0= 256")=0D + buf.write("\7>\2\2\u0256\u0257\7>\2\2\u0257\u009c\3\2\2\2\u0258\u0= 259")=0D + buf.write("\7@\2\2\u0259\u025a\7@\2\2\u025a\u009e\3\2\2\2\u025b\u0= 25c")=0D + buf.write("\7a\2\2\u025c\u025d\7a\2\2\u025d\u025e\7c\2\2\u025e\u02= 5f")=0D + buf.write("\7u\2\2\u025f\u0260\7o\2\2\u0260\u0261\7a\2\2\u0261\u02= 62")=0D + buf.write("\7a\2\2\u0262\u00a0\3\2\2\2\u0263\u0264\7a\2\2\u0264\u0= 265")=0D + buf.write("\7c\2\2\u0265\u0266\7u\2\2\u0266\u0267\7o\2\2\u0267\u00= a2")=0D + buf.write("\3\2\2\2\u0268\u0269\7a\2\2\u0269\u026a\7a\2\2\u026a\u0= 26b")=0D + buf.write("\7c\2\2\u026b\u026c\7u\2\2\u026c\u026d\7o\2\2\u026d\u00= a4")=0D + buf.write("\3\2\2\2\u026e\u026f\7e\2\2\u026f\u0270\7c\2\2\u0270\u0= 271")=0D + buf.write("\7u\2\2\u0271\u0272\7g\2\2\u0272\u00a6\3\2\2\2\u0273\u0= 274")=0D + buf.write("\7f\2\2\u0274\u0275\7g\2\2\u0275\u0276\7h\2\2\u0276\u02= 77")=0D + buf.write("\7c\2\2\u0277\u0278\7w\2\2\u0278\u0279\7n\2\2\u0279\u02= 7a")=0D + buf.write("\7v\2\2\u027a\u00a8\3\2\2\2\u027b\u027c\7k\2\2\u027c\u0= 27d")=0D + buf.write("\7h\2\2\u027d\u00aa\3\2\2\2\u027e\u027f\7g\2\2\u027f\u0= 280")=0D + buf.write("\7n\2\2\u0280\u0281\7u\2\2\u0281\u0282\7g\2\2\u0282\u00= ac")=0D + buf.write("\3\2\2\2\u0283\u0284\7u\2\2\u0284\u0285\7y\2\2\u0285\u0= 286")=0D + buf.write("\7k\2\2\u0286\u0287\7v\2\2\u0287\u0288\7e\2\2\u0288\u02= 89")=0D + buf.write("\7j\2\2\u0289\u00ae\3\2\2\2\u028a\u028b\7y\2\2\u028b\u0= 28c")=0D + buf.write("\7j\2\2\u028c\u028d\7k\2\2\u028d\u028e\7n\2\2\u028e\u02= 8f")=0D + buf.write("\7g\2\2\u028f\u00b0\3\2\2\2\u0290\u0291\7f\2\2\u0291\u0= 292")=0D + buf.write("\7q\2\2\u0292\u00b2\3\2\2\2\u0293\u0294\7i\2\2\u0294\u0= 295")=0D + buf.write("\7q\2\2\u0295\u0296\7v\2\2\u0296\u0297\7q\2\2\u0297\u00= b4")=0D + buf.write("\3\2\2\2\u0298\u0299\7e\2\2\u0299\u029a\7q\2\2\u029a\u0= 29b")=0D + buf.write("\7p\2\2\u029b\u029c\7v\2\2\u029c\u029d\7k\2\2\u029d\u02= 9e")=0D + buf.write("\7p\2\2\u029e\u029f\7w\2\2\u029f\u02a0\7g\2\2\u02a0\u00= b6")=0D + buf.write("\3\2\2\2\u02a1\u02a2\7d\2\2\u02a2\u02a3\7t\2\2\u02a3\u0= 2a4")=0D + buf.write("\7g\2\2\u02a4\u02a5\7c\2\2\u02a5\u02a6\7m\2\2\u02a6\u00= b8")=0D + buf.write("\3\2\2\2\u02a7\u02a8\7t\2\2\u02a8\u02a9\7g\2\2\u02a9\u0= 2aa")=0D + buf.write("\7v\2\2\u02aa\u02ab\7w\2\2\u02ab\u02ac\7t\2\2\u02ac\u02= ad")=0D + buf.write("\7p\2\2\u02ad\u00ba\3\2\2\2\u02ae\u02b3\5\u00bd_\2\u02a= f")=0D + buf.write("\u02b2\5\u00bd_\2\u02b0\u02b2\4\62;\2\u02b1\u02af\3\2")= =0D + buf.write("\2\2\u02b1\u02b0\3\2\2\2\u02b2\u02b5\3\2\2\2\u02b3\u02b= 1")=0D + buf.write("\3\2\2\2\u02b3\u02b4\3\2\2\2\u02b4\u00bc\3\2\2\2\u02b5"= )=0D + buf.write("\u02b3\3\2\2\2\u02b6\u02b7\t\2\2\2\u02b7\u00be\3\2\2\2"= )=0D + buf.write("\u02b8\u02ba\7N\2\2\u02b9\u02b8\3\2\2\2\u02b9\u02ba\3")= =0D + buf.write("\2\2\2\u02ba\u02bb\3\2\2\2\u02bb\u02be\7)\2\2\u02bc\u02= bf")=0D + buf.write("\5\u00d3j\2\u02bd\u02bf\n\3\2\2\u02be\u02bc\3\2\2\2\u02= be")=0D + buf.write("\u02bd\3\2\2\2\u02bf\u02c0\3\2\2\2\u02c0\u02c1\7)\2\2")= =0D + buf.write("\u02c1\u00c0\3\2\2\2\u02c2\u02c4\7N\2\2\u02c3\u02c2\3")= =0D + buf.write("\2\2\2\u02c3\u02c4\3\2\2\2\u02c4\u02c5\3\2\2\2\u02c5\u0= 2ca")=0D + buf.write("\7$\2\2\u02c6\u02c9\5\u00d3j\2\u02c7\u02c9\n\4\2\2\u02c= 8")=0D + buf.write("\u02c6\3\2\2\2\u02c8\u02c7\3\2\2\2\u02c9\u02cc\3\2\2\2"= )=0D + buf.write("\u02ca\u02c8\3\2\2\2\u02ca\u02cb\3\2\2\2\u02cb\u02cd\3"= )=0D + buf.write("\2\2\2\u02cc\u02ca\3\2\2\2\u02cd\u02ce\7$\2\2\u02ce\u00= c2")=0D + buf.write("\3\2\2\2\u02cf\u02d0\7\62\2\2\u02d0\u02d2\t\5\2\2\u02d1= ")=0D + buf.write("\u02d3\5\u00c9e\2\u02d2\u02d1\3\2\2\2\u02d3\u02d4\3\2")= =0D + buf.write("\2\2\u02d4\u02d2\3\2\2\2\u02d4\u02d5\3\2\2\2\u02d5\u02d= 7")=0D + buf.write("\3\2\2\2\u02d6\u02d8\5\u00cbf\2\u02d7\u02d6\3\2\2\2\u02= d7")=0D + buf.write("\u02d8\3\2\2\2\u02d8\u00c4\3\2\2\2\u02d9\u02e2\7\62\2")= =0D + buf.write("\2\u02da\u02de\4\63;\2\u02db\u02dd\4\62;\2\u02dc\u02db"= )=0D + buf.write("\3\2\2\2\u02dd\u02e0\3\2\2\2\u02de\u02dc\3\2\2\2\u02de"= )=0D + buf.write("\u02df\3\2\2\2\u02df\u02e2\3\2\2\2\u02e0\u02de\3\2\2\2"= )=0D + buf.write("\u02e1\u02d9\3\2\2\2\u02e1\u02da\3\2\2\2\u02e2\u02e4\3"= )=0D + buf.write("\2\2\2\u02e3\u02e5\5\u00cbf\2\u02e4\u02e3\3\2\2\2\u02e4= ")=0D + buf.write("\u02e5\3\2\2\2\u02e5\u00c6\3\2\2\2\u02e6\u02e8\7\62\2")= =0D + buf.write("\2\u02e7\u02e9\4\629\2\u02e8\u02e7\3\2\2\2\u02e9\u02ea"= )=0D + buf.write("\3\2\2\2\u02ea\u02e8\3\2\2\2\u02ea\u02eb\3\2\2\2\u02eb"= )=0D + buf.write("\u02ed\3\2\2\2\u02ec\u02ee\5\u00cbf\2\u02ed\u02ec\3\2")= =0D + buf.write("\2\2\u02ed\u02ee\3\2\2\2\u02ee\u00c8\3\2\2\2\u02ef\u02f= 0")=0D + buf.write("\t\6\2\2\u02f0\u00ca\3\2\2\2\u02f1\u02f8\t\7\2\2\u02f2"= )=0D + buf.write("\u02f3\t\b\2\2\u02f3\u02f8\t\t\2\2\u02f4\u02f5\t\b\2\2"= )=0D + buf.write("\u02f5\u02f6\t\t\2\2\u02f6\u02f8\t\t\2\2\u02f7\u02f1\3"= )=0D + buf.write("\2\2\2\u02f7\u02f2\3\2\2\2\u02f7\u02f4\3\2\2\2\u02f8\u0= 0cc")=0D + buf.write("\3\2\2\2\u02f9\u02fb\4\62;\2\u02fa\u02f9\3\2\2\2\u02fb"= )=0D + buf.write("\u02fc\3\2\2\2\u02fc\u02fa\3\2\2\2\u02fc\u02fd\3\2\2\2"= )=0D + buf.write("\u02fd\u02fe\3\2\2\2\u02fe\u0302\7\60\2\2\u02ff\u0301")= =0D + buf.write("\4\62;\2\u0300\u02ff\3\2\2\2\u0301\u0304\3\2\2\2\u0302"= )=0D + buf.write("\u0300\3\2\2\2\u0302\u0303\3\2\2\2\u0303\u0306\3\2\2\2"= )=0D + buf.write("\u0304\u0302\3\2\2\2\u0305\u0307\5\u00cfh\2\u0306\u0305= ")=0D + buf.write("\3\2\2\2\u0306\u0307\3\2\2\2\u0307\u0309\3\2\2\2\u0308"= )=0D + buf.write("\u030a\5\u00d1i\2\u0309\u0308\3\2\2\2\u0309\u030a\3\2")= =0D + buf.write("\2\2\u030a\u032a\3\2\2\2\u030b\u030d\7\60\2\2\u030c\u03= 0e")=0D + buf.write("\4\62;\2\u030d\u030c\3\2\2\2\u030e\u030f\3\2\2\2\u030f"= )=0D + buf.write("\u030d\3\2\2\2\u030f\u0310\3\2\2\2\u0310\u0312\3\2\2\2"= )=0D + buf.write("\u0311\u0313\5\u00cfh\2\u0312\u0311\3\2\2\2\u0312\u0313= ")=0D + buf.write("\3\2\2\2\u0313\u0315\3\2\2\2\u0314\u0316\5\u00d1i\2\u03= 15")=0D + buf.write("\u0314\3\2\2\2\u0315\u0316\3\2\2\2\u0316\u032a\3\2\2\2"= )=0D + buf.write("\u0317\u0319\4\62;\2\u0318\u0317\3\2\2\2\u0319\u031a\3"= )=0D + buf.write("\2\2\2\u031a\u0318\3\2\2\2\u031a\u031b\3\2\2\2\u031b\u0= 31c")=0D + buf.write("\3\2\2\2\u031c\u031e\5\u00cfh\2\u031d\u031f\5\u00d1i\2"= )=0D + buf.write("\u031e\u031d\3\2\2\2\u031e\u031f\3\2\2\2\u031f\u032a\3"= )=0D + buf.write("\2\2\2\u0320\u0322\4\62;\2\u0321\u0320\3\2\2\2\u0322\u0= 323")=0D + buf.write("\3\2\2\2\u0323\u0321\3\2\2\2\u0323\u0324\3\2\2\2\u0324"= )=0D + buf.write("\u0326\3\2\2\2\u0325\u0327\5\u00cfh\2\u0326\u0325\3\2")= =0D + buf.write("\2\2\u0326\u0327\3\2\2\2\u0327\u0328\3\2\2\2\u0328\u032= a")=0D + buf.write("\5\u00d1i\2\u0329\u02fa\3\2\2\2\u0329\u030b\3\2\2\2\u03= 29")=0D + buf.write("\u0318\3\2\2\2\u0329\u0321\3\2\2\2\u032a\u00ce\3\2\2\2"= )=0D + buf.write("\u032b\u032d\t\n\2\2\u032c\u032e\t\13\2\2\u032d\u032c")= =0D + buf.write("\3\2\2\2\u032d\u032e\3\2\2\2\u032e\u0330\3\2\2\2\u032f"= )=0D + buf.write("\u0331\4\62;\2\u0330\u032f\3\2\2\2\u0331\u0332\3\2\2\2"= )=0D + buf.write("\u0332\u0330\3\2\2\2\u0332\u0333\3\2\2\2\u0333\u00d0\3"= )=0D + buf.write("\2\2\2\u0334\u0335\t\f\2\2\u0335\u00d2\3\2\2\2\u0336\u0= 337")=0D + buf.write("\7^\2\2\u0337\u033a\t\r\2\2\u0338\u033a\5\u00d5k\2\u033= 9")=0D + buf.write("\u0336\3\2\2\2\u0339\u0338\3\2\2\2\u033a\u00d4\3\2\2\2"= )=0D + buf.write("\u033b\u033c\7^\2\2\u033c\u033d\4\62\65\2\u033d\u033e")= =0D + buf.write("\4\629\2\u033e\u0345\4\629\2\u033f\u0340\7^\2\2\u0340")= =0D + buf.write("\u0341\4\629\2\u0341\u0345\4\629\2\u0342\u0343\7^\2\2")= =0D + buf.write("\u0343\u0345\4\629\2\u0344\u033b\3\2\2\2\u0344\u033f\3"= )=0D + buf.write("\2\2\2\u0344\u0342\3\2\2\2\u0345\u00d6\3\2\2\2\u0346\u0= 347")=0D + buf.write("\7^\2\2\u0347\u0348\7w\2\2\u0348\u0349\5\u00c9e\2\u0349= ")=0D + buf.write("\u034a\5\u00c9e\2\u034a\u034b\5\u00c9e\2\u034b\u034c\5"= )=0D + buf.write("\u00c9e\2\u034c\u00d8\3\2\2\2\u034d\u034e\t\16\2\2\u034= e")=0D + buf.write("\u034f\3\2\2\2\u034f\u0350\bm\2\2\u0350\u00da\3\2\2\2")= =0D + buf.write("\u0351\u0352\7^\2\2\u0352\u0353\3\2\2\2\u0353\u0354\b")= =0D + buf.write("n\2\2\u0354\u00dc\3\2\2\2\u0355\u0356\4\5\0\2\u0356\u00= de")=0D + buf.write("\3\2\2\2\u0357\u0358\7\61\2\2\u0358\u0359\7,\2\2\u0359"= )=0D + buf.write("\u035d\3\2\2\2\u035a\u035c\13\2\2\2\u035b\u035a\3\2\2")= =0D + buf.write("\2\u035c\u035f\3\2\2\2\u035d\u035e\3\2\2\2\u035d\u035b"= )=0D + buf.write("\3\2\2\2\u035e\u0360\3\2\2\2\u035f\u035d\3\2\2\2\u0360"= )=0D + buf.write("\u0361\7,\2\2\u0361\u0362\7\61\2\2\u0362\u0363\3\2\2\2"= )=0D + buf.write("\u0363\u0364\bp\2\2\u0364\u00e0\3\2\2\2\u0365\u0366\7")= =0D + buf.write("\61\2\2\u0366\u0367\7\61\2\2\u0367\u036b\3\2\2\2\u0368"= )=0D + buf.write("\u036a\n\17\2\2\u0369\u0368\3\2\2\2\u036a\u036d\3\2\2")= =0D + buf.write("\2\u036b\u0369\3\2\2\2\u036b\u036c\3\2\2\2\u036c\u036f"= )=0D + buf.write("\3\2\2\2\u036d\u036b\3\2\2\2\u036e\u0370\7\17\2\2\u036f= ")=0D + buf.write("\u036e\3\2\2\2\u036f\u0370\3\2\2\2\u0370\u0371\3\2\2\2"= )=0D + buf.write("\u0371\u0372\7\f\2\2\u0372\u0373\3\2\2\2\u0373\u0374\b"= )=0D + buf.write("q\2\2\u0374\u00e2\3\2\2\2\u0375\u0379\7%\2\2\u0376\u037= 8")=0D + buf.write("\n\17\2\2\u0377\u0376\3\2\2\2\u0378\u037b\3\2\2\2\u0379= ")=0D + buf.write("\u0377\3\2\2\2\u0379\u037a\3\2\2\2\u037a\u037d\3\2\2\2"= )=0D + buf.write("\u037b\u0379\3\2\2\2\u037c\u037e\7\17\2\2\u037d\u037c")= =0D + buf.write("\3\2\2\2\u037d\u037e\3\2\2\2\u037e\u037f\3\2\2\2\u037f"= )=0D + buf.write("\u0380\7\f\2\2\u0380\u0381\3\2\2\2\u0381\u0382\br\2\2")= =0D + buf.write("\u0382\u00e4\3\2\2\2\'\2\u02b1\u02b3\u02b9\u02be\u02c3"= )=0D + buf.write("\u02c8\u02ca\u02d4\u02d7\u02de\u02e1\u02e4\u02ea\u02ed"= )=0D + buf.write("\u02f7\u02fc\u0302\u0306\u0309\u030f\u0312\u0315\u031a"= )=0D + buf.write("\u031e\u0323\u0326\u0329\u032d\u0332\u0339\u0344\u035d"= )=0D + buf.write("\u036b\u036f\u0379\u037d\3\2\3\2")=0D + return buf.getvalue()=0D +=0D +=0D +class CLexer(Lexer):=0D +=0D + atn =3D ATNDeserializer().deserialize(serializedATN())=0D +=0D + decisionsToDFA =3D [ DFA(ds, i) for i, ds in enumerate(atn.decisionToS= tate) ]=0D +=0D + T__0 =3D 1=0D + T__1 =3D 2=0D + T__2 =3D 3=0D + T__3 =3D 4=0D + T__4 =3D 5=0D + T__5 =3D 6=0D + T__6 =3D 7=0D + T__7 =3D 8=0D + T__8 =3D 9=0D + T__9 =3D 10=0D + T__10 =3D 11=0D + T__11 =3D 12=0D + T__12 =3D 13=0D + T__13 =3D 14=0D + T__14 =3D 15=0D + T__15 =3D 16=0D + T__16 =3D 17=0D + T__17 =3D 18=0D + T__18 =3D 19=0D + T__19 =3D 20=0D + T__20 =3D 21=0D + T__21 =3D 22=0D + T__22 =3D 23=0D + T__23 =3D 24=0D + T__24 =3D 25=0D + T__25 =3D 26=0D + T__26 =3D 27=0D + T__27 =3D 28=0D + T__28 =3D 29=0D + T__29 =3D 30=0D + T__30 =3D 31=0D + T__31 =3D 32=0D + T__32 =3D 33=0D + T__33 =3D 34=0D + T__34 =3D 35=0D + T__35 =3D 36=0D + T__36 =3D 37=0D + T__37 =3D 38=0D + T__38 =3D 39=0D + T__39 =3D 40=0D + T__40 =3D 41=0D + T__41 =3D 42=0D + T__42 =3D 43=0D + T__43 =3D 44=0D + T__44 =3D 45=0D + T__45 =3D 46=0D + T__46 =3D 47=0D + T__47 =3D 48=0D + T__48 =3D 49=0D + T__49 =3D 50=0D + T__50 =3D 51=0D + T__51 =3D 52=0D + T__52 =3D 53=0D + T__53 =3D 54=0D + T__54 =3D 55=0D + T__55 =3D 56=0D + T__56 =3D 57=0D + T__57 =3D 58=0D + T__58 =3D 59=0D + T__59 =3D 60=0D + T__60 =3D 61=0D + T__61 =3D 62=0D + T__62 =3D 63=0D + T__63 =3D 64=0D + T__64 =3D 65=0D + T__65 =3D 66=0D + T__66 =3D 67=0D + T__67 =3D 68=0D + T__68 =3D 69=0D + T__69 =3D 70=0D + T__70 =3D 71=0D + T__71 =3D 72=0D + T__72 =3D 73=0D + T__73 =3D 74=0D + T__74 =3D 75=0D + T__75 =3D 76=0D + T__76 =3D 77=0D + T__77 =3D 78=0D + T__78 =3D 79=0D + T__79 =3D 80=0D + T__80 =3D 81=0D + T__81 =3D 82=0D + T__82 =3D 83=0D + T__83 =3D 84=0D + T__84 =3D 85=0D + T__85 =3D 86=0D + T__86 =3D 87=0D + T__87 =3D 88=0D + T__88 =3D 89=0D + T__89 =3D 90=0D + T__90 =3D 91=0D + T__91 =3D 92=0D + IDENTIFIER =3D 93=0D + CHARACTER_LITERAL =3D 94=0D + STRING_LITERAL =3D 95=0D + HEX_LITERAL =3D 96=0D + DECIMAL_LITERAL =3D 97=0D + OCTAL_LITERAL =3D 98=0D + FLOATING_POINT_LITERAL =3D 99=0D + WS =3D 100=0D + BS =3D 101=0D + UnicodeVocabulary =3D 102=0D + COMMENT =3D 103=0D + LINE_COMMENT =3D 104=0D + LINE_COMMAND =3D 105=0D +=0D + channelNames =3D [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ]=0D +=0D + modeNames =3D [ "DEFAULT_MODE" ]=0D +=0D + literalNames =3D [ "",=0D + "'{'", "';'", "'typedef'", "','", "'=3D'", "'extern'", "'stati= c'",=0D + "'auto'", "'register'", "'STATIC'", "'void'", "'char'", "'shor= t'",=0D + "'int'", "'long'", "'float'", "'double'", "'signed'", "'unsign= ed'",=0D + "'}'", "'struct'", "'union'", "':'", "'enum'", "'const'", "'vo= latile'",=0D + "'IN'", "'OUT'", "'OPTIONAL'", "'CONST'", "'UNALIGNED'", "'VOL= ATILE'",=0D + "'GLOBAL_REMOVE_IF_UNREFERENCED'", "'EFIAPI'", "'EFI_BOOTSERVI= CE'",=0D + "'EFI_RUNTIMESERVICE'", "'PACKED'", "'('", "')'", "'['", "']'"= ,=0D + "'*'", "'...'", "'+'", "'-'", "'/'", "'%'", "'++'", "'--'",=0D + "'sizeof'", "'.'", "'->'", "'&'", "'~'", "'!'", "'*=3D'", "'/= =3D'",=0D + "'%=3D'", "'+=3D'", "'-=3D'", "'<<=3D'", "'>>=3D'", "'&=3D'", = "'^=3D'", "'|=3D'",=0D + "'?'", "'||'", "'&&'", "'|'", "'^'", "'=3D=3D'", "'!=3D'", "'<= '",=0D + "'>'", "'<=3D'", "'>=3D'", "'<<'", "'>>'", "'__asm__'", "'_asm= '",=0D + "'__asm'", "'case'", "'default'", "'if'", "'else'", "'switch'"= ,=0D + "'while'", "'do'", "'goto'", "'continue'", "'break'", "'return= '" ]=0D +=0D + symbolicNames =3D [ "",=0D + "IDENTIFIER", "CHARACTER_LITERAL", "STRING_LITERAL", "HEX_LITE= RAL",=0D + "DECIMAL_LITERAL", "OCTAL_LITERAL", "FLOATING_POINT_LITERAL",= =0D + "WS", "BS", "UnicodeVocabulary", "COMMENT", "LINE_COMMENT",=0D + "LINE_COMMAND" ]=0D +=0D + ruleNames =3D [ "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6"= ,=0D + "T__7", "T__8", "T__9", "T__10", "T__11", "T__12", "T__1= 3",=0D + "T__14", "T__15", "T__16", "T__17", "T__18", "T__19",=0D + "T__20", "T__21", "T__22", "T__23", "T__24", "T__25",=0D + "T__26", "T__27", "T__28", "T__29", "T__30", "T__31",=0D + "T__32", "T__33", "T__34", "T__35", "T__36", "T__37",=0D + "T__38", "T__39", "T__40", "T__41", "T__42", "T__43",=0D + "T__44", "T__45", "T__46", "T__47", "T__48", "T__49",=0D + "T__50", "T__51", "T__52", "T__53", "T__54", "T__55",=0D + "T__56", "T__57", "T__58", "T__59", "T__60", "T__61",=0D + "T__62", "T__63", "T__64", "T__65", "T__66", "T__67",=0D + "T__68", "T__69", "T__70", "T__71", "T__72", "T__73",=0D + "T__74", "T__75", "T__76", "T__77", "T__78", "T__79",=0D + "T__80", "T__81", "T__82", "T__83", "T__84", "T__85",=0D + "T__86", "T__87", "T__88", "T__89", "T__90", "T__91",=0D + "IDENTIFIER", "LETTER", "CHARACTER_LITERAL", "STRING_LIT= ERAL",=0D + "HEX_LITERAL", "DECIMAL_LITERAL", "OCTAL_LITERAL", "HexD= igit",=0D + "IntegerTypeSuffix", "FLOATING_POINT_LITERAL", "Exponent= ",=0D + "FloatTypeSuffix", "EscapeSequence", "OctalEscape", "Uni= codeEscape",=0D + "WS", "BS", "UnicodeVocabulary", "COMMENT", "LINE_COMMEN= T",=0D + "LINE_COMMAND" ]=0D +=0D + grammarFileName =3D "C.g4"=0D +=0D + def __init__(self, input=3DNone, output:TextIO =3D sys.stdout):=0D + super().__init__(input, output)=0D + self.checkVersion("4.7.1")=0D + self._interp =3D LexerATNSimulator(self, self.atn, self.decisionsT= oDFA, PredictionContextCache())=0D + self._actions =3D None=0D + self._predicates =3D None=0D +=0D +=0D +=0D + def printTokenInfo(self, line, offset, tokenText):=0D + print(str(line)+ ',' + str(offset) + ':' + str(tokenText))=0D +=0D + def StorePredicateExpression(self, StartLine, StartOffset, EndLine, En= dOffset, Text):=0D + PredExp =3D CodeFragment.PredicateExpression(Text, (StartLine, Sta= rtOffset), (EndLine, EndOffset))=0D + FileProfile.PredicateExpressionList.append(PredExp)=0D +=0D + def StoreEnumerationDefinition(self, StartLine, StartOffset, EndLine, = EndOffset, Text):=0D + EnumDef =3D CodeFragment.EnumerationDefinition(Text, (StartLine, S= tartOffset), (EndLine, EndOffset))=0D + FileProfile.EnumerationDefinitionList.append(EnumDef)=0D +=0D + def StoreStructUnionDefinition(self, StartLine, StartOffset, EndLine, = EndOffset, Text):=0D + SUDef =3D CodeFragment.StructUnionDefinition(Text, (StartLine, Sta= rtOffset), (EndLine, EndOffset))=0D + FileProfile.StructUnionDefinitionList.append(SUDef)=0D +=0D + def StoreTypedefDefinition(self, StartLine, StartOffset, EndLine, EndO= ffset, FromText, ToText):=0D + Tdef =3D CodeFragment.TypedefDefinition(FromText, ToText, (StartLi= ne, StartOffset), (EndLine, EndOffset))=0D + FileProfile.TypedefDefinitionList.append(Tdef)=0D +=0D + def StoreFunctionDefinition(self, StartLine, StartOffset, EndLine, End= Offset, ModifierText, DeclText, LeftBraceLine, LeftBraceOffset, DeclLine, D= eclOffset):=0D + FuncDef =3D CodeFragment.FunctionDefinition(ModifierText, DeclText= , (StartLine, StartOffset), (EndLine, EndOffset), (LeftBraceLine, LeftBrace= Offset), (DeclLine, DeclOffset))=0D + FileProfile.FunctionDefinitionList.append(FuncDef)=0D +=0D + def StoreVariableDeclaration(self, StartLine, StartOffset, EndLine, En= dOffset, ModifierText, DeclText):=0D + VarDecl =3D CodeFragment.VariableDeclaration(ModifierText, DeclTex= t, (StartLine, StartOffset), (EndLine, EndOffset))=0D + FileProfile.VariableDeclarationList.append(VarDecl)=0D +=0D + def StoreFunctionCalling(self, StartLine, StartOffset, EndLine, EndOff= set, FuncName, ParamList):=0D + FuncCall =3D CodeFragment.FunctionCalling(FuncName, ParamList, (St= artLine, StartOffset), (EndLine, EndOffset))=0D + FileProfile.FunctionCallingList.append(FuncCall)=0D +=0D +=0D +=0D diff --git a/BaseTools/Source/Python/Eot/CParser4/CListener.py b/BaseTools/= Source/Python/Eot/CParser4/CListener.py new file mode 100644 index 0000000000..6824c94bf6 --- /dev/null +++ b/BaseTools/Source/Python/Eot/CParser4/CListener.py @@ -0,0 +1,672 @@ +# Generated from C.g4 by ANTLR 4.7.1=0D +from antlr4 import *=0D +if __name__ is not None and "." in __name__:=0D + from .CParser import CParser=0D +else:=0D + from CParser import CParser=0D +=0D +## @file=0D +# The file defines the parser for C source files.=0D +#=0D +# THIS FILE IS AUTO-GENENERATED. PLEASE DON NOT MODIFY THIS FILE.=0D +# This file is generated by running:=0D +# java org.antlr.Tool C.g=0D +#=0D +# Copyright (c) 2009 - 2010, Intel Corporation All rights reserved.=0D +#=0D +# This program and the accompanying materials are licensed and made availa= ble=0D +# under the terms and conditions of the BSD License which accompanies this= =0D +# distribution. The full text of the license may be found at:=0D +# http://opensource.org/licenses/bsd-license.php=0D +#=0D +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D +#=0D +##=0D +=0D +import Ecc.CodeFragment as CodeFragment=0D +import Ecc.FileProfile as FileProfile=0D +=0D +=0D +# This class defines a complete listener for a parse tree produced by CPar= ser.=0D +class CListener(ParseTreeListener):=0D +=0D + # Enter a parse tree produced by CParser#translation_unit.=0D + def enterTranslation_unit(self, ctx:CParser.Translation_unitContext):= =0D + pass=0D +=0D + # Exit a parse tree produced by CParser#translation_unit.=0D + def exitTranslation_unit(self, ctx:CParser.Translation_unitContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#external_declaration.=0D + def enterExternal_declaration(self, ctx:CParser.External_declarationCo= ntext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#external_declaration.=0D + def exitExternal_declaration(self, ctx:CParser.External_declarationCon= text):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#function_definition.=0D + def enterFunction_definition(self, ctx:CParser.Function_definitionCont= ext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#function_definition.=0D + def exitFunction_definition(self, ctx:CParser.Function_definitionConte= xt):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#declaration_specifiers.=0D + def enterDeclaration_specifiers(self, ctx:CParser.Declaration_specifie= rsContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#declaration_specifiers.=0D + def exitDeclaration_specifiers(self, ctx:CParser.Declaration_specifier= sContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#declaration.=0D + def enterDeclaration(self, ctx:CParser.DeclarationContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#declaration.=0D + def exitDeclaration(self, ctx:CParser.DeclarationContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#init_declarator_list.=0D + def enterInit_declarator_list(self, ctx:CParser.Init_declarator_listCo= ntext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#init_declarator_list.=0D + def exitInit_declarator_list(self, ctx:CParser.Init_declarator_listCon= text):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#init_declarator.=0D + def enterInit_declarator(self, ctx:CParser.Init_declaratorContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#init_declarator.=0D + def exitInit_declarator(self, ctx:CParser.Init_declaratorContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#storage_class_specifier.=0D + def enterStorage_class_specifier(self, ctx:CParser.Storage_class_speci= fierContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#storage_class_specifier.=0D + def exitStorage_class_specifier(self, ctx:CParser.Storage_class_specif= ierContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#type_specifier.=0D + def enterType_specifier(self, ctx:CParser.Type_specifierContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#type_specifier.=0D + def exitType_specifier(self, ctx:CParser.Type_specifierContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#type_id.=0D + def enterType_id(self, ctx:CParser.Type_idContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#type_id.=0D + def exitType_id(self, ctx:CParser.Type_idContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#struct_or_union_specifier.=0D + def enterStruct_or_union_specifier(self, ctx:CParser.Struct_or_union_s= pecifierContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#struct_or_union_specifier.=0D + def exitStruct_or_union_specifier(self, ctx:CParser.Struct_or_union_sp= ecifierContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#struct_or_union.=0D + def enterStruct_or_union(self, ctx:CParser.Struct_or_unionContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#struct_or_union.=0D + def exitStruct_or_union(self, ctx:CParser.Struct_or_unionContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#struct_declaration_list.=0D + def enterStruct_declaration_list(self, ctx:CParser.Struct_declaration_= listContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#struct_declaration_list.=0D + def exitStruct_declaration_list(self, ctx:CParser.Struct_declaration_l= istContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#struct_declaration.=0D + def enterStruct_declaration(self, ctx:CParser.Struct_declarationContex= t):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#struct_declaration.=0D + def exitStruct_declaration(self, ctx:CParser.Struct_declarationContext= ):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#specifier_qualifier_list.=0D + def enterSpecifier_qualifier_list(self, ctx:CParser.Specifier_qualifie= r_listContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#specifier_qualifier_list.=0D + def exitSpecifier_qualifier_list(self, ctx:CParser.Specifier_qualifier= _listContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#struct_declarator_list.=0D + def enterStruct_declarator_list(self, ctx:CParser.Struct_declarator_li= stContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#struct_declarator_list.=0D + def exitStruct_declarator_list(self, ctx:CParser.Struct_declarator_lis= tContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#struct_declarator.=0D + def enterStruct_declarator(self, ctx:CParser.Struct_declaratorContext)= :=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#struct_declarator.=0D + def exitStruct_declarator(self, ctx:CParser.Struct_declaratorContext):= =0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#enum_specifier.=0D + def enterEnum_specifier(self, ctx:CParser.Enum_specifierContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#enum_specifier.=0D + def exitEnum_specifier(self, ctx:CParser.Enum_specifierContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#enumerator_list.=0D + def enterEnumerator_list(self, ctx:CParser.Enumerator_listContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#enumerator_list.=0D + def exitEnumerator_list(self, ctx:CParser.Enumerator_listContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#enumerator.=0D + def enterEnumerator(self, ctx:CParser.EnumeratorContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#enumerator.=0D + def exitEnumerator(self, ctx:CParser.EnumeratorContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#type_qualifier.=0D + def enterType_qualifier(self, ctx:CParser.Type_qualifierContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#type_qualifier.=0D + def exitType_qualifier(self, ctx:CParser.Type_qualifierContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#declarator.=0D + def enterDeclarator(self, ctx:CParser.DeclaratorContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#declarator.=0D + def exitDeclarator(self, ctx:CParser.DeclaratorContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#direct_declarator.=0D + def enterDirect_declarator(self, ctx:CParser.Direct_declaratorContext)= :=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#direct_declarator.=0D + def exitDirect_declarator(self, ctx:CParser.Direct_declaratorContext):= =0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#declarator_suffix.=0D + def enterDeclarator_suffix(self, ctx:CParser.Declarator_suffixContext)= :=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#declarator_suffix.=0D + def exitDeclarator_suffix(self, ctx:CParser.Declarator_suffixContext):= =0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#pointer.=0D + def enterPointer(self, ctx:CParser.PointerContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#pointer.=0D + def exitPointer(self, ctx:CParser.PointerContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#parameter_type_list.=0D + def enterParameter_type_list(self, ctx:CParser.Parameter_type_listCont= ext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#parameter_type_list.=0D + def exitParameter_type_list(self, ctx:CParser.Parameter_type_listConte= xt):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#parameter_list.=0D + def enterParameter_list(self, ctx:CParser.Parameter_listContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#parameter_list.=0D + def exitParameter_list(self, ctx:CParser.Parameter_listContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#parameter_declaration.=0D + def enterParameter_declaration(self, ctx:CParser.Parameter_declaration= Context):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#parameter_declaration.=0D + def exitParameter_declaration(self, ctx:CParser.Parameter_declarationC= ontext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#identifier_list.=0D + def enterIdentifier_list(self, ctx:CParser.Identifier_listContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#identifier_list.=0D + def exitIdentifier_list(self, ctx:CParser.Identifier_listContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#type_name.=0D + def enterType_name(self, ctx:CParser.Type_nameContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#type_name.=0D + def exitType_name(self, ctx:CParser.Type_nameContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#abstract_declarator.=0D + def enterAbstract_declarator(self, ctx:CParser.Abstract_declaratorCont= ext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#abstract_declarator.=0D + def exitAbstract_declarator(self, ctx:CParser.Abstract_declaratorConte= xt):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#direct_abstract_declarator.=0D + def enterDirect_abstract_declarator(self, ctx:CParser.Direct_abstract_= declaratorContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#direct_abstract_declarator.=0D + def exitDirect_abstract_declarator(self, ctx:CParser.Direct_abstract_d= eclaratorContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#abstract_declarator_suffix.=0D + def enterAbstract_declarator_suffix(self, ctx:CParser.Abstract_declara= tor_suffixContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#abstract_declarator_suffix.=0D + def exitAbstract_declarator_suffix(self, ctx:CParser.Abstract_declarat= or_suffixContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#initializer.=0D + def enterInitializer(self, ctx:CParser.InitializerContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#initializer.=0D + def exitInitializer(self, ctx:CParser.InitializerContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#initializer_list.=0D + def enterInitializer_list(self, ctx:CParser.Initializer_listContext):= =0D + pass=0D +=0D + # Exit a parse tree produced by CParser#initializer_list.=0D + def exitInitializer_list(self, ctx:CParser.Initializer_listContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#argument_expression_list.=0D + def enterArgument_expression_list(self, ctx:CParser.Argument_expressio= n_listContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#argument_expression_list.=0D + def exitArgument_expression_list(self, ctx:CParser.Argument_expression= _listContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#additive_expression.=0D + def enterAdditive_expression(self, ctx:CParser.Additive_expressionCont= ext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#additive_expression.=0D + def exitAdditive_expression(self, ctx:CParser.Additive_expressionConte= xt):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#multiplicative_expression.=0D + def enterMultiplicative_expression(self, ctx:CParser.Multiplicative_ex= pressionContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#multiplicative_expression.=0D + def exitMultiplicative_expression(self, ctx:CParser.Multiplicative_exp= ressionContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#cast_expression.=0D + def enterCast_expression(self, ctx:CParser.Cast_expressionContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#cast_expression.=0D + def exitCast_expression(self, ctx:CParser.Cast_expressionContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#unary_expression.=0D + def enterUnary_expression(self, ctx:CParser.Unary_expressionContext):= =0D + pass=0D +=0D + # Exit a parse tree produced by CParser#unary_expression.=0D + def exitUnary_expression(self, ctx:CParser.Unary_expressionContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#postfix_expression.=0D + def enterPostfix_expression(self, ctx:CParser.Postfix_expressionContex= t):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#postfix_expression.=0D + def exitPostfix_expression(self, ctx:CParser.Postfix_expressionContext= ):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#macro_parameter_list.=0D + def enterMacro_parameter_list(self, ctx:CParser.Macro_parameter_listCo= ntext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#macro_parameter_list.=0D + def exitMacro_parameter_list(self, ctx:CParser.Macro_parameter_listCon= text):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#unary_operator.=0D + def enterUnary_operator(self, ctx:CParser.Unary_operatorContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#unary_operator.=0D + def exitUnary_operator(self, ctx:CParser.Unary_operatorContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#primary_expression.=0D + def enterPrimary_expression(self, ctx:CParser.Primary_expressionContex= t):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#primary_expression.=0D + def exitPrimary_expression(self, ctx:CParser.Primary_expressionContext= ):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#constant.=0D + def enterConstant(self, ctx:CParser.ConstantContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#constant.=0D + def exitConstant(self, ctx:CParser.ConstantContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#expression.=0D + def enterExpression(self, ctx:CParser.ExpressionContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#expression.=0D + def exitExpression(self, ctx:CParser.ExpressionContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#constant_expression.=0D + def enterConstant_expression(self, ctx:CParser.Constant_expressionCont= ext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#constant_expression.=0D + def exitConstant_expression(self, ctx:CParser.Constant_expressionConte= xt):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#assignment_expression.=0D + def enterAssignment_expression(self, ctx:CParser.Assignment_expression= Context):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#assignment_expression.=0D + def exitAssignment_expression(self, ctx:CParser.Assignment_expressionC= ontext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#lvalue.=0D + def enterLvalue(self, ctx:CParser.LvalueContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#lvalue.=0D + def exitLvalue(self, ctx:CParser.LvalueContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#assignment_operator.=0D + def enterAssignment_operator(self, ctx:CParser.Assignment_operatorCont= ext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#assignment_operator.=0D + def exitAssignment_operator(self, ctx:CParser.Assignment_operatorConte= xt):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#conditional_expression.=0D + def enterConditional_expression(self, ctx:CParser.Conditional_expressi= onContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#conditional_expression.=0D + def exitConditional_expression(self, ctx:CParser.Conditional_expressio= nContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#logical_or_expression.=0D + def enterLogical_or_expression(self, ctx:CParser.Logical_or_expression= Context):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#logical_or_expression.=0D + def exitLogical_or_expression(self, ctx:CParser.Logical_or_expressionC= ontext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#logical_and_expression.=0D + def enterLogical_and_expression(self, ctx:CParser.Logical_and_expressi= onContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#logical_and_expression.=0D + def exitLogical_and_expression(self, ctx:CParser.Logical_and_expressio= nContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#inclusive_or_expression.=0D + def enterInclusive_or_expression(self, ctx:CParser.Inclusive_or_expres= sionContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#inclusive_or_expression.=0D + def exitInclusive_or_expression(self, ctx:CParser.Inclusive_or_express= ionContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#exclusive_or_expression.=0D + def enterExclusive_or_expression(self, ctx:CParser.Exclusive_or_expres= sionContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#exclusive_or_expression.=0D + def exitExclusive_or_expression(self, ctx:CParser.Exclusive_or_express= ionContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#and_expression.=0D + def enterAnd_expression(self, ctx:CParser.And_expressionContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#and_expression.=0D + def exitAnd_expression(self, ctx:CParser.And_expressionContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#equality_expression.=0D + def enterEquality_expression(self, ctx:CParser.Equality_expressionCont= ext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#equality_expression.=0D + def exitEquality_expression(self, ctx:CParser.Equality_expressionConte= xt):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#relational_expression.=0D + def enterRelational_expression(self, ctx:CParser.Relational_expression= Context):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#relational_expression.=0D + def exitRelational_expression(self, ctx:CParser.Relational_expressionC= ontext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#shift_expression.=0D + def enterShift_expression(self, ctx:CParser.Shift_expressionContext):= =0D + pass=0D +=0D + # Exit a parse tree produced by CParser#shift_expression.=0D + def exitShift_expression(self, ctx:CParser.Shift_expressionContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#statement.=0D + def enterStatement(self, ctx:CParser.StatementContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#statement.=0D + def exitStatement(self, ctx:CParser.StatementContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#asm2_statement.=0D + def enterAsm2_statement(self, ctx:CParser.Asm2_statementContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#asm2_statement.=0D + def exitAsm2_statement(self, ctx:CParser.Asm2_statementContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#asm1_statement.=0D + def enterAsm1_statement(self, ctx:CParser.Asm1_statementContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#asm1_statement.=0D + def exitAsm1_statement(self, ctx:CParser.Asm1_statementContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#asm_statement.=0D + def enterAsm_statement(self, ctx:CParser.Asm_statementContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#asm_statement.=0D + def exitAsm_statement(self, ctx:CParser.Asm_statementContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#macro_statement.=0D + def enterMacro_statement(self, ctx:CParser.Macro_statementContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#macro_statement.=0D + def exitMacro_statement(self, ctx:CParser.Macro_statementContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#labeled_statement.=0D + def enterLabeled_statement(self, ctx:CParser.Labeled_statementContext)= :=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#labeled_statement.=0D + def exitLabeled_statement(self, ctx:CParser.Labeled_statementContext):= =0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#compound_statement.=0D + def enterCompound_statement(self, ctx:CParser.Compound_statementContex= t):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#compound_statement.=0D + def exitCompound_statement(self, ctx:CParser.Compound_statementContext= ):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#statement_list.=0D + def enterStatement_list(self, ctx:CParser.Statement_listContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#statement_list.=0D + def exitStatement_list(self, ctx:CParser.Statement_listContext):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#expression_statement.=0D + def enterExpression_statement(self, ctx:CParser.Expression_statementCo= ntext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#expression_statement.=0D + def exitExpression_statement(self, ctx:CParser.Expression_statementCon= text):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#selection_statement.=0D + def enterSelection_statement(self, ctx:CParser.Selection_statementCont= ext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#selection_statement.=0D + def exitSelection_statement(self, ctx:CParser.Selection_statementConte= xt):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#iteration_statement.=0D + def enterIteration_statement(self, ctx:CParser.Iteration_statementCont= ext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#iteration_statement.=0D + def exitIteration_statement(self, ctx:CParser.Iteration_statementConte= xt):=0D + pass=0D +=0D +=0D + # Enter a parse tree produced by CParser#jump_statement.=0D + def enterJump_statement(self, ctx:CParser.Jump_statementContext):=0D + pass=0D +=0D + # Exit a parse tree produced by CParser#jump_statement.=0D + def exitJump_statement(self, ctx:CParser.Jump_statementContext):=0D + pass=0D +=0D +=0D diff --git a/BaseTools/Source/Python/Eot/CParser4/CParser.py b/BaseTools/So= urce/Python/Eot/CParser4/CParser.py new file mode 100644 index 0000000000..204ee7baa2 --- /dev/null +++ b/BaseTools/Source/Python/Eot/CParser4/CParser.py @@ -0,0 +1,5948 @@ +# Generated from C.g4 by ANTLR 4.7.1=0D +# encoding: utf-8=0D +from antlr4 import *=0D +from io import StringIO=0D +from typing.io import TextIO=0D +import sys=0D +=0D +=0D +## @file=0D +# The file defines the parser for C source files.=0D +#=0D +# THIS FILE IS AUTO-GENENERATED. PLEASE DON NOT MODIFY THIS FILE.=0D +# This file is generated by running:=0D +# java org.antlr.Tool C.g=0D +#=0D +# Copyright (c) 2009 - 2010, Intel Corporation All rights reserved.=0D +#=0D +# This program and the accompanying materials are licensed and made availa= ble=0D +# under the terms and conditions of the BSD License which accompanies this= =0D +# distribution. The full text of the license may be found at:=0D +# http://opensource.org/licenses/bsd-license.php=0D +#=0D +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,=0D +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED.=0D +#=0D +##=0D +=0D +import Ecc.CodeFragment as CodeFragment=0D +import Ecc.FileProfile as FileProfile=0D +=0D +def serializedATN():=0D + with StringIO() as buf:=0D + buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3k")= =0D + buf.write("\u0380\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7"= )=0D + buf.write("\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4\r\t\r\4\16= ")=0D + buf.write("\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22\4\23\t\23= ")=0D + buf.write("\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31= ")=0D + buf.write("\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36= ")=0D + buf.write("\4\37\t\37\4 \t \4!\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t")= =0D + buf.write("&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4,\t,\4-\t-\4.\t.\4")= =0D + buf.write("/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64\t\64"= )=0D + buf.write("\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:\4;\t")= =0D + buf.write(";\4<\t<\4=3D\t=3D\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\tC\4= D\t")=0D + buf.write("D\4E\tE\4F\tF\4G\tG\4H\tH\3\2\7\2\u0092\n\2\f\2\16\2\u0= 095")=0D + buf.write("\13\2\3\3\5\3\u0098\n\3\3\3\3\3\7\3\u009c\n\3\f\3\16\3"= )=0D + buf.write("\u009f\13\3\3\3\3\3\3\3\3\3\3\3\3\3\5\3\u00a7\n\3\5\3")= =0D + buf.write("\u00a9\n\3\3\4\5\4\u00ac\n\4\3\4\3\4\6\4\u00b0\n\4\r\4"= )=0D + buf.write("\16\4\u00b1\3\4\3\4\3\4\5\4\u00b7\n\4\3\4\3\4\3\5\3\5")= =0D + buf.write("\3\5\6\5\u00be\n\5\r\5\16\5\u00bf\3\6\3\6\5\6\u00c4\n")= =0D + buf.write("\6\3\6\3\6\3\6\3\6\3\6\3\6\5\6\u00cc\n\6\3\6\3\6\3\6\5"= )=0D + buf.write("\6\u00d1\n\6\3\7\3\7\3\7\7\7\u00d6\n\7\f\7\16\7\u00d9")= =0D + buf.write("\13\7\3\b\3\b\3\b\5\b\u00de\n\b\3\t\3\t\3\n\3\n\3\n\3")= =0D + buf.write("\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n"= )=0D + buf.write("\7\n\u00f3\n\n\f\n\16\n\u00f6\13\n\3\n\3\n\5\n\u00fa\n"= )=0D + buf.write("\n\3\13\3\13\3\f\3\f\5\f\u0100\n\f\3\f\3\f\3\f\3\f\3\f"= )=0D + buf.write("\3\f\3\f\5\f\u0109\n\f\3\r\3\r\3\16\6\16\u010e\n\16\r")= =0D + buf.write("\16\16\16\u010f\3\17\3\17\3\17\3\17\3\20\3\20\6\20\u011= 8")=0D + buf.write("\n\20\r\20\16\20\u0119\3\21\3\21\3\21\7\21\u011f\n\21")= =0D + buf.write("\f\21\16\21\u0122\13\21\3\22\3\22\3\22\5\22\u0127\n\22"= )=0D + buf.write("\3\22\3\22\5\22\u012b\n\22\3\23\3\23\3\23\3\23\5\23\u01= 31")=0D + buf.write("\n\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\5\23\u013a\n")= =0D + buf.write("\23\3\23\3\23\3\23\3\23\5\23\u0140\n\23\3\24\3\24\3\24"= )=0D + buf.write("\7\24\u0145\n\24\f\24\16\24\u0148\13\24\3\25\3\25\3\25"= )=0D + buf.write("\5\25\u014d\n\25\3\26\3\26\3\27\5\27\u0152\n\27\3\27\5"= )=0D + buf.write("\27\u0155\n\27\3\27\5\27\u0158\n\27\3\27\5\27\u015b\n")= =0D + buf.write("\27\3\27\3\27\5\27\u015f\n\27\3\30\3\30\7\30\u0163\n\30= ")=0D + buf.write("\f\30\16\30\u0166\13\30\3\30\3\30\5\30\u016a\n\30\3\30"= )=0D + buf.write("\3\30\3\30\6\30\u016f\n\30\r\30\16\30\u0170\5\30\u0173"= )=0D + buf.write("\n\30\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31= ")=0D + buf.write("\3\31\3\31\3\31\3\31\3\31\3\31\5\31\u0185\n\31\3\32\3")= =0D + buf.write("\32\6\32\u0189\n\32\r\32\16\32\u018a\3\32\5\32\u018e\n"= )=0D + buf.write("\32\3\32\3\32\3\32\5\32\u0193\n\32\3\33\3\33\3\33\5\33"= )=0D + buf.write("\u0198\n\33\3\33\5\33\u019b\n\33\3\34\3\34\3\34\5\34\u0= 1a0")=0D + buf.write("\n\34\3\34\7\34\u01a3\n\34\f\34\16\34\u01a6\13\34\3\35"= )=0D + buf.write("\3\35\3\35\7\35\u01ab\n\35\f\35\16\35\u01ae\13\35\3\35"= )=0D + buf.write("\5\35\u01b1\n\35\3\35\7\35\u01b4\n\35\f\35\16\35\u01b7"= )=0D + buf.write("\13\35\3\35\5\35\u01ba\n\35\3\36\3\36\3\36\7\36\u01bf")= =0D + buf.write("\n\36\f\36\16\36\u01c2\13\36\3\37\3\37\5\37\u01c6\n\37"= )=0D + buf.write("\3\37\5\37\u01c9\n\37\3 \3 \5 \u01cd\n \3 \5 \u01d0\n")= =0D + buf.write(" \3!\3!\3!\3!\3!\5!\u01d7\n!\3!\7!\u01da\n!\f!\16!\u01d= d")=0D + buf.write("\13!\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\3\"\5"= )=0D + buf.write("\"\u01eb\n\"\3#\3#\3#\3#\5#\u01f1\n#\3#\3#\5#\u01f5\n")= =0D + buf.write("#\3$\3$\3$\7$\u01fa\n$\f$\16$\u01fd\13$\3%\3%\5%\u0201"= )=0D + buf.write("\n%\3%\3%\3%\5%\u0206\n%\7%\u0208\n%\f%\16%\u020b\13%")= =0D + buf.write("\3&\3&\3&\3&\3&\7&\u0212\n&\f&\16&\u0215\13&\3\'\3\'\3"= )=0D + buf.write("\'\3\'\3\'\3\'\3\'\7\'\u021e\n\'\f\'\16\'\u0221\13\'\3"= )=0D + buf.write("(\3(\3(\3(\3(\3(\5(\u0229\n(\3)\3)\3)\3)\3)\3)\3)\3)\3"= )=0D + buf.write(")\3)\3)\3)\3)\3)\3)\5)\u023a\n)\3*\3*\3*\3*\3*\3*\3*\3"= )=0D + buf.write("*\3*\3*\3*\3*\3*\3*\3*\3*\3*\3*\3*\3*\3*\3*\3*\3*\3*\3"= )=0D + buf.write("*\3*\3*\3*\7*\u0259\n*\f*\16*\u025c\13*\3+\3+\3+\7+\u02= 61")=0D + buf.write("\n+\f+\16+\u0264\13+\3,\3,\3-\3-\3-\3-\3-\3-\5-\u026e")= =0D + buf.write("\n-\3.\3.\3.\3.\3.\7.\u0275\n.\f.\16.\u0278\13.\3.\6.")= =0D + buf.write("\u027b\n.\r.\16.\u027c\6.\u027f\n.\r.\16.\u0280\3.\7.")= =0D + buf.write("\u0284\n.\f.\16.\u0287\13.\3.\5.\u028a\n.\3/\3/\3/\7/")= =0D + buf.write("\u028f\n/\f/\16/\u0292\13/\3\60\3\60\3\61\3\61\3\61\3")= =0D + buf.write("\61\3\61\5\61\u029b\n\61\3\62\3\62\3\63\3\63\3\64\3\64"= )=0D + buf.write("\3\64\3\64\3\64\3\64\3\64\5\64\u02a8\n\64\3\65\3\65\3")= =0D + buf.write("\65\7\65\u02ad\n\65\f\65\16\65\u02b0\13\65\3\66\3\66\3"= )=0D + buf.write("\66\7\66\u02b5\n\66\f\66\16\66\u02b8\13\66\3\67\3\67\3"= )=0D + buf.write("\67\7\67\u02bd\n\67\f\67\16\67\u02c0\13\67\38\38\38\7")= =0D + buf.write("8\u02c5\n8\f8\168\u02c8\138\39\39\39\79\u02cd\n9\f9\16"= )=0D + buf.write("9\u02d0\139\3:\3:\3:\7:\u02d5\n:\f:\16:\u02d8\13:\3;\3"= )=0D + buf.write(";\3;\7;\u02dd\n;\f;\16;\u02e0\13;\3<\3<\3<\7<\u02e5\n")= =0D + buf.write("<\f<\16<\u02e8\13<\3=3D\3=3D\3=3D\3=3D\3=3D\3=3D\3=3D\3= =3D\3=3D\3=3D\3=3D\5")=0D + buf.write("=3D\u02f5\n=3D\3>\5>\u02f8\n>\3>\3>\3>\7>\u02fd\n>\f>\1= 6>")=0D + buf.write("\u0300\13>\3>\3>\3>\3?\3?\3?\7?\u0308\n?\f?\16?\u030b")= =0D + buf.write("\13?\3?\3?\3@\3@\3@\7@\u0312\n@\f@\16@\u0315\13@\3@\3")= =0D + buf.write("@\3A\3A\3A\7A\u031c\nA\fA\16A\u031f\13A\3A\5A\u0322\n")= =0D + buf.write("A\3A\5A\u0325\nA\3A\3A\3B\3B\3B\3B\3B\3B\3B\3B\3B\3B\3"= )=0D + buf.write("B\5B\u0334\nB\3C\3C\7C\u0338\nC\fC\16C\u033b\13C\3C\5")= =0D + buf.write("C\u033e\nC\3C\3C\3D\6D\u0343\nD\rD\16D\u0344\3E\3E\3E")= =0D + buf.write("\3E\5E\u034b\nE\3F\3F\3F\3F\3F\3F\3F\3F\5F\u0355\nF\3")= =0D + buf.write("F\3F\3F\3F\3F\3F\5F\u035d\nF\3G\3G\3G\3G\3G\3G\3G\3G\3"= )=0D + buf.write("G\3G\3G\3G\3G\3G\3G\3G\5G\u036f\nG\3H\3H\3H\3H\3H\3H\3"= )=0D + buf.write("H\3H\3H\3H\3H\3H\3H\5H\u037e\nH\3H\2\2I\2\4\6\b\n\f\16"= )=0D + buf.write("\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDF")= =0D + buf.write("HJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082\u0084\u0086")= =0D + buf.write("\u0088\u008a\u008c\u008e\2\f\3\2\b\f\3\2\27\30\3\2\33")= =0D + buf.write("\'\5\2,,./\679\4\2\7\7:C\3\2IJ\3\2KN\3\2OP\3\2\4\4\3\2"= )=0D + buf.write("\26\26\2\u03d8\2\u0093\3\2\2\2\4\u00a8\3\2\2\2\6\u00ab"= )=0D + buf.write("\3\2\2\2\b\u00bd\3\2\2\2\n\u00d0\3\2\2\2\f\u00d2\3\2\2"= )=0D + buf.write("\2\16\u00da\3\2\2\2\20\u00df\3\2\2\2\22\u00f9\3\2\2\2")= =0D + buf.write("\24\u00fb\3\2\2\2\26\u0108\3\2\2\2\30\u010a\3\2\2\2\32"= )=0D + buf.write("\u010d\3\2\2\2\34\u0111\3\2\2\2\36\u0117\3\2\2\2 \u011b= ")=0D + buf.write("\3\2\2\2\"\u012a\3\2\2\2$\u013f\3\2\2\2&\u0141\3\2\2\2"= )=0D + buf.write("(\u0149\3\2\2\2*\u014e\3\2\2\2,\u015e\3\2\2\2.\u0172\3"= )=0D + buf.write("\2\2\2\60\u0184\3\2\2\2\62\u0192\3\2\2\2\64\u0194\3\2")= =0D + buf.write("\2\2\66\u019c\3\2\2\28\u01b9\3\2\2\2:\u01bb\3\2\2\2<\u0= 1c8")=0D + buf.write("\3\2\2\2>\u01cf\3\2\2\2@\u01d6\3\2\2\2B\u01ea\3\2\2\2")= =0D + buf.write("D\u01f4\3\2\2\2F\u01f6\3\2\2\2H\u01fe\3\2\2\2J\u020c\3"= )=0D + buf.write("\2\2\2L\u0216\3\2\2\2N\u0228\3\2\2\2P\u0239\3\2\2\2R\u0= 23b")=0D + buf.write("\3\2\2\2T\u025d\3\2\2\2V\u0265\3\2\2\2X\u026d\3\2\2\2")= =0D + buf.write("Z\u0289\3\2\2\2\\\u028b\3\2\2\2^\u0293\3\2\2\2`\u029a")= =0D + buf.write("\3\2\2\2b\u029c\3\2\2\2d\u029e\3\2\2\2f\u02a0\3\2\2\2")= =0D + buf.write("h\u02a9\3\2\2\2j\u02b1\3\2\2\2l\u02b9\3\2\2\2n\u02c1\3"= )=0D + buf.write("\2\2\2p\u02c9\3\2\2\2r\u02d1\3\2\2\2t\u02d9\3\2\2\2v\u0= 2e1")=0D + buf.write("\3\2\2\2x\u02f4\3\2\2\2z\u02f7\3\2\2\2|\u0304\3\2\2\2")= =0D + buf.write("~\u030e\3\2\2\2\u0080\u0318\3\2\2\2\u0082\u0333\3\2\2")= =0D + buf.write("\2\u0084\u0335\3\2\2\2\u0086\u0342\3\2\2\2\u0088\u034a"= )=0D + buf.write("\3\2\2\2\u008a\u035c\3\2\2\2\u008c\u036e\3\2\2\2\u008e"= )=0D + buf.write("\u037d\3\2\2\2\u0090\u0092\5\4\3\2\u0091\u0090\3\2\2\2"= )=0D + buf.write("\u0092\u0095\3\2\2\2\u0093\u0091\3\2\2\2\u0093\u0094\3"= )=0D + buf.write("\2\2\2\u0094\3\3\2\2\2\u0095\u0093\3\2\2\2\u0096\u0098"= )=0D + buf.write("\5\b\5\2\u0097\u0096\3\2\2\2\u0097\u0098\3\2\2\2\u0098"= )=0D + buf.write("\u0099\3\2\2\2\u0099\u009d\5,\27\2\u009a\u009c\5\n\6\2"= )=0D + buf.write("\u009b\u009a\3\2\2\2\u009c\u009f\3\2\2\2\u009d\u009b\3"= )=0D + buf.write("\2\2\2\u009d\u009e\3\2\2\2\u009e\u00a0\3\2\2\2\u009f\u0= 09d")=0D + buf.write("\3\2\2\2\u00a0\u00a1\7\3\2\2\u00a1\u00a9\3\2\2\2\u00a2"= )=0D + buf.write("\u00a9\5\6\4\2\u00a3\u00a9\5\n\6\2\u00a4\u00a6\5\u0080"= )=0D + buf.write("A\2\u00a5\u00a7\7\4\2\2\u00a6\u00a5\3\2\2\2\u00a6\u00a7= ")=0D + buf.write("\3\2\2\2\u00a7\u00a9\3\2\2\2\u00a8\u0097\3\2\2\2\u00a8"= )=0D + buf.write("\u00a2\3\2\2\2\u00a8\u00a3\3\2\2\2\u00a8\u00a4\3\2\2\2"= )=0D + buf.write("\u00a9\5\3\2\2\2\u00aa\u00ac\5\b\5\2\u00ab\u00aa\3\2\2"= )=0D + buf.write("\2\u00ab\u00ac\3\2\2\2\u00ac\u00ad\3\2\2\2\u00ad\u00b6"= )=0D + buf.write("\5,\27\2\u00ae\u00b0\5\n\6\2\u00af\u00ae\3\2\2\2\u00b0"= )=0D + buf.write("\u00b1\3\2\2\2\u00b1\u00af\3\2\2\2\u00b1\u00b2\3\2\2\2"= )=0D + buf.write("\u00b2\u00b3\3\2\2\2\u00b3\u00b4\5\u0084C\2\u00b4\u00b7= ")=0D + buf.write("\3\2\2\2\u00b5\u00b7\5\u0084C\2\u00b6\u00af\3\2\2\2\u00= b6")=0D + buf.write("\u00b5\3\2\2\2\u00b7\u00b8\3\2\2\2\u00b8\u00b9\b\4\1\2"= )=0D + buf.write("\u00b9\7\3\2\2\2\u00ba\u00be\5\20\t\2\u00bb\u00be\5\22"= )=0D + buf.write("\n\2\u00bc\u00be\5*\26\2\u00bd\u00ba\3\2\2\2\u00bd\u00b= b")=0D + buf.write("\3\2\2\2\u00bd\u00bc\3\2\2\2\u00be\u00bf\3\2\2\2\u00bf"= )=0D + buf.write("\u00bd\3\2\2\2\u00bf\u00c0\3\2\2\2\u00c0\t\3\2\2\2\u00c= 1")=0D + buf.write("\u00c3\7\5\2\2\u00c2\u00c4\5\b\5\2\u00c3\u00c2\3\2\2\2"= )=0D + buf.write("\u00c3\u00c4\3\2\2\2\u00c4\u00c5\3\2\2\2\u00c5\u00c6\5"= )=0D + buf.write("\f\7\2\u00c6\u00c7\7\4\2\2\u00c7\u00c8\b\6\1\2\u00c8\u0= 0d1")=0D + buf.write("\3\2\2\2\u00c9\u00cb\5\b\5\2\u00ca\u00cc\5\f\7\2\u00cb"= )=0D + buf.write("\u00ca\3\2\2\2\u00cb\u00cc\3\2\2\2\u00cc\u00cd\3\2\2\2"= )=0D + buf.write("\u00cd\u00ce\7\4\2\2\u00ce\u00cf\b\6\1\2\u00cf\u00d1\3"= )=0D + buf.write("\2\2\2\u00d0\u00c1\3\2\2\2\u00d0\u00c9\3\2\2\2\u00d1\13= ")=0D + buf.write("\3\2\2\2\u00d2\u00d7\5\16\b\2\u00d3\u00d4\7\6\2\2\u00d4= ")=0D + buf.write("\u00d6\5\16\b\2\u00d5\u00d3\3\2\2\2\u00d6\u00d9\3\2\2")= =0D + buf.write("\2\u00d7\u00d5\3\2\2\2\u00d7\u00d8\3\2\2\2\u00d8\r\3\2"= )=0D + buf.write("\2\2\u00d9\u00d7\3\2\2\2\u00da\u00dd\5,\27\2\u00db\u00d= c")=0D + buf.write("\7\7\2\2\u00dc\u00de\5D#\2\u00dd\u00db\3\2\2\2\u00dd\u0= 0de")=0D + buf.write("\3\2\2\2\u00de\17\3\2\2\2\u00df\u00e0\t\2\2\2\u00e0\21"= )=0D + buf.write("\3\2\2\2\u00e1\u00fa\7\r\2\2\u00e2\u00fa\7\16\2\2\u00e3= ")=0D + buf.write("\u00fa\7\17\2\2\u00e4\u00fa\7\20\2\2\u00e5\u00fa\7\21")= =0D + buf.write("\2\2\u00e6\u00fa\7\22\2\2\u00e7\u00fa\7\23\2\2\u00e8\u0= 0fa")=0D + buf.write("\7\24\2\2\u00e9\u00fa\7\25\2\2\u00ea\u00eb\5\26\f\2\u00= eb")=0D + buf.write("\u00ec\b\n\1\2\u00ec\u00fa\3\2\2\2\u00ed\u00ee\5$\23\2"= )=0D + buf.write("\u00ee\u00ef\b\n\1\2\u00ef\u00fa\3\2\2\2\u00f0\u00f4\7"= )=0D + buf.write("_\2\2\u00f1\u00f3\5*\26\2\u00f2\u00f1\3\2\2\2\u00f3\u00= f6")=0D + buf.write("\3\2\2\2\u00f4\u00f2\3\2\2\2\u00f4\u00f5\3\2\2\2\u00f5"= )=0D + buf.write("\u00f7\3\2\2\2\u00f6\u00f4\3\2\2\2\u00f7\u00fa\5,\27\2"= )=0D + buf.write("\u00f8\u00fa\5\24\13\2\u00f9\u00e1\3\2\2\2\u00f9\u00e2"= )=0D + buf.write("\3\2\2\2\u00f9\u00e3\3\2\2\2\u00f9\u00e4\3\2\2\2\u00f9"= )=0D + buf.write("\u00e5\3\2\2\2\u00f9\u00e6\3\2\2\2\u00f9\u00e7\3\2\2\2"= )=0D + buf.write("\u00f9\u00e8\3\2\2\2\u00f9\u00e9\3\2\2\2\u00f9\u00ea\3"= )=0D + buf.write("\2\2\2\u00f9\u00ed\3\2\2\2\u00f9\u00f0\3\2\2\2\u00f9\u0= 0f8")=0D + buf.write("\3\2\2\2\u00fa\23\3\2\2\2\u00fb\u00fc\7_\2\2\u00fc\25")= =0D + buf.write("\3\2\2\2\u00fd\u00ff\5\30\r\2\u00fe\u0100\7_\2\2\u00ff"= )=0D + buf.write("\u00fe\3\2\2\2\u00ff\u0100\3\2\2\2\u0100\u0101\3\2\2\2"= )=0D + buf.write("\u0101\u0102\7\3\2\2\u0102\u0103\5\32\16\2\u0103\u0104"= )=0D + buf.write("\7\26\2\2\u0104\u0109\3\2\2\2\u0105\u0106\5\30\r\2\u010= 6")=0D + buf.write("\u0107\7_\2\2\u0107\u0109\3\2\2\2\u0108\u00fd\3\2\2\2")= =0D + buf.write("\u0108\u0105\3\2\2\2\u0109\27\3\2\2\2\u010a\u010b\t\3")= =0D + buf.write("\2\2\u010b\31\3\2\2\2\u010c\u010e\5\34\17\2\u010d\u010c= ")=0D + buf.write("\3\2\2\2\u010e\u010f\3\2\2\2\u010f\u010d\3\2\2\2\u010f"= )=0D + buf.write("\u0110\3\2\2\2\u0110\33\3\2\2\2\u0111\u0112\5\36\20\2")= =0D + buf.write("\u0112\u0113\5 \21\2\u0113\u0114\7\4\2\2\u0114\35\3\2")= =0D + buf.write("\2\2\u0115\u0118\5*\26\2\u0116\u0118\5\22\n\2\u0117\u01= 15")=0D + buf.write("\3\2\2\2\u0117\u0116\3\2\2\2\u0118\u0119\3\2\2\2\u0119"= )=0D + buf.write("\u0117\3\2\2\2\u0119\u011a\3\2\2\2\u011a\37\3\2\2\2\u01= 1b")=0D + buf.write("\u0120\5\"\22\2\u011c\u011d\7\6\2\2\u011d\u011f\5\"\22"= )=0D + buf.write("\2\u011e\u011c\3\2\2\2\u011f\u0122\3\2\2\2\u0120\u011e"= )=0D + buf.write("\3\2\2\2\u0120\u0121\3\2\2\2\u0121!\3\2\2\2\u0122\u0120= ")=0D + buf.write("\3\2\2\2\u0123\u0126\5,\27\2\u0124\u0125\7\31\2\2\u0125= ")=0D + buf.write("\u0127\5^\60\2\u0126\u0124\3\2\2\2\u0126\u0127\3\2\2\2"= )=0D + buf.write("\u0127\u012b\3\2\2\2\u0128\u0129\7\31\2\2\u0129\u012b")= =0D + buf.write("\5^\60\2\u012a\u0123\3\2\2\2\u012a\u0128\3\2\2\2\u012b"= )=0D + buf.write("#\3\2\2\2\u012c\u012d\7\32\2\2\u012d\u012e\7\3\2\2\u012= e")=0D + buf.write("\u0130\5&\24\2\u012f\u0131\7\6\2\2\u0130\u012f\3\2\2\2"= )=0D + buf.write("\u0130\u0131\3\2\2\2\u0131\u0132\3\2\2\2\u0132\u0133\7"= )=0D + buf.write("\26\2\2\u0133\u0140\3\2\2\2\u0134\u0135\7\32\2\2\u0135"= )=0D + buf.write("\u0136\7_\2\2\u0136\u0137\7\3\2\2\u0137\u0139\5&\24\2")= =0D + buf.write("\u0138\u013a\7\6\2\2\u0139\u0138\3\2\2\2\u0139\u013a\3"= )=0D + buf.write("\2\2\2\u013a\u013b\3\2\2\2\u013b\u013c\7\26\2\2\u013c")= =0D + buf.write("\u0140\3\2\2\2\u013d\u013e\7\32\2\2\u013e\u0140\7_\2\2"= )=0D + buf.write("\u013f\u012c\3\2\2\2\u013f\u0134\3\2\2\2\u013f\u013d\3"= )=0D + buf.write("\2\2\2\u0140%\3\2\2\2\u0141\u0146\5(\25\2\u0142\u0143")= =0D + buf.write("\7\6\2\2\u0143\u0145\5(\25\2\u0144\u0142\3\2\2\2\u0145"= )=0D + buf.write("\u0148\3\2\2\2\u0146\u0144\3\2\2\2\u0146\u0147\3\2\2\2"= )=0D + buf.write("\u0147\'\3\2\2\2\u0148\u0146\3\2\2\2\u0149\u014c\7_\2")= =0D + buf.write("\2\u014a\u014b\7\7\2\2\u014b\u014d\5^\60\2\u014c\u014a"= )=0D + buf.write("\3\2\2\2\u014c\u014d\3\2\2\2\u014d)\3\2\2\2\u014e\u014f= ")=0D + buf.write("\t\4\2\2\u014f+\3\2\2\2\u0150\u0152\5\62\32\2\u0151\u01= 50")=0D + buf.write("\3\2\2\2\u0151\u0152\3\2\2\2\u0152\u0154\3\2\2\2\u0153"= )=0D + buf.write("\u0155\7$\2\2\u0154\u0153\3\2\2\2\u0154\u0155\3\2\2\2")= =0D + buf.write("\u0155\u0157\3\2\2\2\u0156\u0158\7%\2\2\u0157\u0156\3")= =0D + buf.write("\2\2\2\u0157\u0158\3\2\2\2\u0158\u015a\3\2\2\2\u0159\u0= 15b")=0D + buf.write("\7&\2\2\u015a\u0159\3\2\2\2\u015a\u015b\3\2\2\2\u015b")= =0D + buf.write("\u015c\3\2\2\2\u015c\u015f\5.\30\2\u015d\u015f\5\62\32"= )=0D + buf.write("\2\u015e\u0151\3\2\2\2\u015e\u015d\3\2\2\2\u015f-\3\2")= =0D + buf.write("\2\2\u0160\u0164\7_\2\2\u0161\u0163\5\60\31\2\u0162\u01= 61")=0D + buf.write("\3\2\2\2\u0163\u0166\3\2\2\2\u0164\u0162\3\2\2\2\u0164"= )=0D + buf.write("\u0165\3\2\2\2\u0165\u0173\3\2\2\2\u0166\u0164\3\2\2\2"= )=0D + buf.write("\u0167\u0169\7(\2\2\u0168\u016a\7$\2\2\u0169\u0168\3\2"= )=0D + buf.write("\2\2\u0169\u016a\3\2\2\2\u016a\u016b\3\2\2\2\u016b\u016= c")=0D + buf.write("\5,\27\2\u016c\u016e\7)\2\2\u016d\u016f\5\60\31\2\u016e= ")=0D + buf.write("\u016d\3\2\2\2\u016f\u0170\3\2\2\2\u0170\u016e\3\2\2\2"= )=0D + buf.write("\u0170\u0171\3\2\2\2\u0171\u0173\3\2\2\2\u0172\u0160\3"= )=0D + buf.write("\2\2\2\u0172\u0167\3\2\2\2\u0173/\3\2\2\2\u0174\u0175")= =0D + buf.write("\7*\2\2\u0175\u0176\5^\60\2\u0176\u0177\7+\2\2\u0177\u0= 185")=0D + buf.write("\3\2\2\2\u0178\u0179\7*\2\2\u0179\u0185\7+\2\2\u017a\u0= 17b")=0D + buf.write("\7(\2\2\u017b\u017c\5\64\33\2\u017c\u017d\7)\2\2\u017d"= )=0D + buf.write("\u0185\3\2\2\2\u017e\u017f\7(\2\2\u017f\u0180\5:\36\2")= =0D + buf.write("\u0180\u0181\7)\2\2\u0181\u0185\3\2\2\2\u0182\u0183\7")= =0D + buf.write("(\2\2\u0183\u0185\7)\2\2\u0184\u0174\3\2\2\2\u0184\u017= 8")=0D + buf.write("\3\2\2\2\u0184\u017a\3\2\2\2\u0184\u017e\3\2\2\2\u0184"= )=0D + buf.write("\u0182\3\2\2\2\u0185\61\3\2\2\2\u0186\u0188\7,\2\2\u018= 7")=0D + buf.write("\u0189\5*\26\2\u0188\u0187\3\2\2\2\u0189\u018a\3\2\2\2"= )=0D + buf.write("\u018a\u0188\3\2\2\2\u018a\u018b\3\2\2\2\u018b\u018d\3"= )=0D + buf.write("\2\2\2\u018c\u018e\5\62\32\2\u018d\u018c\3\2\2\2\u018d"= )=0D + buf.write("\u018e\3\2\2\2\u018e\u0193\3\2\2\2\u018f\u0190\7,\2\2")= =0D + buf.write("\u0190\u0193\5\62\32\2\u0191\u0193\7,\2\2\u0192\u0186")= =0D + buf.write("\3\2\2\2\u0192\u018f\3\2\2\2\u0192\u0191\3\2\2\2\u0193"= )=0D + buf.write("\63\3\2\2\2\u0194\u019a\5\66\34\2\u0195\u0197\7\6\2\2")= =0D + buf.write("\u0196\u0198\7\37\2\2\u0197\u0196\3\2\2\2\u0197\u0198")= =0D + buf.write("\3\2\2\2\u0198\u0199\3\2\2\2\u0199\u019b\7-\2\2\u019a")= =0D + buf.write("\u0195\3\2\2\2\u019a\u019b\3\2\2\2\u019b\65\3\2\2\2\u01= 9c")=0D + buf.write("\u01a4\58\35\2\u019d\u019f\7\6\2\2\u019e\u01a0\7\37\2")= =0D + buf.write("\2\u019f\u019e\3\2\2\2\u019f\u01a0\3\2\2\2\u01a0\u01a1"= )=0D + buf.write("\3\2\2\2\u01a1\u01a3\58\35\2\u01a2\u019d\3\2\2\2\u01a3"= )=0D + buf.write("\u01a6\3\2\2\2\u01a4\u01a2\3\2\2\2\u01a4\u01a5\3\2\2\2"= )=0D + buf.write("\u01a5\67\3\2\2\2\u01a6\u01a4\3\2\2\2\u01a7\u01ac\5\b")= =0D + buf.write("\5\2\u01a8\u01ab\5,\27\2\u01a9\u01ab\5> \2\u01aa\u01a8"= )=0D + buf.write("\3\2\2\2\u01aa\u01a9\3\2\2\2\u01ab\u01ae\3\2\2\2\u01ac"= )=0D + buf.write("\u01aa\3\2\2\2\u01ac\u01ad\3\2\2\2\u01ad\u01b0\3\2\2\2"= )=0D + buf.write("\u01ae\u01ac\3\2\2\2\u01af\u01b1\7\37\2\2\u01b0\u01af")= =0D + buf.write("\3\2\2\2\u01b0\u01b1\3\2\2\2\u01b1\u01ba\3\2\2\2\u01b2"= )=0D + buf.write("\u01b4\5\62\32\2\u01b3\u01b2\3\2\2\2\u01b4\u01b7\3\2\2"= )=0D + buf.write("\2\u01b5\u01b3\3\2\2\2\u01b5\u01b6\3\2\2\2\u01b6\u01b8"= )=0D + buf.write("\3\2\2\2\u01b7\u01b5\3\2\2\2\u01b8\u01ba\7_\2\2\u01b9")= =0D + buf.write("\u01a7\3\2\2\2\u01b9\u01b5\3\2\2\2\u01ba9\3\2\2\2\u01bb= ")=0D + buf.write("\u01c0\7_\2\2\u01bc\u01bd\7\6\2\2\u01bd\u01bf\7_\2\2\u0= 1be")=0D + buf.write("\u01bc\3\2\2\2\u01bf\u01c2\3\2\2\2\u01c0\u01be\3\2\2\2"= )=0D + buf.write("\u01c0\u01c1\3\2\2\2\u01c1;\3\2\2\2\u01c2\u01c0\3\2\2")= =0D + buf.write("\2\u01c3\u01c5\5\36\20\2\u01c4\u01c6\5> \2\u01c5\u01c4"= )=0D + buf.write("\3\2\2\2\u01c5\u01c6\3\2\2\2\u01c6\u01c9\3\2\2\2\u01c7"= )=0D + buf.write("\u01c9\5\24\13\2\u01c8\u01c3\3\2\2\2\u01c8\u01c7\3\2\2"= )=0D + buf.write("\2\u01c9=3D\3\2\2\2\u01ca\u01cc\5\62\32\2\u01cb\u01cd\5= ")=0D + buf.write("@!\2\u01cc\u01cb\3\2\2\2\u01cc\u01cd\3\2\2\2\u01cd\u01d= 0")=0D + buf.write("\3\2\2\2\u01ce\u01d0\5@!\2\u01cf\u01ca\3\2\2\2\u01cf\u0= 1ce")=0D + buf.write("\3\2\2\2\u01d0?\3\2\2\2\u01d1\u01d2\7(\2\2\u01d2\u01d3"= )=0D + buf.write("\5> \2\u01d3\u01d4\7)\2\2\u01d4\u01d7\3\2\2\2\u01d5\u01= d7")=0D + buf.write("\5B\"\2\u01d6\u01d1\3\2\2\2\u01d6\u01d5\3\2\2\2\u01d7")= =0D + buf.write("\u01db\3\2\2\2\u01d8\u01da\5B\"\2\u01d9\u01d8\3\2\2\2")= =0D + buf.write("\u01da\u01dd\3\2\2\2\u01db\u01d9\3\2\2\2\u01db\u01dc\3"= )=0D + buf.write("\2\2\2\u01dcA\3\2\2\2\u01dd\u01db\3\2\2\2\u01de\u01df")= =0D + buf.write("\7*\2\2\u01df\u01eb\7+\2\2\u01e0\u01e1\7*\2\2\u01e1\u01= e2")=0D + buf.write("\5^\60\2\u01e2\u01e3\7+\2\2\u01e3\u01eb\3\2\2\2\u01e4")= =0D + buf.write("\u01e5\7(\2\2\u01e5\u01eb\7)\2\2\u01e6\u01e7\7(\2\2\u01= e7")=0D + buf.write("\u01e8\5\64\33\2\u01e8\u01e9\7)\2\2\u01e9\u01eb\3\2\2")= =0D + buf.write("\2\u01ea\u01de\3\2\2\2\u01ea\u01e0\3\2\2\2\u01ea\u01e4"= )=0D + buf.write("\3\2\2\2\u01ea\u01e6\3\2\2\2\u01ebC\3\2\2\2\u01ec\u01f5= ")=0D + buf.write("\5`\61\2\u01ed\u01ee\7\3\2\2\u01ee\u01f0\5F$\2\u01ef\u0= 1f1")=0D + buf.write("\7\6\2\2\u01f0\u01ef\3\2\2\2\u01f0\u01f1\3\2\2\2\u01f1"= )=0D + buf.write("\u01f2\3\2\2\2\u01f2\u01f3\7\26\2\2\u01f3\u01f5\3\2\2")= =0D + buf.write("\2\u01f4\u01ec\3\2\2\2\u01f4\u01ed\3\2\2\2\u01f5E\3\2")= =0D + buf.write("\2\2\u01f6\u01fb\5D#\2\u01f7\u01f8\7\6\2\2\u01f8\u01fa"= )=0D + buf.write("\5D#\2\u01f9\u01f7\3\2\2\2\u01fa\u01fd\3\2\2\2\u01fb\u0= 1f9")=0D + buf.write("\3\2\2\2\u01fb\u01fc\3\2\2\2\u01fcG\3\2\2\2\u01fd\u01fb= ")=0D + buf.write("\3\2\2\2\u01fe\u0200\5`\61\2\u01ff\u0201\7\37\2\2\u0200= ")=0D + buf.write("\u01ff\3\2\2\2\u0200\u0201\3\2\2\2\u0201\u0209\3\2\2\2"= )=0D + buf.write("\u0202\u0203\7\6\2\2\u0203\u0205\5`\61\2\u0204\u0206\7"= )=0D + buf.write("\37\2\2\u0205\u0204\3\2\2\2\u0205\u0206\3\2\2\2\u0206")= =0D + buf.write("\u0208\3\2\2\2\u0207\u0202\3\2\2\2\u0208\u020b\3\2\2\2"= )=0D + buf.write("\u0209\u0207\3\2\2\2\u0209\u020a\3\2\2\2\u020aI\3\2\2")= =0D + buf.write("\2\u020b\u0209\3\2\2\2\u020c\u0213\5L\'\2\u020d\u020e")= =0D + buf.write("\7.\2\2\u020e\u0212\5L\'\2\u020f\u0210\7/\2\2\u0210\u02= 12")=0D + buf.write("\5L\'\2\u0211\u020d\3\2\2\2\u0211\u020f\3\2\2\2\u0212")= =0D + buf.write("\u0215\3\2\2\2\u0213\u0211\3\2\2\2\u0213\u0214\3\2\2\2"= )=0D + buf.write("\u0214K\3\2\2\2\u0215\u0213\3\2\2\2\u0216\u021f\5N(\2")= =0D + buf.write("\u0217\u0218\7,\2\2\u0218\u021e\5N(\2\u0219\u021a\7\60"= )=0D + buf.write("\2\2\u021a\u021e\5N(\2\u021b\u021c\7\61\2\2\u021c\u021e= ")=0D + buf.write("\5N(\2\u021d\u0217\3\2\2\2\u021d\u0219\3\2\2\2\u021d\u0= 21b")=0D + buf.write("\3\2\2\2\u021e\u0221\3\2\2\2\u021f\u021d\3\2\2\2\u021f"= )=0D + buf.write("\u0220\3\2\2\2\u0220M\3\2\2\2\u0221\u021f\3\2\2\2\u0222= ")=0D + buf.write("\u0223\7(\2\2\u0223\u0224\5<\37\2\u0224\u0225\7)\2\2\u0= 225")=0D + buf.write("\u0226\5N(\2\u0226\u0229\3\2\2\2\u0227\u0229\5P)\2\u022= 8")=0D + buf.write("\u0222\3\2\2\2\u0228\u0227\3\2\2\2\u0229O\3\2\2\2\u022a= ")=0D + buf.write("\u023a\5R*\2\u022b\u022c\7\62\2\2\u022c\u023a\5P)\2\u02= 2d")=0D + buf.write("\u022e\7\63\2\2\u022e\u023a\5P)\2\u022f\u0230\5V,\2\u02= 30")=0D + buf.write("\u0231\5N(\2\u0231\u023a\3\2\2\2\u0232\u0233\7\64\2\2")= =0D + buf.write("\u0233\u023a\5P)\2\u0234\u0235\7\64\2\2\u0235\u0236\7")= =0D + buf.write("(\2\2\u0236\u0237\5<\37\2\u0237\u0238\7)\2\2\u0238\u023= a")=0D + buf.write("\3\2\2\2\u0239\u022a\3\2\2\2\u0239\u022b\3\2\2\2\u0239"= )=0D + buf.write("\u022d\3\2\2\2\u0239\u022f\3\2\2\2\u0239\u0232\3\2\2\2"= )=0D + buf.write("\u0239\u0234\3\2\2\2\u023aQ\3\2\2\2\u023b\u023c\5X-\2")= =0D + buf.write("\u023c\u025a\b*\1\2\u023d\u023e\7*\2\2\u023e\u023f\5\\"= )=0D + buf.write("/\2\u023f\u0240\7+\2\2\u0240\u0259\3\2\2\2\u0241\u0242"= )=0D + buf.write("\7(\2\2\u0242\u0243\7)\2\2\u0243\u0259\b*\1\2\u0244\u02= 45")=0D + buf.write("\7(\2\2\u0245\u0246\5H%\2\u0246\u0247\7)\2\2\u0247\u024= 8")=0D + buf.write("\b*\1\2\u0248\u0259\3\2\2\2\u0249\u024a\7(\2\2\u024a\u0= 24b")=0D + buf.write("\5T+\2\u024b\u024c\7)\2\2\u024c\u0259\3\2\2\2\u024d\u02= 4e")=0D + buf.write("\7\65\2\2\u024e\u024f\7_\2\2\u024f\u0259\b*\1\2\u0250")= =0D + buf.write("\u0251\7,\2\2\u0251\u0252\7_\2\2\u0252\u0259\b*\1\2\u02= 53")=0D + buf.write("\u0254\7\66\2\2\u0254\u0255\7_\2\2\u0255\u0259\b*\1\2")= =0D + buf.write("\u0256\u0259\7\62\2\2\u0257\u0259\7\63\2\2\u0258\u023d"= )=0D + buf.write("\3\2\2\2\u0258\u0241\3\2\2\2\u0258\u0244\3\2\2\2\u0258"= )=0D + buf.write("\u0249\3\2\2\2\u0258\u024d\3\2\2\2\u0258\u0250\3\2\2\2"= )=0D + buf.write("\u0258\u0253\3\2\2\2\u0258\u0256\3\2\2\2\u0258\u0257\3"= )=0D + buf.write("\2\2\2\u0259\u025c\3\2\2\2\u025a\u0258\3\2\2\2\u025a\u0= 25b")=0D + buf.write("\3\2\2\2\u025bS\3\2\2\2\u025c\u025a\3\2\2\2\u025d\u0262= ")=0D + buf.write("\58\35\2\u025e\u025f\7\6\2\2\u025f\u0261\58\35\2\u0260"= )=0D + buf.write("\u025e\3\2\2\2\u0261\u0264\3\2\2\2\u0262\u0260\3\2\2\2"= )=0D + buf.write("\u0262\u0263\3\2\2\2\u0263U\3\2\2\2\u0264\u0262\3\2\2")= =0D + buf.write("\2\u0265\u0266\t\5\2\2\u0266W\3\2\2\2\u0267\u026e\7_\2"= )=0D + buf.write("\2\u0268\u026e\5Z.\2\u0269\u026a\7(\2\2\u026a\u026b\5")= =0D + buf.write("\\/\2\u026b\u026c\7)\2\2\u026c\u026e\3\2\2\2\u026d\u026= 7")=0D + buf.write("\3\2\2\2\u026d\u0268\3\2\2\2\u026d\u0269\3\2\2\2\u026e"= )=0D + buf.write("Y\3\2\2\2\u026f\u028a\7b\2\2\u0270\u028a\7d\2\2\u0271")= =0D + buf.write("\u028a\7c\2\2\u0272\u028a\7`\2\2\u0273\u0275\7_\2\2\u02= 74")=0D + buf.write("\u0273\3\2\2\2\u0275\u0278\3\2\2\2\u0276\u0274\3\2\2\2"= )=0D + buf.write("\u0276\u0277\3\2\2\2\u0277\u027a\3\2\2\2\u0278\u0276\3"= )=0D + buf.write("\2\2\2\u0279\u027b\7a\2\2\u027a\u0279\3\2\2\2\u027b\u02= 7c")=0D + buf.write("\3\2\2\2\u027c\u027a\3\2\2\2\u027c\u027d\3\2\2\2\u027d"= )=0D + buf.write("\u027f\3\2\2\2\u027e\u0276\3\2\2\2\u027f\u0280\3\2\2\2"= )=0D + buf.write("\u0280\u027e\3\2\2\2\u0280\u0281\3\2\2\2\u0281\u0285\3"= )=0D + buf.write("\2\2\2\u0282\u0284\7_\2\2\u0283\u0282\3\2\2\2\u0284\u02= 87")=0D + buf.write("\3\2\2\2\u0285\u0283\3\2\2\2\u0285\u0286\3\2\2\2\u0286"= )=0D + buf.write("\u028a\3\2\2\2\u0287\u0285\3\2\2\2\u0288\u028a\7e\2\2")= =0D + buf.write("\u0289\u026f\3\2\2\2\u0289\u0270\3\2\2\2\u0289\u0271\3"= )=0D + buf.write("\2\2\2\u0289\u0272\3\2\2\2\u0289\u027e\3\2\2\2\u0289\u0= 288")=0D + buf.write("\3\2\2\2\u028a[\3\2\2\2\u028b\u0290\5`\61\2\u028c\u028d= ")=0D + buf.write("\7\6\2\2\u028d\u028f\5`\61\2\u028e\u028c\3\2\2\2\u028f"= )=0D + buf.write("\u0292\3\2\2\2\u0290\u028e\3\2\2\2\u0290\u0291\3\2\2\2"= )=0D + buf.write("\u0291]\3\2\2\2\u0292\u0290\3\2\2\2\u0293\u0294\5f\64")= =0D + buf.write("\2\u0294_\3\2\2\2\u0295\u0296\5b\62\2\u0296\u0297\5d\63= ")=0D + buf.write("\2\u0297\u0298\5`\61\2\u0298\u029b\3\2\2\2\u0299\u029b"= )=0D + buf.write("\5f\64\2\u029a\u0295\3\2\2\2\u029a\u0299\3\2\2\2\u029b"= )=0D + buf.write("a\3\2\2\2\u029c\u029d\5P)\2\u029dc\3\2\2\2\u029e\u029f"= )=0D + buf.write("\t\6\2\2\u029fe\3\2\2\2\u02a0\u02a7\5h\65\2\u02a1\u02a2= ")=0D + buf.write("\7D\2\2\u02a2\u02a3\5\\/\2\u02a3\u02a4\7\31\2\2\u02a4")= =0D + buf.write("\u02a5\5f\64\2\u02a5\u02a6\b\64\1\2\u02a6\u02a8\3\2\2")= =0D + buf.write("\2\u02a7\u02a1\3\2\2\2\u02a7\u02a8\3\2\2\2\u02a8g\3\2")= =0D + buf.write("\2\2\u02a9\u02ae\5j\66\2\u02aa\u02ab\7E\2\2\u02ab\u02ad= ")=0D + buf.write("\5j\66\2\u02ac\u02aa\3\2\2\2\u02ad\u02b0\3\2\2\2\u02ae"= )=0D + buf.write("\u02ac\3\2\2\2\u02ae\u02af\3\2\2\2\u02afi\3\2\2\2\u02b0= ")=0D + buf.write("\u02ae\3\2\2\2\u02b1\u02b6\5l\67\2\u02b2\u02b3\7F\2\2")= =0D + buf.write("\u02b3\u02b5\5l\67\2\u02b4\u02b2\3\2\2\2\u02b5\u02b8\3"= )=0D + buf.write("\2\2\2\u02b6\u02b4\3\2\2\2\u02b6\u02b7\3\2\2\2\u02b7k")= =0D + buf.write("\3\2\2\2\u02b8\u02b6\3\2\2\2\u02b9\u02be\5n8\2\u02ba\u0= 2bb")=0D + buf.write("\7G\2\2\u02bb\u02bd\5n8\2\u02bc\u02ba\3\2\2\2\u02bd\u02= c0")=0D + buf.write("\3\2\2\2\u02be\u02bc\3\2\2\2\u02be\u02bf\3\2\2\2\u02bf"= )=0D + buf.write("m\3\2\2\2\u02c0\u02be\3\2\2\2\u02c1\u02c6\5p9\2\u02c2")= =0D + buf.write("\u02c3\7H\2\2\u02c3\u02c5\5p9\2\u02c4\u02c2\3\2\2\2\u02= c5")=0D + buf.write("\u02c8\3\2\2\2\u02c6\u02c4\3\2\2\2\u02c6\u02c7\3\2\2\2"= )=0D + buf.write("\u02c7o\3\2\2\2\u02c8\u02c6\3\2\2\2\u02c9\u02ce\5r:\2")= =0D + buf.write("\u02ca\u02cb\7\67\2\2\u02cb\u02cd\5r:\2\u02cc\u02ca\3")= =0D + buf.write("\2\2\2\u02cd\u02d0\3\2\2\2\u02ce\u02cc\3\2\2\2\u02ce\u0= 2cf")=0D + buf.write("\3\2\2\2\u02cfq\3\2\2\2\u02d0\u02ce\3\2\2\2\u02d1\u02d6= ")=0D + buf.write("\5t;\2\u02d2\u02d3\t\7\2\2\u02d3\u02d5\5t;\2\u02d4\u02d= 2")=0D + buf.write("\3\2\2\2\u02d5\u02d8\3\2\2\2\u02d6\u02d4\3\2\2\2\u02d6"= )=0D + buf.write("\u02d7\3\2\2\2\u02d7s\3\2\2\2\u02d8\u02d6\3\2\2\2\u02d9= ")=0D + buf.write("\u02de\5v<\2\u02da\u02db\t\b\2\2\u02db\u02dd\5v<\2\u02d= c")=0D + buf.write("\u02da\3\2\2\2\u02dd\u02e0\3\2\2\2\u02de\u02dc\3\2\2\2"= )=0D + buf.write("\u02de\u02df\3\2\2\2\u02dfu\3\2\2\2\u02e0\u02de\3\2\2")= =0D + buf.write("\2\u02e1\u02e6\5J&\2\u02e2\u02e3\t\t\2\2\u02e3\u02e5\5"= )=0D + buf.write("J&\2\u02e4\u02e2\3\2\2\2\u02e5\u02e8\3\2\2\2\u02e6\u02e= 4")=0D + buf.write("\3\2\2\2\u02e6\u02e7\3\2\2\2\u02e7w\3\2\2\2\u02e8\u02e6= ")=0D + buf.write("\3\2\2\2\u02e9\u02f5\5\u0082B\2\u02ea\u02f5\5\u0084C\2"= )=0D + buf.write("\u02eb\u02f5\5\u0088E\2\u02ec\u02f5\5\u008aF\2\u02ed\u0= 2f5")=0D + buf.write("\5\u008cG\2\u02ee\u02f5\5\u008eH\2\u02ef\u02f5\5\u0080"= )=0D + buf.write("A\2\u02f0\u02f5\5z>\2\u02f1\u02f5\5|?\2\u02f2\u02f5\5")= =0D + buf.write("~@\2\u02f3\u02f5\5\n\6\2\u02f4\u02e9\3\2\2\2\u02f4\u02e= a")=0D + buf.write("\3\2\2\2\u02f4\u02eb\3\2\2\2\u02f4\u02ec\3\2\2\2\u02f4"= )=0D + buf.write("\u02ed\3\2\2\2\u02f4\u02ee\3\2\2\2\u02f4\u02ef\3\2\2\2"= )=0D + buf.write("\u02f4\u02f0\3\2\2\2\u02f4\u02f1\3\2\2\2\u02f4\u02f2\3"= )=0D + buf.write("\2\2\2\u02f4\u02f3\3\2\2\2\u02f5y\3\2\2\2\u02f6\u02f8")= =0D + buf.write("\7Q\2\2\u02f7\u02f6\3\2\2\2\u02f7\u02f8\3\2\2\2\u02f8")= =0D + buf.write("\u02f9\3\2\2\2\u02f9\u02fa\7_\2\2\u02fa\u02fe\7(\2\2\u0= 2fb")=0D + buf.write("\u02fd\n\n\2\2\u02fc\u02fb\3\2\2\2\u02fd\u0300\3\2\2\2"= )=0D + buf.write("\u02fe\u02fc\3\2\2\2\u02fe\u02ff\3\2\2\2\u02ff\u0301\3"= )=0D + buf.write("\2\2\2\u0300\u02fe\3\2\2\2\u0301\u0302\7)\2\2\u0302\u03= 03")=0D + buf.write("\7\4\2\2\u0303{\3\2\2\2\u0304\u0305\7R\2\2\u0305\u0309"= )=0D + buf.write("\7\3\2\2\u0306\u0308\n\13\2\2\u0307\u0306\3\2\2\2\u0308= ")=0D + buf.write("\u030b\3\2\2\2\u0309\u0307\3\2\2\2\u0309\u030a\3\2\2\2"= )=0D + buf.write("\u030a\u030c\3\2\2\2\u030b\u0309\3\2\2\2\u030c\u030d\7"= )=0D + buf.write("\26\2\2\u030d}\3\2\2\2\u030e\u030f\7S\2\2\u030f\u0313")= =0D + buf.write("\7\3\2\2\u0310\u0312\n\13\2\2\u0311\u0310\3\2\2\2\u0312= ")=0D + buf.write("\u0315\3\2\2\2\u0313\u0311\3\2\2\2\u0313\u0314\3\2\2\2"= )=0D + buf.write("\u0314\u0316\3\2\2\2\u0315\u0313\3\2\2\2\u0316\u0317\7"= )=0D + buf.write("\26\2\2\u0317\177\3\2\2\2\u0318\u0319\7_\2\2\u0319\u031= d")=0D + buf.write("\7(\2\2\u031a\u031c\5\n\6\2\u031b\u031a\3\2\2\2\u031c")= =0D + buf.write("\u031f\3\2\2\2\u031d\u031b\3\2\2\2\u031d\u031e\3\2\2\2"= )=0D + buf.write("\u031e\u0321\3\2\2\2\u031f\u031d\3\2\2\2\u0320\u0322\5"= )=0D + buf.write("\u0086D\2\u0321\u0320\3\2\2\2\u0321\u0322\3\2\2\2\u0322= ")=0D + buf.write("\u0324\3\2\2\2\u0323\u0325\5\\/\2\u0324\u0323\3\2\2\2")= =0D + buf.write("\u0324\u0325\3\2\2\2\u0325\u0326\3\2\2\2\u0326\u0327\7"= )=0D + buf.write(")\2\2\u0327\u0081\3\2\2\2\u0328\u0329\7_\2\2\u0329\u032= a")=0D + buf.write("\7\31\2\2\u032a\u0334\5x=3D\2\u032b\u032c\7T\2\2\u032c\= u032d")=0D + buf.write("\5^\60\2\u032d\u032e\7\31\2\2\u032e\u032f\5x=3D\2\u032f= ")=0D + buf.write("\u0334\3\2\2\2\u0330\u0331\7U\2\2\u0331\u0332\7\31\2\2"= )=0D + buf.write("\u0332\u0334\5x=3D\2\u0333\u0328\3\2\2\2\u0333\u032b\3\= 2")=0D + buf.write("\2\2\u0333\u0330\3\2\2\2\u0334\u0083\3\2\2\2\u0335\u033= 9")=0D + buf.write("\7\3\2\2\u0336\u0338\5\n\6\2\u0337\u0336\3\2\2\2\u0338"= )=0D + buf.write("\u033b\3\2\2\2\u0339\u0337\3\2\2\2\u0339\u033a\3\2\2\2"= )=0D + buf.write("\u033a\u033d\3\2\2\2\u033b\u0339\3\2\2\2\u033c\u033e\5"= )=0D + buf.write("\u0086D\2\u033d\u033c\3\2\2\2\u033d\u033e\3\2\2\2\u033e= ")=0D + buf.write("\u033f\3\2\2\2\u033f\u0340\7\26\2\2\u0340\u0085\3\2\2")= =0D + buf.write("\2\u0341\u0343\5x=3D\2\u0342\u0341\3\2\2\2\u0343\u0344\= 3")=0D + buf.write("\2\2\2\u0344\u0342\3\2\2\2\u0344\u0345\3\2\2\2\u0345\u0= 087")=0D + buf.write("\3\2\2\2\u0346\u034b\7\4\2\2\u0347\u0348\5\\/\2\u0348")= =0D + buf.write("\u0349\7\4\2\2\u0349\u034b\3\2\2\2\u034a\u0346\3\2\2\2"= )=0D + buf.write("\u034a\u0347\3\2\2\2\u034b\u0089\3\2\2\2\u034c\u034d\7"= )=0D + buf.write("V\2\2\u034d\u034e\7(\2\2\u034e\u034f\5\\/\2\u034f\u0350= ")=0D + buf.write("\7)\2\2\u0350\u0351\bF\1\2\u0351\u0354\5x=3D\2\u0352\u0= 353")=0D + buf.write("\7W\2\2\u0353\u0355\5x=3D\2\u0354\u0352\3\2\2\2\u0354\u= 0355")=0D + buf.write("\3\2\2\2\u0355\u035d\3\2\2\2\u0356\u0357\7X\2\2\u0357")= =0D + buf.write("\u0358\7(\2\2\u0358\u0359\5\\/\2\u0359\u035a\7)\2\2\u03= 5a")=0D + buf.write("\u035b\5x=3D\2\u035b\u035d\3\2\2\2\u035c\u034c\3\2\2\2\= u035c")=0D + buf.write("\u0356\3\2\2\2\u035d\u008b\3\2\2\2\u035e\u035f\7Y\2\2")= =0D + buf.write("\u035f\u0360\7(\2\2\u0360\u0361\5\\/\2\u0361\u0362\7)")= =0D + buf.write("\2\2\u0362\u0363\5x=3D\2\u0363\u0364\bG\1\2\u0364\u036f= ")=0D + buf.write("\3\2\2\2\u0365\u0366\7Z\2\2\u0366\u0367\5x=3D\2\u0367\u= 0368")=0D + buf.write("\7Y\2\2\u0368\u0369\7(\2\2\u0369\u036a\5\\/\2\u036a\u03= 6b")=0D + buf.write("\7)\2\2\u036b\u036c\7\4\2\2\u036c\u036d\bG\1\2\u036d\u0= 36f")=0D + buf.write("\3\2\2\2\u036e\u035e\3\2\2\2\u036e\u0365\3\2\2\2\u036f"= )=0D + buf.write("\u008d\3\2\2\2\u0370\u0371\7[\2\2\u0371\u0372\7_\2\2\u0= 372")=0D + buf.write("\u037e\7\4\2\2\u0373\u0374\7\\\2\2\u0374\u037e\7\4\2\2"= )=0D + buf.write("\u0375\u0376\7]\2\2\u0376\u037e\7\4\2\2\u0377\u0378\7")= =0D + buf.write("^\2\2\u0378\u037e\7\4\2\2\u0379\u037a\7^\2\2\u037a\u037= b")=0D + buf.write("\5\\/\2\u037b\u037c\7\4\2\2\u037c\u037e\3\2\2\2\u037d")= =0D + buf.write("\u0370\3\2\2\2\u037d\u0373\3\2\2\2\u037d\u0375\3\2\2\2"= )=0D + buf.write("\u037d\u0377\3\2\2\2\u037d\u0379\3\2\2\2\u037e\u008f\3"= )=0D + buf.write("\2\2\2o\u0093\u0097\u009d\u00a6\u00a8\u00ab\u00b1\u00b6= ")=0D + buf.write("\u00bd\u00bf\u00c3\u00cb\u00d0\u00d7\u00dd\u00f4\u00f9"= )=0D + buf.write("\u00ff\u0108\u010f\u0117\u0119\u0120\u0126\u012a\u0130"= )=0D + buf.write("\u0139\u013f\u0146\u014c\u0151\u0154\u0157\u015a\u015e"= )=0D + buf.write("\u0164\u0169\u0170\u0172\u0184\u018a\u018d\u0192\u0197"= )=0D + buf.write("\u019a\u019f\u01a4\u01aa\u01ac\u01b0\u01b5\u01b9\u01c0"= )=0D + buf.write("\u01c5\u01c8\u01cc\u01cf\u01d6\u01db\u01ea\u01f0\u01f4"= )=0D + buf.write("\u01fb\u0200\u0205\u0209\u0211\u0213\u021d\u021f\u0228"= )=0D + buf.write("\u0239\u0258\u025a\u0262\u026d\u0276\u027c\u0280\u0285"= )=0D + buf.write("\u0289\u0290\u029a\u02a7\u02ae\u02b6\u02be\u02c6\u02ce"= )=0D + buf.write("\u02d6\u02de\u02e6\u02f4\u02f7\u02fe\u0309\u0313\u031d"= )=0D + buf.write("\u0321\u0324\u0333\u0339\u033d\u0344\u034a\u0354\u035c"= )=0D + buf.write("\u036e\u037d")=0D + return buf.getvalue()=0D +=0D +=0D +class CParser ( Parser ):=0D +=0D + grammarFileName =3D "C.g4"=0D +=0D + atn =3D ATNDeserializer().deserialize(serializedATN())=0D +=0D + decisionsToDFA =3D [ DFA(ds, i) for i, ds in enumerate(atn.decisionToS= tate) ]=0D +=0D + sharedContextCache =3D PredictionContextCache()=0D +=0D + literalNames =3D [ "", "'{'", "';'", "'typedef'", "','", "'= =3D'",=0D + "'extern'", "'static'", "'auto'", "'register'", "'STA= TIC'",=0D + "'void'", "'char'", "'short'", "'int'", "'long'", "'f= loat'",=0D + "'double'", "'signed'", "'unsigned'", "'}'", "'struct= '",=0D + "'union'", "':'", "'enum'", "'const'", "'volatile'",= =0D + "'IN'", "'OUT'", "'OPTIONAL'", "'CONST'", "'UNALIGNED= '",=0D + "'VOLATILE'", "'GLOBAL_REMOVE_IF_UNREFERENCED'", "'EF= IAPI'",=0D + "'EFI_BOOTSERVICE'", "'EFI_RUNTIMESERVICE'", "'PACKED= '",=0D + "'('", "')'", "'['", "']'", "'*'", "'...'", "'+'",=0D + "'-'", "'/'", "'%'", "'++'", "'--'", "'sizeof'", "'.'= ",=0D + "'->'", "'&'", "'~'", "'!'", "'*=3D'", "'/=3D'", "'%= =3D'",=0D + "'+=3D'", "'-=3D'", "'<<=3D'", "'>>=3D'", "'&=3D'", "= '^=3D'", "'|=3D'",=0D + "'?'", "'||'", "'&&'", "'|'", "'^'", "'=3D=3D'", "'!= =3D'",=0D + "'<'", "'>'", "'<=3D'", "'>=3D'", "'<<'", "'>>'", "'_= _asm__'",=0D + "'_asm'", "'__asm'", "'case'", "'default'", "'if'",=0D + "'else'", "'switch'", "'while'", "'do'", "'goto'",=0D + "'continue'", "'break'", "'return'" ]=0D +=0D + symbolicNames =3D [ "", "", "", ""= ,=0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "", "", "",= =0D + "", "IDENTIFIER", "CHARACTER_LITERAL", "STR= ING_LITERAL",=0D + "HEX_LITERAL", "DECIMAL_LITERAL", "OCTAL_LITERAL",=0D + "FLOATING_POINT_LITERAL", "WS", "BS", "UnicodeVocabu= lary",=0D + "COMMENT", "LINE_COMMENT", "LINE_COMMAND" ]=0D +=0D + RULE_translation_unit =3D 0=0D + RULE_external_declaration =3D 1=0D + RULE_function_definition =3D 2=0D + RULE_declaration_specifiers =3D 3=0D + RULE_declaration =3D 4=0D + RULE_init_declarator_list =3D 5=0D + RULE_init_declarator =3D 6=0D + RULE_storage_class_specifier =3D 7=0D + RULE_type_specifier =3D 8=0D + RULE_type_id =3D 9=0D + RULE_struct_or_union_specifier =3D 10=0D + RULE_struct_or_union =3D 11=0D + RULE_struct_declaration_list =3D 12=0D + RULE_struct_declaration =3D 13=0D + RULE_specifier_qualifier_list =3D 14=0D + RULE_struct_declarator_list =3D 15=0D + RULE_struct_declarator =3D 16=0D + RULE_enum_specifier =3D 17=0D + RULE_enumerator_list =3D 18=0D + RULE_enumerator =3D 19=0D + RULE_type_qualifier =3D 20=0D + RULE_declarator =3D 21=0D + RULE_direct_declarator =3D 22=0D + RULE_declarator_suffix =3D 23=0D + RULE_pointer =3D 24=0D + RULE_parameter_type_list =3D 25=0D + RULE_parameter_list =3D 26=0D + RULE_parameter_declaration =3D 27=0D + RULE_identifier_list =3D 28=0D + RULE_type_name =3D 29=0D + RULE_abstract_declarator =3D 30=0D + RULE_direct_abstract_declarator =3D 31=0D + RULE_abstract_declarator_suffix =3D 32=0D + RULE_initializer =3D 33=0D + RULE_initializer_list =3D 34=0D + RULE_argument_expression_list =3D 35=0D + RULE_additive_expression =3D 36=0D + RULE_multiplicative_expression =3D 37=0D + RULE_cast_expression =3D 38=0D + RULE_unary_expression =3D 39=0D + RULE_postfix_expression =3D 40=0D + RULE_macro_parameter_list =3D 41=0D + RULE_unary_operator =3D 42=0D + RULE_primary_expression =3D 43=0D + RULE_constant =3D 44=0D + RULE_expression =3D 45=0D + RULE_constant_expression =3D 46=0D + RULE_assignment_expression =3D 47=0D + RULE_lvalue =3D 48=0D + RULE_assignment_operator =3D 49=0D + RULE_conditional_expression =3D 50=0D + RULE_logical_or_expression =3D 51=0D + RULE_logical_and_expression =3D 52=0D + RULE_inclusive_or_expression =3D 53=0D + RULE_exclusive_or_expression =3D 54=0D + RULE_and_expression =3D 55=0D + RULE_equality_expression =3D 56=0D + RULE_relational_expression =3D 57=0D + RULE_shift_expression =3D 58=0D + RULE_statement =3D 59=0D + RULE_asm2_statement =3D 60=0D + RULE_asm1_statement =3D 61=0D + RULE_asm_statement =3D 62=0D + RULE_macro_statement =3D 63=0D + RULE_labeled_statement =3D 64=0D + RULE_compound_statement =3D 65=0D + RULE_statement_list =3D 66=0D + RULE_expression_statement =3D 67=0D + RULE_selection_statement =3D 68=0D + RULE_iteration_statement =3D 69=0D + RULE_jump_statement =3D 70=0D +=0D + ruleNames =3D [ "translation_unit", "external_declaration", "function= _definition",=0D + "declaration_specifiers", "declaration", "init_declarat= or_list",=0D + "init_declarator", "storage_class_specifier", "type_spe= cifier",=0D + "type_id", "struct_or_union_specifier", "struct_or_unio= n",=0D + "struct_declaration_list", "struct_declaration", "speci= fier_qualifier_list",=0D + "struct_declarator_list", "struct_declarator", "enum_sp= ecifier",=0D + "enumerator_list", "enumerator", "type_qualifier", "dec= larator",=0D + "direct_declarator", "declarator_suffix", "pointer",=0D + "parameter_type_list", "parameter_list", "parameter_dec= laration",=0D + "identifier_list", "type_name", "abstract_declarator",= =0D + "direct_abstract_declarator", "abstract_declarator_suff= ix",=0D + "initializer", "initializer_list", "argument_expression= _list",=0D + "additive_expression", "multiplicative_expression", "ca= st_expression",=0D + "unary_expression", "postfix_expression", "macro_parame= ter_list",=0D + "unary_operator", "primary_expression", "constant", "ex= pression",=0D + "constant_expression", "assignment_expression", "lvalue= ",=0D + "assignment_operator", "conditional_expression", "logic= al_or_expression",=0D + "logical_and_expression", "inclusive_or_expression",=0D + "exclusive_or_expression", "and_expression", "equality_= expression",=0D + "relational_expression", "shift_expression", "statement= ",=0D + "asm2_statement", "asm1_statement", "asm_statement",=0D + "macro_statement", "labeled_statement", "compound_state= ment",=0D + "statement_list", "expression_statement", "selection_st= atement",=0D + "iteration_statement", "jump_statement" ]=0D +=0D + EOF =3D Token.EOF=0D + T__0=3D1=0D + T__1=3D2=0D + T__2=3D3=0D + T__3=3D4=0D + T__4=3D5=0D + T__5=3D6=0D + T__6=3D7=0D + T__7=3D8=0D + T__8=3D9=0D + T__9=3D10=0D + T__10=3D11=0D + T__11=3D12=0D + T__12=3D13=0D + T__13=3D14=0D + T__14=3D15=0D + T__15=3D16=0D + T__16=3D17=0D + T__17=3D18=0D + T__18=3D19=0D + T__19=3D20=0D + T__20=3D21=0D + T__21=3D22=0D + T__22=3D23=0D + T__23=3D24=0D + T__24=3D25=0D + T__25=3D26=0D + T__26=3D27=0D + T__27=3D28=0D + T__28=3D29=0D + T__29=3D30=0D + T__30=3D31=0D + T__31=3D32=0D + T__32=3D33=0D + T__33=3D34=0D + T__34=3D35=0D + T__35=3D36=0D + T__36=3D37=0D + T__37=3D38=0D + T__38=3D39=0D + T__39=3D40=0D + T__40=3D41=0D + T__41=3D42=0D + T__42=3D43=0D + T__43=3D44=0D + T__44=3D45=0D + T__45=3D46=0D + T__46=3D47=0D + T__47=3D48=0D + T__48=3D49=0D + T__49=3D50=0D + T__50=3D51=0D + T__51=3D52=0D + T__52=3D53=0D + T__53=3D54=0D + T__54=3D55=0D + T__55=3D56=0D + T__56=3D57=0D + T__57=3D58=0D + T__58=3D59=0D + T__59=3D60=0D + T__60=3D61=0D + T__61=3D62=0D + T__62=3D63=0D + T__63=3D64=0D + T__64=3D65=0D + T__65=3D66=0D + T__66=3D67=0D + T__67=3D68=0D + T__68=3D69=0D + T__69=3D70=0D + T__70=3D71=0D + T__71=3D72=0D + T__72=3D73=0D + T__73=3D74=0D + T__74=3D75=0D + T__75=3D76=0D + T__76=3D77=0D + T__77=3D78=0D + T__78=3D79=0D + T__79=3D80=0D + T__80=3D81=0D + T__81=3D82=0D + T__82=3D83=0D + T__83=3D84=0D + T__84=3D85=0D + T__85=3D86=0D + T__86=3D87=0D + T__87=3D88=0D + T__88=3D89=0D + T__89=3D90=0D + T__90=3D91=0D + T__91=3D92=0D + IDENTIFIER=3D93=0D + CHARACTER_LITERAL=3D94=0D + STRING_LITERAL=3D95=0D + HEX_LITERAL=3D96=0D + DECIMAL_LITERAL=3D97=0D + OCTAL_LITERAL=3D98=0D + FLOATING_POINT_LITERAL=3D99=0D + WS=3D100=0D + BS=3D101=0D + UnicodeVocabulary=3D102=0D + COMMENT=3D103=0D + LINE_COMMENT=3D104=0D + LINE_COMMAND=3D105=0D +=0D + def __init__(self, input:TokenStream, output:TextIO =3D sys.stdout):=0D + super().__init__(input, output)=0D + self.checkVersion("4.7.1")=0D + self._interp =3D ParserATNSimulator(self, self.atn, self.decisions= ToDFA, self.sharedContextCache)=0D + self._predicates =3D None=0D +=0D +=0D +=0D +=0D + def printTokenInfo(self, line, offset, tokenText):=0D + print(str(line)+ ',' + str(offset) + ':' + str(tokenText))=0D +=0D + def StorePredicateExpression(self, StartLine, StartOffset, EndLine, En= dOffset, Text):=0D + PredExp =3D CodeFragment.PredicateExpression(Text, (StartLine, Sta= rtOffset), (EndLine, EndOffset))=0D + FileProfile.PredicateExpressionList.append(PredExp)=0D +=0D + def StoreEnumerationDefinition(self, StartLine, StartOffset, EndLine, = EndOffset, Text):=0D + EnumDef =3D CodeFragment.EnumerationDefinition(Text, (StartLine, S= tartOffset), (EndLine, EndOffset))=0D + FileProfile.EnumerationDefinitionList.append(EnumDef)=0D +=0D + def StoreStructUnionDefinition(self, StartLine, StartOffset, EndLine, = EndOffset, Text):=0D + SUDef =3D CodeFragment.StructUnionDefinition(Text, (StartLine, Sta= rtOffset), (EndLine, EndOffset))=0D + FileProfile.StructUnionDefinitionList.append(SUDef)=0D +=0D + def StoreTypedefDefinition(self, StartLine, StartOffset, EndLine, EndO= ffset, FromText, ToText):=0D + Tdef =3D CodeFragment.TypedefDefinition(FromText, ToText, (StartLi= ne, StartOffset), (EndLine, EndOffset))=0D + FileProfile.TypedefDefinitionList.append(Tdef)=0D +=0D + def StoreFunctionDefinition(self, StartLine, StartOffset, EndLine, End= Offset, ModifierText, DeclText, LeftBraceLine, LeftBraceOffset, DeclLine, D= eclOffset):=0D + FuncDef =3D CodeFragment.FunctionDefinition(ModifierText, DeclText= , (StartLine, StartOffset), (EndLine, EndOffset), (LeftBraceLine, LeftBrace= Offset), (DeclLine, DeclOffset))=0D + FileProfile.FunctionDefinitionList.append(FuncDef)=0D +=0D + def StoreVariableDeclaration(self, StartLine, StartOffset, EndLine, En= dOffset, ModifierText, DeclText):=0D + VarDecl =3D CodeFragment.VariableDeclaration(ModifierText, DeclTex= t, (StartLine, StartOffset), (EndLine, EndOffset))=0D + FileProfile.VariableDeclarationList.append(VarDecl)=0D +=0D + def StoreFunctionCalling(self, StartLine, StartOffset, EndLine, EndOff= set, FuncName, ParamList):=0D + FuncCall =3D CodeFragment.FunctionCalling(FuncName, ParamList, (St= artLine, StartOffset), (EndLine, EndOffset))=0D + FileProfile.FunctionCallingList.append(FuncCall)=0D +=0D +=0D +=0D + class Translation_unitContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def external_declaration(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.External_declarat= ionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.External_declarati= onContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_translation_unit=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterTranslation_unit" ):=0D + listener.enterTranslation_unit(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitTranslation_unit" ):=0D + listener.exitTranslation_unit(self)=0D +=0D +=0D +=0D +=0D + def translation_unit(self):=0D +=0D + localctx =3D CParser.Translation_unitContext(self, self._ctx, self= .state)=0D + self.enterRule(localctx, 0, self.RULE_translation_unit)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 145=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while (((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << CPars= er.T__2) | (1 << CParser.T__5) | (1 << CParser.T__6) | (1 << CParser.T__7) = | (1 << CParser.T__8) | (1 << CParser.T__9) | (1 << CParser.T__10) | (1 << = CParser.T__11) | (1 << CParser.T__12) | (1 << CParser.T__13) | (1 << CParse= r.T__14) | (1 << CParser.T__15) | (1 << CParser.T__16) | (1 << CParser.T__1= 7) | (1 << CParser.T__18) | (1 << CParser.T__20) | (1 << CParser.T__21) | (= 1 << CParser.T__23) | (1 << CParser.T__24) | (1 << CParser.T__25) | (1 << C= Parser.T__26) | (1 << CParser.T__27) | (1 << CParser.T__28) | (1 << CParser= .T__29) | (1 << CParser.T__30) | (1 << CParser.T__31) | (1 << CParser.T__32= ) | (1 << CParser.T__33) | (1 << CParser.T__34) | (1 << CParser.T__35) | (1= << CParser.T__36) | (1 << CParser.T__37) | (1 << CParser.T__41))) !=3D 0) = or _la=3D=3DCParser.IDENTIFIER:=0D + self.state =3D 142=0D + self.external_declaration()=0D + self.state =3D 147=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class External_declarationContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def declarator(self):=0D + return self.getTypedRuleContext(CParser.DeclaratorContext,0)=0D +=0D +=0D + def declaration_specifiers(self):=0D + return self.getTypedRuleContext(CParser.Declaration_specifiers= Context,0)=0D +=0D +=0D + def declaration(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.DeclarationContex= t)=0D + else:=0D + return self.getTypedRuleContext(CParser.DeclarationContext= ,i)=0D +=0D +=0D + def function_definition(self):=0D + return self.getTypedRuleContext(CParser.Function_definitionCon= text,0)=0D +=0D +=0D + def macro_statement(self):=0D + return self.getTypedRuleContext(CParser.Macro_statementContext= ,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_external_declaration=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterExternal_declaration" ):=0D + listener.enterExternal_declaration(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitExternal_declaration" ):=0D + listener.exitExternal_declaration(self)=0D +=0D +=0D +=0D +=0D + def external_declaration(self):=0D +=0D + localctx =3D CParser.External_declarationContext(self, self._ctx, = self.state)=0D + self.enterRule(localctx, 2, self.RULE_external_declaration)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 166=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,4,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 149=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,1,self._c= tx)=0D + if la_ =3D=3D 1:=0D + self.state =3D 148=0D + self.declaration_specifiers()=0D +=0D +=0D + self.state =3D 151=0D + self.declarator()=0D + self.state =3D 155=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while (((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << C= Parser.T__2) | (1 << CParser.T__5) | (1 << CParser.T__6) | (1 << CParser.T_= _7) | (1 << CParser.T__8) | (1 << CParser.T__9) | (1 << CParser.T__10) | (1= << CParser.T__11) | (1 << CParser.T__12) | (1 << CParser.T__13) | (1 << CP= arser.T__14) | (1 << CParser.T__15) | (1 << CParser.T__16) | (1 << CParser.= T__17) | (1 << CParser.T__18) | (1 << CParser.T__20) | (1 << CParser.T__21)= | (1 << CParser.T__23) | (1 << CParser.T__24) | (1 << CParser.T__25) | (1 = << CParser.T__26) | (1 << CParser.T__27) | (1 << CParser.T__28) | (1 << CPa= rser.T__29) | (1 << CParser.T__30) | (1 << CParser.T__31) | (1 << CParser.T= __32) | (1 << CParser.T__33) | (1 << CParser.T__34) | (1 << CParser.T__35) = | (1 << CParser.T__36))) !=3D 0) or _la=3D=3DCParser.IDENTIFIER:=0D + self.state =3D 152=0D + self.declaration()=0D + self.state =3D 157=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + self.state =3D 158=0D + self.match(CParser.T__0)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 160=0D + self.function_definition()=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 161=0D + self.declaration()=0D + pass=0D +=0D + elif la_ =3D=3D 4:=0D + self.enterOuterAlt(localctx, 4)=0D + self.state =3D 162=0D + self.macro_statement()=0D + self.state =3D 164=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__1:=0D + self.state =3D 163=0D + self.match(CParser.T__1)=0D +=0D +=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Function_definitionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D + self.ModifierText =3D ''=0D + self.DeclText =3D ''=0D + self.LBLine =3D 0=0D + self.LBOffset =3D 0=0D + self.DeclLine =3D 0=0D + self.DeclOffset =3D 0=0D + self.d =3D None # Declaration_specifiersContext=0D + self._declaration_specifiers =3D None # Declaration_specifiers= Context=0D + self._declarator =3D None # DeclaratorContext=0D + self.a =3D None # Compound_statementContext=0D + self.b =3D None # Compound_statementContext=0D +=0D + def declarator(self):=0D + return self.getTypedRuleContext(CParser.DeclaratorContext,0)=0D +=0D +=0D + def compound_statement(self):=0D + return self.getTypedRuleContext(CParser.Compound_statementCont= ext,0)=0D +=0D +=0D + def declaration_specifiers(self):=0D + return self.getTypedRuleContext(CParser.Declaration_specifiers= Context,0)=0D +=0D +=0D + def declaration(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.DeclarationContex= t)=0D + else:=0D + return self.getTypedRuleContext(CParser.DeclarationContext= ,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_function_definition=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterFunction_definition" ):=0D + listener.enterFunction_definition(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitFunction_definition" ):=0D + listener.exitFunction_definition(self)=0D +=0D +=0D +=0D +=0D + def function_definition(self):=0D +=0D + localctx =3D CParser.Function_definitionContext(self, self._ctx, s= elf.state)=0D + self.enterRule(localctx, 4, self.RULE_function_definition)=0D +=0D + ModifierText =3D '';=0D + DeclText =3D '';=0D + LBLine =3D 0;=0D + LBOffset =3D 0;=0D + DeclLine =3D 0;=0D + DeclOffset =3D 0;=0D +=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 169=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,5,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.state =3D 168=0D + localctx.d =3D localctx._declaration_specifiers =3D self.d= eclaration_specifiers()=0D +=0D +=0D + self.state =3D 171=0D + localctx._declarator =3D self.declarator()=0D + self.state =3D 180=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__2, CParser.T__5, CParser.T__6, CParser= .T__7, CParser.T__8, CParser.T__9, CParser.T__10, CParser.T__11, CParser.T_= _12, CParser.T__13, CParser.T__14, CParser.T__15, CParser.T__16, CParser.T_= _17, CParser.T__18, CParser.T__20, CParser.T__21, CParser.T__23, CParser.T_= _24, CParser.T__25, CParser.T__26, CParser.T__27, CParser.T__28, CParser.T_= _29, CParser.T__30, CParser.T__31, CParser.T__32, CParser.T__33, CParser.T_= _34, CParser.T__35, CParser.T__36, CParser.IDENTIFIER]:=0D + self.state =3D 173=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while True:=0D + self.state =3D 172=0D + self.declaration()=0D + self.state =3D 175=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if not ((((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((= 1 << CParser.T__2) | (1 << CParser.T__5) | (1 << CParser.T__6) | (1 << CPar= ser.T__7) | (1 << CParser.T__8) | (1 << CParser.T__9) | (1 << CParser.T__10= ) | (1 << CParser.T__11) | (1 << CParser.T__12) | (1 << CParser.T__13) | (1= << CParser.T__14) | (1 << CParser.T__15) | (1 << CParser.T__16) | (1 << CP= arser.T__17) | (1 << CParser.T__18) | (1 << CParser.T__20) | (1 << CParser.= T__21) | (1 << CParser.T__23) | (1 << CParser.T__24) | (1 << CParser.T__25)= | (1 << CParser.T__26) | (1 << CParser.T__27) | (1 << CParser.T__28) | (1 = << CParser.T__29) | (1 << CParser.T__30) | (1 << CParser.T__31) | (1 << CPa= rser.T__32) | (1 << CParser.T__33) | (1 << CParser.T__34) | (1 << CParser.T= __35) | (1 << CParser.T__36))) !=3D 0) or _la=3D=3DCParser.IDENTIFIER):=0D + break=0D +=0D + self.state =3D 177=0D + localctx.a =3D self.compound_statement()=0D + pass=0D + elif token in [CParser.T__0]:=0D + self.state =3D 179=0D + localctx.b =3D self.compound_statement()=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D +=0D + if localctx.d !=3D None:=0D + ModifierText =3D (None if localctx._declaration_specifiers= is None else self._input.getText((localctx._declaration_specifiers.start,l= ocalctx._declaration_specifiers.stop)))=0D + else:=0D + ModifierText =3D ''=0D + DeclText =3D (None if localctx._declarator is None else self._= input.getText((localctx._declarator.start,localctx._declarator.stop)))=0D + DeclLine =3D (None if localctx._declarator is None else localc= tx._declarator.start).line=0D + DeclOffset =3D (None if localctx._declarator is None else loca= lctx._declarator.start).column=0D + if localctx.a !=3D None:=0D + LBLine =3D (None if localctx.a is None else localctx.a.sta= rt).line=0D + LBOffset =3D (None if localctx.a is None else localctx.a.s= tart).column=0D + else:=0D + LBLine =3D (None if localctx.b is None else localctx.b.sta= rt).line=0D + LBOffset =3D (None if localctx.b is None else localctx.b.s= tart).column=0D +=0D + self._ctx.stop =3D self._input.LT(-1)=0D +=0D + self.StoreFunctionDefinition(localctx.start.line, localctx.sta= rt.column, localctx.stop.line, localctx.stop.column, ModifierText, DeclText= , LBLine, LBOffset, DeclLine, DeclOffset)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Declaration_specifiersContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def storage_class_specifier(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Storage_class_spe= cifierContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Storage_class_spec= ifierContext,i)=0D +=0D +=0D + def type_specifier(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Type_specifierCon= text)=0D + else:=0D + return self.getTypedRuleContext(CParser.Type_specifierCont= ext,i)=0D +=0D +=0D + def type_qualifier(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Type_qualifierCon= text)=0D + else:=0D + return self.getTypedRuleContext(CParser.Type_qualifierCont= ext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_declaration_specifiers=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterDeclaration_specifiers" ):=0D + listener.enterDeclaration_specifiers(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitDeclaration_specifiers" ):=0D + listener.exitDeclaration_specifiers(self)=0D +=0D +=0D +=0D +=0D + def declaration_specifiers(self):=0D +=0D + localctx =3D CParser.Declaration_specifiersContext(self, self._ctx= , self.state)=0D + self.enterRule(localctx, 6, self.RULE_declaration_specifiers)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 187=0D + self._errHandler.sync(self)=0D + _alt =3D 1=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt =3D=3D 1:=0D + self.state =3D 187=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__5, CParser.T__6, CParser.T__7,= CParser.T__8, CParser.T__9]:=0D + self.state =3D 184=0D + self.storage_class_specifier()=0D + pass=0D + elif token in [CParser.T__10, CParser.T__11, CParser.T= __12, CParser.T__13, CParser.T__14, CParser.T__15, CParser.T__16, CParser.T= __17, CParser.T__18, CParser.T__20, CParser.T__21, CParser.T__23, CParser.I= DENTIFIER]:=0D + self.state =3D 185=0D + self.type_specifier()=0D + pass=0D + elif token in [CParser.T__24, CParser.T__25, CParser.T= __26, CParser.T__27, CParser.T__28, CParser.T__29, CParser.T__30, CParser.T= __31, CParser.T__32, CParser.T__33, CParser.T__34, CParser.T__35, CParser.T= __36]:=0D + self.state =3D 186=0D + self.type_qualifier()=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D +=0D + else:=0D + raise NoViableAltException(self)=0D + self.state =3D 189=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,9,self._= ctx)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class DeclarationContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D + self.a =3D None # Token=0D + self.b =3D None # Declaration_specifiersContext=0D + self.c =3D None # Init_declarator_listContext=0D + self.d =3D None # Token=0D + self.s =3D None # Declaration_specifiersContext=0D + self.t =3D None # Init_declarator_listContext=0D + self.e =3D None # Token=0D +=0D + def init_declarator_list(self):=0D + return self.getTypedRuleContext(CParser.Init_declarator_listCo= ntext,0)=0D +=0D +=0D + def declaration_specifiers(self):=0D + return self.getTypedRuleContext(CParser.Declaration_specifiers= Context,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_declaration=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterDeclaration" ):=0D + listener.enterDeclaration(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitDeclaration" ):=0D + listener.exitDeclaration(self)=0D +=0D +=0D +=0D +=0D + def declaration(self):=0D +=0D + localctx =3D CParser.DeclarationContext(self, self._ctx, self.stat= e)=0D + self.enterRule(localctx, 8, self.RULE_declaration)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 206=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__2]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 191=0D + localctx.a =3D self.match(CParser.T__2)=0D + self.state =3D 193=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,10,self._= ctx)=0D + if la_ =3D=3D 1:=0D + self.state =3D 192=0D + localctx.b =3D self.declaration_specifiers()=0D +=0D +=0D + self.state =3D 195=0D + localctx.c =3D self.init_declarator_list()=0D + self.state =3D 196=0D + localctx.d =3D self.match(CParser.T__1)=0D +=0D + if localctx.b is not None:=0D + self.StoreTypedefDefinition(localctx.a.line, localctx.= a.column, (0 if localctx.d is None else localctx.d.line), localctx.d.column= , (None if localctx.b is None else self._input.getText((localctx.b.start,lo= calctx.b.stop))), (None if localctx.c is None else self._input.getText((loc= alctx.c.start,localctx.c.stop))))=0D + else:=0D + self.StoreTypedefDefinition(localctx.a.line, localctx.= a.column, (0 if localctx.d is None else localctx.d.line), localctx.d.column= , '', (None if localctx.c is None else self._input.getText((localctx.c.star= t,localctx.c.stop))))=0D +=0D + pass=0D + elif token in [CParser.T__5, CParser.T__6, CParser.T__7, CPars= er.T__8, CParser.T__9, CParser.T__10, CParser.T__11, CParser.T__12, CParser= .T__13, CParser.T__14, CParser.T__15, CParser.T__16, CParser.T__17, CParser= .T__18, CParser.T__20, CParser.T__21, CParser.T__23, CParser.T__24, CParser= .T__25, CParser.T__26, CParser.T__27, CParser.T__28, CParser.T__29, CParser= .T__30, CParser.T__31, CParser.T__32, CParser.T__33, CParser.T__34, CParser= .T__35, CParser.T__36, CParser.IDENTIFIER]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 199=0D + localctx.s =3D self.declaration_specifiers()=0D + self.state =3D 201=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if ((((_la - 34)) & ~0x3f) =3D=3D 0 and ((1 << (_la - 34))= & ((1 << (CParser.T__33 - 34)) | (1 << (CParser.T__34 - 34)) | (1 << (CPar= ser.T__35 - 34)) | (1 << (CParser.T__37 - 34)) | (1 << (CParser.T__41 - 34)= ) | (1 << (CParser.IDENTIFIER - 34)))) !=3D 0):=0D + self.state =3D 200=0D + localctx.t =3D self.init_declarator_list()=0D +=0D +=0D + self.state =3D 203=0D + localctx.e =3D self.match(CParser.T__1)=0D +=0D + if localctx.t is not None:=0D + self.StoreVariableDeclaration((None if localctx.s is N= one else localctx.s.start).line, (None if localctx.s is None else localctx.= s.start).column, (None if localctx.t is None else localctx.t.start).line, (= None if localctx.t is None else localctx.t.start).column, (None if localctx= .s is None else self._input.getText((localctx.s.start,localctx.s.stop))), (= None if localctx.t is None else self._input.getText((localctx.t.start,local= ctx.t.stop))))=0D +=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Init_declarator_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def init_declarator(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Init_declaratorCo= ntext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Init_declaratorCon= text,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_init_declarator_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterInit_declarator_list" ):=0D + listener.enterInit_declarator_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitInit_declarator_list" ):=0D + listener.exitInit_declarator_list(self)=0D +=0D +=0D +=0D +=0D + def init_declarator_list(self):=0D +=0D + localctx =3D CParser.Init_declarator_listContext(self, self._ctx, = self.state)=0D + self.enterRule(localctx, 10, self.RULE_init_declarator_list)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 208=0D + self.init_declarator()=0D + self.state =3D 213=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__3:=0D + self.state =3D 209=0D + self.match(CParser.T__3)=0D + self.state =3D 210=0D + self.init_declarator()=0D + self.state =3D 215=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Init_declaratorContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def declarator(self):=0D + return self.getTypedRuleContext(CParser.DeclaratorContext,0)=0D +=0D +=0D + def initializer(self):=0D + return self.getTypedRuleContext(CParser.InitializerContext,0)= =0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_init_declarator=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterInit_declarator" ):=0D + listener.enterInit_declarator(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitInit_declarator" ):=0D + listener.exitInit_declarator(self)=0D +=0D +=0D +=0D +=0D + def init_declarator(self):=0D +=0D + localctx =3D CParser.Init_declaratorContext(self, self._ctx, self.= state)=0D + self.enterRule(localctx, 12, self.RULE_init_declarator)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 216=0D + self.declarator()=0D + self.state =3D 219=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__4:=0D + self.state =3D 217=0D + self.match(CParser.T__4)=0D + self.state =3D 218=0D + self.initializer()=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Storage_class_specifierContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_storage_class_specifier=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterStorage_class_specifier" ):=0D + listener.enterStorage_class_specifier(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitStorage_class_specifier" ):=0D + listener.exitStorage_class_specifier(self)=0D +=0D +=0D +=0D +=0D + def storage_class_specifier(self):=0D +=0D + localctx =3D CParser.Storage_class_specifierContext(self, self._ct= x, self.state)=0D + self.enterRule(localctx, 14, self.RULE_storage_class_specifier)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 221=0D + _la =3D self._input.LA(1)=0D + if not((((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << CPar= ser.T__5) | (1 << CParser.T__6) | (1 << CParser.T__7) | (1 << CParser.T__8)= | (1 << CParser.T__9))) !=3D 0)):=0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Type_specifierContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D + self.s =3D None # Struct_or_union_specifierContext=0D + self.e =3D None # Enum_specifierContext=0D +=0D + def struct_or_union_specifier(self):=0D + return self.getTypedRuleContext(CParser.Struct_or_union_specif= ierContext,0)=0D +=0D +=0D + def enum_specifier(self):=0D + return self.getTypedRuleContext(CParser.Enum_specifierContext,= 0)=0D +=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def declarator(self):=0D + return self.getTypedRuleContext(CParser.DeclaratorContext,0)=0D +=0D +=0D + def type_qualifier(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Type_qualifierCon= text)=0D + else:=0D + return self.getTypedRuleContext(CParser.Type_qualifierCont= ext,i)=0D +=0D +=0D + def type_id(self):=0D + return self.getTypedRuleContext(CParser.Type_idContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_type_specifier=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterType_specifier" ):=0D + listener.enterType_specifier(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitType_specifier" ):=0D + listener.exitType_specifier(self)=0D +=0D +=0D +=0D +=0D + def type_specifier(self):=0D +=0D + localctx =3D CParser.Type_specifierContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 16, self.RULE_type_specifier)=0D + try:=0D + self.state =3D 247=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,16,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 223=0D + self.match(CParser.T__10)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 224=0D + self.match(CParser.T__11)=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 225=0D + self.match(CParser.T__12)=0D + pass=0D +=0D + elif la_ =3D=3D 4:=0D + self.enterOuterAlt(localctx, 4)=0D + self.state =3D 226=0D + self.match(CParser.T__13)=0D + pass=0D +=0D + elif la_ =3D=3D 5:=0D + self.enterOuterAlt(localctx, 5)=0D + self.state =3D 227=0D + self.match(CParser.T__14)=0D + pass=0D +=0D + elif la_ =3D=3D 6:=0D + self.enterOuterAlt(localctx, 6)=0D + self.state =3D 228=0D + self.match(CParser.T__15)=0D + pass=0D +=0D + elif la_ =3D=3D 7:=0D + self.enterOuterAlt(localctx, 7)=0D + self.state =3D 229=0D + self.match(CParser.T__16)=0D + pass=0D +=0D + elif la_ =3D=3D 8:=0D + self.enterOuterAlt(localctx, 8)=0D + self.state =3D 230=0D + self.match(CParser.T__17)=0D + pass=0D +=0D + elif la_ =3D=3D 9:=0D + self.enterOuterAlt(localctx, 9)=0D + self.state =3D 231=0D + self.match(CParser.T__18)=0D + pass=0D +=0D + elif la_ =3D=3D 10:=0D + self.enterOuterAlt(localctx, 10)=0D + self.state =3D 232=0D + localctx.s =3D self.struct_or_union_specifier()=0D +=0D + if localctx.s.stop is not None:=0D + self.StoreStructUnionDefinition((None if localctx.s is= None else localctx.s.start).line, (None if localctx.s is None else localct= x.s.start).column, (None if localctx.s is None else localctx.s.stop).line, = (None if localctx.s is None else localctx.s.stop).column, (None if localctx= .s is None else self._input.getText((localctx.s.start,localctx.s.stop))))=0D +=0D + pass=0D +=0D + elif la_ =3D=3D 11:=0D + self.enterOuterAlt(localctx, 11)=0D + self.state =3D 235=0D + localctx.e =3D self.enum_specifier()=0D +=0D + if localctx.e.stop is not None:=0D + self.StoreEnumerationDefinition((None if localctx.e is= None else localctx.e.start).line, (None if localctx.e is None else localct= x.e.start).column, (None if localctx.e is None else localctx.e.stop).line, = (None if localctx.e is None else localctx.e.stop).column, (None if localctx= .e is None else self._input.getText((localctx.e.start,localctx.e.stop))))=0D +=0D + pass=0D +=0D + elif la_ =3D=3D 12:=0D + self.enterOuterAlt(localctx, 12)=0D + self.state =3D 238=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 242=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,15,self.= _ctx)=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 239=0D + self.type_qualifier()=0D + self.state =3D 244=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,15,s= elf._ctx)=0D +=0D + self.state =3D 245=0D + self.declarator()=0D + pass=0D +=0D + elif la_ =3D=3D 13:=0D + self.enterOuterAlt(localctx, 13)=0D + self.state =3D 246=0D + self.type_id()=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Type_idContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_type_id=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterType_id" ):=0D + listener.enterType_id(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitType_id" ):=0D + listener.exitType_id(self)=0D +=0D +=0D +=0D +=0D + def type_id(self):=0D +=0D + localctx =3D CParser.Type_idContext(self, self._ctx, self.state)=0D + self.enterRule(localctx, 18, self.RULE_type_id)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 249=0D + self.match(CParser.IDENTIFIER)=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Struct_or_union_specifierContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def struct_or_union(self):=0D + return self.getTypedRuleContext(CParser.Struct_or_unionContext= ,0)=0D +=0D +=0D + def struct_declaration_list(self):=0D + return self.getTypedRuleContext(CParser.Struct_declaration_lis= tContext,0)=0D +=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_struct_or_union_specifier=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterStruct_or_union_specifier" ):=0D + listener.enterStruct_or_union_specifier(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitStruct_or_union_specifier" ):=0D + listener.exitStruct_or_union_specifier(self)=0D +=0D +=0D +=0D +=0D + def struct_or_union_specifier(self):=0D +=0D + localctx =3D CParser.Struct_or_union_specifierContext(self, self._= ctx, self.state)=0D + self.enterRule(localctx, 20, self.RULE_struct_or_union_specifier)= =0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 262=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,18,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 251=0D + self.struct_or_union()=0D + self.state =3D 253=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.IDENTIFIER:=0D + self.state =3D 252=0D + self.match(CParser.IDENTIFIER)=0D +=0D +=0D + self.state =3D 255=0D + self.match(CParser.T__0)=0D + self.state =3D 256=0D + self.struct_declaration_list()=0D + self.state =3D 257=0D + self.match(CParser.T__19)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 259=0D + self.struct_or_union()=0D + self.state =3D 260=0D + self.match(CParser.IDENTIFIER)=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Struct_or_unionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_struct_or_union=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterStruct_or_union" ):=0D + listener.enterStruct_or_union(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitStruct_or_union" ):=0D + listener.exitStruct_or_union(self)=0D +=0D +=0D +=0D +=0D + def struct_or_union(self):=0D +=0D + localctx =3D CParser.Struct_or_unionContext(self, self._ctx, self.= state)=0D + self.enterRule(localctx, 22, self.RULE_struct_or_union)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 264=0D + _la =3D self._input.LA(1)=0D + if not(_la=3D=3DCParser.T__20 or _la=3D=3DCParser.T__21):=0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Struct_declaration_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def struct_declaration(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Struct_declaratio= nContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Struct_declaration= Context,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_struct_declaration_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterStruct_declaration_list" ):=0D + listener.enterStruct_declaration_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitStruct_declaration_list" ):=0D + listener.exitStruct_declaration_list(self)=0D +=0D +=0D +=0D +=0D + def struct_declaration_list(self):=0D +=0D + localctx =3D CParser.Struct_declaration_listContext(self, self._ct= x, self.state)=0D + self.enterRule(localctx, 24, self.RULE_struct_declaration_list)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 267=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while True:=0D + self.state =3D 266=0D + self.struct_declaration()=0D + self.state =3D 269=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if not ((((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 <<= CParser.T__10) | (1 << CParser.T__11) | (1 << CParser.T__12) | (1 << CPars= er.T__13) | (1 << CParser.T__14) | (1 << CParser.T__15) | (1 << CParser.T__= 16) | (1 << CParser.T__17) | (1 << CParser.T__18) | (1 << CParser.T__20) | = (1 << CParser.T__21) | (1 << CParser.T__23) | (1 << CParser.T__24) | (1 << = CParser.T__25) | (1 << CParser.T__26) | (1 << CParser.T__27) | (1 << CParse= r.T__28) | (1 << CParser.T__29) | (1 << CParser.T__30) | (1 << CParser.T__3= 1) | (1 << CParser.T__32) | (1 << CParser.T__33) | (1 << CParser.T__34) | (= 1 << CParser.T__35) | (1 << CParser.T__36))) !=3D 0) or _la=3D=3DCParser.ID= ENTIFIER):=0D + break=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Struct_declarationContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def specifier_qualifier_list(self):=0D + return self.getTypedRuleContext(CParser.Specifier_qualifier_li= stContext,0)=0D +=0D +=0D + def struct_declarator_list(self):=0D + return self.getTypedRuleContext(CParser.Struct_declarator_list= Context,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_struct_declaration=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterStruct_declaration" ):=0D + listener.enterStruct_declaration(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitStruct_declaration" ):=0D + listener.exitStruct_declaration(self)=0D +=0D +=0D +=0D +=0D + def struct_declaration(self):=0D +=0D + localctx =3D CParser.Struct_declarationContext(self, self._ctx, se= lf.state)=0D + self.enterRule(localctx, 26, self.RULE_struct_declaration)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 271=0D + self.specifier_qualifier_list()=0D + self.state =3D 272=0D + self.struct_declarator_list()=0D + self.state =3D 273=0D + self.match(CParser.T__1)=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Specifier_qualifier_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def type_qualifier(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Type_qualifierCon= text)=0D + else:=0D + return self.getTypedRuleContext(CParser.Type_qualifierCont= ext,i)=0D +=0D +=0D + def type_specifier(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Type_specifierCon= text)=0D + else:=0D + return self.getTypedRuleContext(CParser.Type_specifierCont= ext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_specifier_qualifier_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterSpecifier_qualifier_list" ):=0D + listener.enterSpecifier_qualifier_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitSpecifier_qualifier_list" ):=0D + listener.exitSpecifier_qualifier_list(self)=0D +=0D +=0D +=0D +=0D + def specifier_qualifier_list(self):=0D +=0D + localctx =3D CParser.Specifier_qualifier_listContext(self, self._c= tx, self.state)=0D + self.enterRule(localctx, 28, self.RULE_specifier_qualifier_list)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 277=0D + self._errHandler.sync(self)=0D + _alt =3D 1=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt =3D=3D 1:=0D + self.state =3D 277=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__24, CParser.T__25, CParser.T__= 26, CParser.T__27, CParser.T__28, CParser.T__29, CParser.T__30, CParser.T__= 31, CParser.T__32, CParser.T__33, CParser.T__34, CParser.T__35, CParser.T__= 36]:=0D + self.state =3D 275=0D + self.type_qualifier()=0D + pass=0D + elif token in [CParser.T__10, CParser.T__11, CParser.T= __12, CParser.T__13, CParser.T__14, CParser.T__15, CParser.T__16, CParser.T= __17, CParser.T__18, CParser.T__20, CParser.T__21, CParser.T__23, CParser.I= DENTIFIER]:=0D + self.state =3D 276=0D + self.type_specifier()=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D +=0D + else:=0D + raise NoViableAltException(self)=0D + self.state =3D 279=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,21,self.= _ctx)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Struct_declarator_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def struct_declarator(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Struct_declarator= Context)=0D + else:=0D + return self.getTypedRuleContext(CParser.Struct_declaratorC= ontext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_struct_declarator_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterStruct_declarator_list" ):=0D + listener.enterStruct_declarator_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitStruct_declarator_list" ):=0D + listener.exitStruct_declarator_list(self)=0D +=0D +=0D +=0D +=0D + def struct_declarator_list(self):=0D +=0D + localctx =3D CParser.Struct_declarator_listContext(self, self._ctx= , self.state)=0D + self.enterRule(localctx, 30, self.RULE_struct_declarator_list)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 281=0D + self.struct_declarator()=0D + self.state =3D 286=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__3:=0D + self.state =3D 282=0D + self.match(CParser.T__3)=0D + self.state =3D 283=0D + self.struct_declarator()=0D + self.state =3D 288=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Struct_declaratorContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def declarator(self):=0D + return self.getTypedRuleContext(CParser.DeclaratorContext,0)=0D +=0D +=0D + def constant_expression(self):=0D + return self.getTypedRuleContext(CParser.Constant_expressionCon= text,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_struct_declarator=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterStruct_declarator" ):=0D + listener.enterStruct_declarator(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitStruct_declarator" ):=0D + listener.exitStruct_declarator(self)=0D +=0D +=0D +=0D +=0D + def struct_declarator(self):=0D +=0D + localctx =3D CParser.Struct_declaratorContext(self, self._ctx, sel= f.state)=0D + self.enterRule(localctx, 32, self.RULE_struct_declarator)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 296=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__33, CParser.T__34, CParser.T__35, CPar= ser.T__37, CParser.T__41, CParser.IDENTIFIER]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 289=0D + self.declarator()=0D + self.state =3D 292=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__22:=0D + self.state =3D 290=0D + self.match(CParser.T__22)=0D + self.state =3D 291=0D + self.constant_expression()=0D +=0D +=0D + pass=0D + elif token in [CParser.T__22]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 294=0D + self.match(CParser.T__22)=0D + self.state =3D 295=0D + self.constant_expression()=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Enum_specifierContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def enumerator_list(self):=0D + return self.getTypedRuleContext(CParser.Enumerator_listContext= ,0)=0D +=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_enum_specifier=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterEnum_specifier" ):=0D + listener.enterEnum_specifier(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitEnum_specifier" ):=0D + listener.exitEnum_specifier(self)=0D +=0D +=0D +=0D +=0D + def enum_specifier(self):=0D +=0D + localctx =3D CParser.Enum_specifierContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 34, self.RULE_enum_specifier)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 317=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,27,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 298=0D + self.match(CParser.T__23)=0D + self.state =3D 299=0D + self.match(CParser.T__0)=0D + self.state =3D 300=0D + self.enumerator_list()=0D + self.state =3D 302=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__3:=0D + self.state =3D 301=0D + self.match(CParser.T__3)=0D +=0D +=0D + self.state =3D 304=0D + self.match(CParser.T__19)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 306=0D + self.match(CParser.T__23)=0D + self.state =3D 307=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 308=0D + self.match(CParser.T__0)=0D + self.state =3D 309=0D + self.enumerator_list()=0D + self.state =3D 311=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__3:=0D + self.state =3D 310=0D + self.match(CParser.T__3)=0D +=0D +=0D + self.state =3D 313=0D + self.match(CParser.T__19)=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 315=0D + self.match(CParser.T__23)=0D + self.state =3D 316=0D + self.match(CParser.IDENTIFIER)=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Enumerator_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def enumerator(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.EnumeratorContext= )=0D + else:=0D + return self.getTypedRuleContext(CParser.EnumeratorContext,= i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_enumerator_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterEnumerator_list" ):=0D + listener.enterEnumerator_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitEnumerator_list" ):=0D + listener.exitEnumerator_list(self)=0D +=0D +=0D +=0D +=0D + def enumerator_list(self):=0D +=0D + localctx =3D CParser.Enumerator_listContext(self, self._ctx, self.= state)=0D + self.enterRule(localctx, 36, self.RULE_enumerator_list)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 319=0D + self.enumerator()=0D + self.state =3D 324=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,28,self._ctx= )=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 320=0D + self.match(CParser.T__3)=0D + self.state =3D 321=0D + self.enumerator()=0D + self.state =3D 326=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,28,self.= _ctx)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class EnumeratorContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def constant_expression(self):=0D + return self.getTypedRuleContext(CParser.Constant_expressionCon= text,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_enumerator=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterEnumerator" ):=0D + listener.enterEnumerator(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitEnumerator" ):=0D + listener.exitEnumerator(self)=0D +=0D +=0D +=0D +=0D + def enumerator(self):=0D +=0D + localctx =3D CParser.EnumeratorContext(self, self._ctx, self.state= )=0D + self.enterRule(localctx, 38, self.RULE_enumerator)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 327=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 330=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__4:=0D + self.state =3D 328=0D + self.match(CParser.T__4)=0D + self.state =3D 329=0D + self.constant_expression()=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Type_qualifierContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_type_qualifier=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterType_qualifier" ):=0D + listener.enterType_qualifier(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitType_qualifier" ):=0D + listener.exitType_qualifier(self)=0D +=0D +=0D +=0D +=0D + def type_qualifier(self):=0D +=0D + localctx =3D CParser.Type_qualifierContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 40, self.RULE_type_qualifier)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 332=0D + _la =3D self._input.LA(1)=0D + if not((((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << CPar= ser.T__24) | (1 << CParser.T__25) | (1 << CParser.T__26) | (1 << CParser.T_= _27) | (1 << CParser.T__28) | (1 << CParser.T__29) | (1 << CParser.T__30) |= (1 << CParser.T__31) | (1 << CParser.T__32) | (1 << CParser.T__33) | (1 <<= CParser.T__34) | (1 << CParser.T__35) | (1 << CParser.T__36))) !=3D 0)):=0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class DeclaratorContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def direct_declarator(self):=0D + return self.getTypedRuleContext(CParser.Direct_declaratorConte= xt,0)=0D +=0D +=0D + def pointer(self):=0D + return self.getTypedRuleContext(CParser.PointerContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_declarator=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterDeclarator" ):=0D + listener.enterDeclarator(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitDeclarator" ):=0D + listener.exitDeclarator(self)=0D +=0D +=0D +=0D +=0D + def declarator(self):=0D +=0D + localctx =3D CParser.DeclaratorContext(self, self._ctx, self.state= )=0D + self.enterRule(localctx, 42, self.RULE_declarator)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 348=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,34,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 335=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__41:=0D + self.state =3D 334=0D + self.pointer()=0D +=0D +=0D + self.state =3D 338=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__33:=0D + self.state =3D 337=0D + self.match(CParser.T__33)=0D +=0D +=0D + self.state =3D 341=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__34:=0D + self.state =3D 340=0D + self.match(CParser.T__34)=0D +=0D +=0D + self.state =3D 344=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__35:=0D + self.state =3D 343=0D + self.match(CParser.T__35)=0D +=0D +=0D + self.state =3D 346=0D + self.direct_declarator()=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 347=0D + self.pointer()=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Direct_declaratorContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def declarator_suffix(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Declarator_suffix= Context)=0D + else:=0D + return self.getTypedRuleContext(CParser.Declarator_suffixC= ontext,i)=0D +=0D +=0D + def declarator(self):=0D + return self.getTypedRuleContext(CParser.DeclaratorContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_direct_declarator=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterDirect_declarator" ):=0D + listener.enterDirect_declarator(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitDirect_declarator" ):=0D + listener.exitDirect_declarator(self)=0D +=0D +=0D +=0D +=0D + def direct_declarator(self):=0D +=0D + localctx =3D CParser.Direct_declaratorContext(self, self._ctx, sel= f.state)=0D + self.enterRule(localctx, 44, self.RULE_direct_declarator)=0D + try:=0D + self.state =3D 368=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.IDENTIFIER]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 350=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 354=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,35,self.= _ctx)=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 351=0D + self.declarator_suffix()=0D + self.state =3D 356=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,35,s= elf._ctx)=0D +=0D + pass=0D + elif token in [CParser.T__37]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 357=0D + self.match(CParser.T__37)=0D + self.state =3D 359=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,36,self._= ctx)=0D + if la_ =3D=3D 1:=0D + self.state =3D 358=0D + self.match(CParser.T__33)=0D +=0D +=0D + self.state =3D 361=0D + self.declarator()=0D + self.state =3D 362=0D + self.match(CParser.T__38)=0D + self.state =3D 364=0D + self._errHandler.sync(self)=0D + _alt =3D 1=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt =3D=3D 1:=0D + self.state =3D 363=0D + self.declarator_suffix()=0D +=0D + else:=0D + raise NoViableAltException(self)=0D + self.state =3D 366=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,37,s= elf._ctx)=0D +=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Declarator_suffixContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def constant_expression(self):=0D + return self.getTypedRuleContext(CParser.Constant_expressionCon= text,0)=0D +=0D +=0D + def parameter_type_list(self):=0D + return self.getTypedRuleContext(CParser.Parameter_type_listCon= text,0)=0D +=0D +=0D + def identifier_list(self):=0D + return self.getTypedRuleContext(CParser.Identifier_listContext= ,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_declarator_suffix=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterDeclarator_suffix" ):=0D + listener.enterDeclarator_suffix(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitDeclarator_suffix" ):=0D + listener.exitDeclarator_suffix(self)=0D +=0D +=0D +=0D +=0D + def declarator_suffix(self):=0D +=0D + localctx =3D CParser.Declarator_suffixContext(self, self._ctx, sel= f.state)=0D + self.enterRule(localctx, 46, self.RULE_declarator_suffix)=0D + try:=0D + self.state =3D 386=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,39,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 370=0D + self.match(CParser.T__39)=0D + self.state =3D 371=0D + self.constant_expression()=0D + self.state =3D 372=0D + self.match(CParser.T__40)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 374=0D + self.match(CParser.T__39)=0D + self.state =3D 375=0D + self.match(CParser.T__40)=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 376=0D + self.match(CParser.T__37)=0D + self.state =3D 377=0D + self.parameter_type_list()=0D + self.state =3D 378=0D + self.match(CParser.T__38)=0D + pass=0D +=0D + elif la_ =3D=3D 4:=0D + self.enterOuterAlt(localctx, 4)=0D + self.state =3D 380=0D + self.match(CParser.T__37)=0D + self.state =3D 381=0D + self.identifier_list()=0D + self.state =3D 382=0D + self.match(CParser.T__38)=0D + pass=0D +=0D + elif la_ =3D=3D 5:=0D + self.enterOuterAlt(localctx, 5)=0D + self.state =3D 384=0D + self.match(CParser.T__37)=0D + self.state =3D 385=0D + self.match(CParser.T__38)=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class PointerContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def type_qualifier(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Type_qualifierCon= text)=0D + else:=0D + return self.getTypedRuleContext(CParser.Type_qualifierCont= ext,i)=0D +=0D +=0D + def pointer(self):=0D + return self.getTypedRuleContext(CParser.PointerContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_pointer=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterPointer" ):=0D + listener.enterPointer(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitPointer" ):=0D + listener.exitPointer(self)=0D +=0D +=0D +=0D +=0D + def pointer(self):=0D +=0D + localctx =3D CParser.PointerContext(self, self._ctx, self.state)=0D + self.enterRule(localctx, 48, self.RULE_pointer)=0D + try:=0D + self.state =3D 400=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,42,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 388=0D + self.match(CParser.T__41)=0D + self.state =3D 390=0D + self._errHandler.sync(self)=0D + _alt =3D 1=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt =3D=3D 1:=0D + self.state =3D 389=0D + self.type_qualifier()=0D +=0D + else:=0D + raise NoViableAltException(self)=0D + self.state =3D 392=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,40,s= elf._ctx)=0D +=0D + self.state =3D 395=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,41,self._= ctx)=0D + if la_ =3D=3D 1:=0D + self.state =3D 394=0D + self.pointer()=0D +=0D +=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 397=0D + self.match(CParser.T__41)=0D + self.state =3D 398=0D + self.pointer()=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 399=0D + self.match(CParser.T__41)=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Parameter_type_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def parameter_list(self):=0D + return self.getTypedRuleContext(CParser.Parameter_listContext,= 0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_parameter_type_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterParameter_type_list" ):=0D + listener.enterParameter_type_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitParameter_type_list" ):=0D + listener.exitParameter_type_list(self)=0D +=0D +=0D +=0D +=0D + def parameter_type_list(self):=0D +=0D + localctx =3D CParser.Parameter_type_listContext(self, self._ctx, s= elf.state)=0D + self.enterRule(localctx, 50, self.RULE_parameter_type_list)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 402=0D + self.parameter_list()=0D + self.state =3D 408=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__3:=0D + self.state =3D 403=0D + self.match(CParser.T__3)=0D + self.state =3D 405=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__28:=0D + self.state =3D 404=0D + self.match(CParser.T__28)=0D +=0D +=0D + self.state =3D 407=0D + self.match(CParser.T__42)=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Parameter_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def parameter_declaration(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Parameter_declara= tionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Parameter_declarat= ionContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_parameter_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterParameter_list" ):=0D + listener.enterParameter_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitParameter_list" ):=0D + listener.exitParameter_list(self)=0D +=0D +=0D +=0D +=0D + def parameter_list(self):=0D +=0D + localctx =3D CParser.Parameter_listContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 52, self.RULE_parameter_list)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 410=0D + self.parameter_declaration()=0D + self.state =3D 418=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,46,self._ctx= )=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 411=0D + self.match(CParser.T__3)=0D + self.state =3D 413=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,45,se= lf._ctx)=0D + if la_ =3D=3D 1:=0D + self.state =3D 412=0D + self.match(CParser.T__28)=0D +=0D +=0D + self.state =3D 415=0D + self.parameter_declaration()=0D + self.state =3D 420=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,46,self.= _ctx)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Parameter_declarationContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def declaration_specifiers(self):=0D + return self.getTypedRuleContext(CParser.Declaration_specifiers= Context,0)=0D +=0D +=0D + def declarator(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.DeclaratorContext= )=0D + else:=0D + return self.getTypedRuleContext(CParser.DeclaratorContext,= i)=0D +=0D +=0D + def abstract_declarator(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Abstract_declarat= orContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Abstract_declarato= rContext,i)=0D +=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def pointer(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.PointerContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.PointerContext,i)= =0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_parameter_declaration=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterParameter_declaration" ):=0D + listener.enterParameter_declaration(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitParameter_declaration" ):=0D + listener.exitParameter_declaration(self)=0D +=0D +=0D +=0D +=0D + def parameter_declaration(self):=0D +=0D + localctx =3D CParser.Parameter_declarationContext(self, self._ctx,= self.state)=0D + self.enterRule(localctx, 54, self.RULE_parameter_declaration)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 439=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,51,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 421=0D + self.declaration_specifiers()=0D + self.state =3D 426=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while ((((_la - 34)) & ~0x3f) =3D=3D 0 and ((1 << (_la - 3= 4)) & ((1 << (CParser.T__33 - 34)) | (1 << (CParser.T__34 - 34)) | (1 << (C= Parser.T__35 - 34)) | (1 << (CParser.T__37 - 34)) | (1 << (CParser.T__39 - = 34)) | (1 << (CParser.T__41 - 34)) | (1 << (CParser.IDENTIFIER - 34)))) != =3D 0):=0D + self.state =3D 424=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,47,se= lf._ctx)=0D + if la_ =3D=3D 1:=0D + self.state =3D 422=0D + self.declarator()=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.state =3D 423=0D + self.abstract_declarator()=0D + pass=0D +=0D +=0D + self.state =3D 428=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + self.state =3D 430=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__28:=0D + self.state =3D 429=0D + self.match(CParser.T__28)=0D +=0D +=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 435=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__41:=0D + self.state =3D 432=0D + self.pointer()=0D + self.state =3D 437=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + self.state =3D 438=0D + self.match(CParser.IDENTIFIER)=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Identifier_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def IDENTIFIER(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTokens(CParser.IDENTIFIER)=0D + else:=0D + return self.getToken(CParser.IDENTIFIER, i)=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_identifier_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterIdentifier_list" ):=0D + listener.enterIdentifier_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitIdentifier_list" ):=0D + listener.exitIdentifier_list(self)=0D +=0D +=0D +=0D +=0D + def identifier_list(self):=0D +=0D + localctx =3D CParser.Identifier_listContext(self, self._ctx, self.= state)=0D + self.enterRule(localctx, 56, self.RULE_identifier_list)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 441=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 446=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__3:=0D + self.state =3D 442=0D + self.match(CParser.T__3)=0D + self.state =3D 443=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 448=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Type_nameContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def specifier_qualifier_list(self):=0D + return self.getTypedRuleContext(CParser.Specifier_qualifier_li= stContext,0)=0D +=0D +=0D + def abstract_declarator(self):=0D + return self.getTypedRuleContext(CParser.Abstract_declaratorCon= text,0)=0D +=0D +=0D + def type_id(self):=0D + return self.getTypedRuleContext(CParser.Type_idContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_type_name=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterType_name" ):=0D + listener.enterType_name(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitType_name" ):=0D + listener.exitType_name(self)=0D +=0D +=0D +=0D +=0D + def type_name(self):=0D +=0D + localctx =3D CParser.Type_nameContext(self, self._ctx, self.state)= =0D + self.enterRule(localctx, 58, self.RULE_type_name)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 454=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,54,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 449=0D + self.specifier_qualifier_list()=0D + self.state =3D 451=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if (((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << CPar= ser.T__37) | (1 << CParser.T__39) | (1 << CParser.T__41))) !=3D 0):=0D + self.state =3D 450=0D + self.abstract_declarator()=0D +=0D +=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 453=0D + self.type_id()=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Abstract_declaratorContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def pointer(self):=0D + return self.getTypedRuleContext(CParser.PointerContext,0)=0D +=0D +=0D + def direct_abstract_declarator(self):=0D + return self.getTypedRuleContext(CParser.Direct_abstract_declar= atorContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_abstract_declarator=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterAbstract_declarator" ):=0D + listener.enterAbstract_declarator(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitAbstract_declarator" ):=0D + listener.exitAbstract_declarator(self)=0D +=0D +=0D +=0D +=0D + def abstract_declarator(self):=0D +=0D + localctx =3D CParser.Abstract_declaratorContext(self, self._ctx, s= elf.state)=0D + self.enterRule(localctx, 60, self.RULE_abstract_declarator)=0D + try:=0D + self.state =3D 461=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__41]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 456=0D + self.pointer()=0D + self.state =3D 458=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,55,self._= ctx)=0D + if la_ =3D=3D 1:=0D + self.state =3D 457=0D + self.direct_abstract_declarator()=0D +=0D +=0D + pass=0D + elif token in [CParser.T__37, CParser.T__39]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 460=0D + self.direct_abstract_declarator()=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Direct_abstract_declaratorContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def abstract_declarator(self):=0D + return self.getTypedRuleContext(CParser.Abstract_declaratorCon= text,0)=0D +=0D +=0D + def abstract_declarator_suffix(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Abstract_declarat= or_suffixContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Abstract_declarato= r_suffixContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_direct_abstract_declarator=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterDirect_abstract_declarator" ):=0D + listener.enterDirect_abstract_declarator(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitDirect_abstract_declarator" ):=0D + listener.exitDirect_abstract_declarator(self)=0D +=0D +=0D +=0D + def direct_abstract_declarator(self):=0D +=0D + localctx =3D CParser.Direct_abstract_declaratorContext(self, self.= _ctx, self.state)=0D + self.enterRule(localctx, 62, self.RULE_direct_abstract_declarator)= =0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 468=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,57,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.state =3D 463=0D + self.match(CParser.T__37)=0D + self.state =3D 464=0D + self.abstract_declarator()=0D + self.state =3D 465=0D + self.match(CParser.T__38)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.state =3D 467=0D + self.abstract_declarator_suffix()=0D + pass=0D +=0D +=0D + self.state =3D 473=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,58,self._ctx= )=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 470=0D + self.abstract_declarator_suffix()=0D + self.state =3D 475=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,58,self.= _ctx)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Abstract_declarator_suffixContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def constant_expression(self):=0D + return self.getTypedRuleContext(CParser.Constant_expressionCon= text,0)=0D +=0D +=0D + def parameter_type_list(self):=0D + return self.getTypedRuleContext(CParser.Parameter_type_listCon= text,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_abstract_declarator_suffix=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterAbstract_declarator_suffix" ):=0D + listener.enterAbstract_declarator_suffix(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitAbstract_declarator_suffix" ):=0D + listener.exitAbstract_declarator_suffix(self)=0D +=0D +=0D +=0D +=0D + def abstract_declarator_suffix(self):=0D +=0D + localctx =3D CParser.Abstract_declarator_suffixContext(self, self.= _ctx, self.state)=0D + self.enterRule(localctx, 64, self.RULE_abstract_declarator_suffix)= =0D + try:=0D + self.state =3D 488=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,59,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 476=0D + self.match(CParser.T__39)=0D + self.state =3D 477=0D + self.match(CParser.T__40)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 478=0D + self.match(CParser.T__39)=0D + self.state =3D 479=0D + self.constant_expression()=0D + self.state =3D 480=0D + self.match(CParser.T__40)=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 482=0D + self.match(CParser.T__37)=0D + self.state =3D 483=0D + self.match(CParser.T__38)=0D + pass=0D +=0D + elif la_ =3D=3D 4:=0D + self.enterOuterAlt(localctx, 4)=0D + self.state =3D 484=0D + self.match(CParser.T__37)=0D + self.state =3D 485=0D + self.parameter_type_list()=0D + self.state =3D 486=0D + self.match(CParser.T__38)=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class InitializerContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def assignment_expression(self):=0D + return self.getTypedRuleContext(CParser.Assignment_expressionC= ontext,0)=0D +=0D +=0D + def initializer_list(self):=0D + return self.getTypedRuleContext(CParser.Initializer_listContex= t,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_initializer=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterInitializer" ):=0D + listener.enterInitializer(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitInitializer" ):=0D + listener.exitInitializer(self)=0D +=0D +=0D +=0D +=0D + def initializer(self):=0D +=0D + localctx =3D CParser.InitializerContext(self, self._ctx, self.stat= e)=0D + self.enterRule(localctx, 66, self.RULE_initializer)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 498=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__37, CParser.T__41, CParser.T__43, CPar= ser.T__44, CParser.T__47, CParser.T__48, CParser.T__49, CParser.T__52, CPar= ser.T__53, CParser.T__54, CParser.IDENTIFIER, CParser.CHARACTER_LITERAL, CP= arser.STRING_LITERAL, CParser.HEX_LITERAL, CParser.DECIMAL_LITERAL, CParser= .OCTAL_LITERAL, CParser.FLOATING_POINT_LITERAL]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 490=0D + self.assignment_expression()=0D + pass=0D + elif token in [CParser.T__0]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 491=0D + self.match(CParser.T__0)=0D + self.state =3D 492=0D + self.initializer_list()=0D + self.state =3D 494=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__3:=0D + self.state =3D 493=0D + self.match(CParser.T__3)=0D +=0D +=0D + self.state =3D 496=0D + self.match(CParser.T__19)=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Initializer_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def initializer(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.InitializerContex= t)=0D + else:=0D + return self.getTypedRuleContext(CParser.InitializerContext= ,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_initializer_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterInitializer_list" ):=0D + listener.enterInitializer_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitInitializer_list" ):=0D + listener.exitInitializer_list(self)=0D +=0D +=0D +=0D +=0D + def initializer_list(self):=0D +=0D + localctx =3D CParser.Initializer_listContext(self, self._ctx, self= .state)=0D + self.enterRule(localctx, 68, self.RULE_initializer_list)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 500=0D + self.initializer()=0D + self.state =3D 505=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,62,self._ctx= )=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 501=0D + self.match(CParser.T__3)=0D + self.state =3D 502=0D + self.initializer()=0D + self.state =3D 507=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,62,self.= _ctx)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Argument_expression_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def assignment_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Assignment_expres= sionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Assignment_express= ionContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_argument_expression_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterArgument_expression_list" ):=0D + listener.enterArgument_expression_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitArgument_expression_list" ):=0D + listener.exitArgument_expression_list(self)=0D +=0D +=0D +=0D +=0D + def argument_expression_list(self):=0D +=0D + localctx =3D CParser.Argument_expression_listContext(self, self._c= tx, self.state)=0D + self.enterRule(localctx, 70, self.RULE_argument_expression_list)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 508=0D + self.assignment_expression()=0D + self.state =3D 510=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__28:=0D + self.state =3D 509=0D + self.match(CParser.T__28)=0D +=0D +=0D + self.state =3D 519=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__3:=0D + self.state =3D 512=0D + self.match(CParser.T__3)=0D + self.state =3D 513=0D + self.assignment_expression()=0D + self.state =3D 515=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__28:=0D + self.state =3D 514=0D + self.match(CParser.T__28)=0D +=0D +=0D + self.state =3D 521=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Additive_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def multiplicative_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Multiplicative_ex= pressionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Multiplicative_exp= ressionContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_additive_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterAdditive_expression" ):=0D + listener.enterAdditive_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitAdditive_expression" ):=0D + listener.exitAdditive_expression(self)=0D +=0D +=0D +=0D +=0D + def additive_expression(self):=0D +=0D + localctx =3D CParser.Additive_expressionContext(self, self._ctx, s= elf.state)=0D + self.enterRule(localctx, 72, self.RULE_additive_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 522=0D + self.multiplicative_expression()=0D + self.state =3D 529=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__43 or _la=3D=3DCParser.T__44:=0D + self.state =3D 527=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__43]:=0D + self.state =3D 523=0D + self.match(CParser.T__43)=0D + self.state =3D 524=0D + self.multiplicative_expression()=0D + pass=0D + elif token in [CParser.T__44]:=0D + self.state =3D 525=0D + self.match(CParser.T__44)=0D + self.state =3D 526=0D + self.multiplicative_expression()=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + self.state =3D 531=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Multiplicative_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def cast_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Cast_expressionCo= ntext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Cast_expressionCon= text,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_multiplicative_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterMultiplicative_expression" ):=0D + listener.enterMultiplicative_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitMultiplicative_expression" ):=0D + listener.exitMultiplicative_expression(self)=0D +=0D +=0D +=0D +=0D + def multiplicative_expression(self):=0D +=0D + localctx =3D CParser.Multiplicative_expressionContext(self, self._= ctx, self.state)=0D + self.enterRule(localctx, 74, self.RULE_multiplicative_expression)= =0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 532=0D + self.cast_expression()=0D + self.state =3D 541=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while (((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << CPars= er.T__41) | (1 << CParser.T__45) | (1 << CParser.T__46))) !=3D 0):=0D + self.state =3D 539=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__41]:=0D + self.state =3D 533=0D + self.match(CParser.T__41)=0D + self.state =3D 534=0D + self.cast_expression()=0D + pass=0D + elif token in [CParser.T__45]:=0D + self.state =3D 535=0D + self.match(CParser.T__45)=0D + self.state =3D 536=0D + self.cast_expression()=0D + pass=0D + elif token in [CParser.T__46]:=0D + self.state =3D 537=0D + self.match(CParser.T__46)=0D + self.state =3D 538=0D + self.cast_expression()=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + self.state =3D 543=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Cast_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def type_name(self):=0D + return self.getTypedRuleContext(CParser.Type_nameContext,0)=0D +=0D +=0D + def cast_expression(self):=0D + return self.getTypedRuleContext(CParser.Cast_expressionContext= ,0)=0D +=0D +=0D + def unary_expression(self):=0D + return self.getTypedRuleContext(CParser.Unary_expressionContex= t,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_cast_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterCast_expression" ):=0D + listener.enterCast_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitCast_expression" ):=0D + listener.exitCast_expression(self)=0D +=0D +=0D +=0D +=0D + def cast_expression(self):=0D +=0D + localctx =3D CParser.Cast_expressionContext(self, self._ctx, self.= state)=0D + self.enterRule(localctx, 76, self.RULE_cast_expression)=0D + try:=0D + self.state =3D 550=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,70,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 544=0D + self.match(CParser.T__37)=0D + self.state =3D 545=0D + self.type_name()=0D + self.state =3D 546=0D + self.match(CParser.T__38)=0D + self.state =3D 547=0D + self.cast_expression()=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 549=0D + self.unary_expression()=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Unary_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def postfix_expression(self):=0D + return self.getTypedRuleContext(CParser.Postfix_expressionCont= ext,0)=0D +=0D +=0D + def unary_expression(self):=0D + return self.getTypedRuleContext(CParser.Unary_expressionContex= t,0)=0D +=0D +=0D + def unary_operator(self):=0D + return self.getTypedRuleContext(CParser.Unary_operatorContext,= 0)=0D +=0D +=0D + def cast_expression(self):=0D + return self.getTypedRuleContext(CParser.Cast_expressionContext= ,0)=0D +=0D +=0D + def type_name(self):=0D + return self.getTypedRuleContext(CParser.Type_nameContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_unary_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterUnary_expression" ):=0D + listener.enterUnary_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitUnary_expression" ):=0D + listener.exitUnary_expression(self)=0D +=0D +=0D +=0D +=0D + def unary_expression(self):=0D +=0D + localctx =3D CParser.Unary_expressionContext(self, self._ctx, self= .state)=0D + self.enterRule(localctx, 78, self.RULE_unary_expression)=0D + try:=0D + self.state =3D 567=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,71,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 552=0D + self.postfix_expression()=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 553=0D + self.match(CParser.T__47)=0D + self.state =3D 554=0D + self.unary_expression()=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 555=0D + self.match(CParser.T__48)=0D + self.state =3D 556=0D + self.unary_expression()=0D + pass=0D +=0D + elif la_ =3D=3D 4:=0D + self.enterOuterAlt(localctx, 4)=0D + self.state =3D 557=0D + self.unary_operator()=0D + self.state =3D 558=0D + self.cast_expression()=0D + pass=0D +=0D + elif la_ =3D=3D 5:=0D + self.enterOuterAlt(localctx, 5)=0D + self.state =3D 560=0D + self.match(CParser.T__49)=0D + self.state =3D 561=0D + self.unary_expression()=0D + pass=0D +=0D + elif la_ =3D=3D 6:=0D + self.enterOuterAlt(localctx, 6)=0D + self.state =3D 562=0D + self.match(CParser.T__49)=0D + self.state =3D 563=0D + self.match(CParser.T__37)=0D + self.state =3D 564=0D + self.type_name()=0D + self.state =3D 565=0D + self.match(CParser.T__38)=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Postfix_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D + self.FuncCallText =3D ''=0D + self.p =3D None # Primary_expressionContext=0D + self.a =3D None # Token=0D + self.c =3D None # Argument_expression_listContext=0D + self.b =3D None # Token=0D + self.x =3D None # Token=0D + self.y =3D None # Token=0D + self.z =3D None # Token=0D +=0D + def primary_expression(self):=0D + return self.getTypedRuleContext(CParser.Primary_expressionCont= ext,0)=0D +=0D +=0D + def expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.ExpressionContext= )=0D + else:=0D + return self.getTypedRuleContext(CParser.ExpressionContext,= i)=0D +=0D +=0D + def macro_parameter_list(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Macro_parameter_l= istContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Macro_parameter_li= stContext,i)=0D +=0D +=0D + def argument_expression_list(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Argument_expressi= on_listContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Argument_expressio= n_listContext,i)=0D +=0D +=0D + def IDENTIFIER(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTokens(CParser.IDENTIFIER)=0D + else:=0D + return self.getToken(CParser.IDENTIFIER, i)=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_postfix_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterPostfix_expression" ):=0D + listener.enterPostfix_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitPostfix_expression" ):=0D + listener.exitPostfix_expression(self)=0D +=0D +=0D +=0D +=0D + def postfix_expression(self):=0D +=0D + localctx =3D CParser.Postfix_expressionContext(self, self._ctx, se= lf.state)=0D + self.enterRule(localctx, 80, self.RULE_postfix_expression)=0D +=0D + self.FuncCallText=3D''=0D +=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 569=0D + localctx.p =3D self.primary_expression()=0D + self.FuncCallText +=3D (None if localctx.p is None else self._= input.getText((localctx.p.start,localctx.p.stop)))=0D + self.state =3D 600=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,73,self._ctx= )=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 598=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,72,se= lf._ctx)=0D + if la_ =3D=3D 1:=0D + self.state =3D 571=0D + self.match(CParser.T__39)=0D + self.state =3D 572=0D + self.expression()=0D + self.state =3D 573=0D + self.match(CParser.T__40)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.state =3D 575=0D + self.match(CParser.T__37)=0D + self.state =3D 576=0D + localctx.a =3D self.match(CParser.T__38)=0D + self.StoreFunctionCalling((None if localctx.p is N= one else localctx.p.start).line, (None if localctx.p is None else localctx.= p.start).column, (0 if localctx.a is None else localctx.a.line), localctx.a= .column, self.FuncCallText, '')=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.state =3D 578=0D + self.match(CParser.T__37)=0D + self.state =3D 579=0D + localctx.c =3D self.argument_expression_list()=0D + self.state =3D 580=0D + localctx.b =3D self.match(CParser.T__38)=0D + self.StoreFunctionCalling((None if localctx.p is N= one else localctx.p.start).line, (None if localctx.p is None else localctx.= p.start).column, (0 if localctx.b is None else localctx.b.line), localctx.b= .column, self.FuncCallText, (None if localctx.c is None else self._input.ge= tText((localctx.c.start,localctx.c.stop))))=0D + pass=0D +=0D + elif la_ =3D=3D 4:=0D + self.state =3D 583=0D + self.match(CParser.T__37)=0D + self.state =3D 584=0D + self.macro_parameter_list()=0D + self.state =3D 585=0D + self.match(CParser.T__38)=0D + pass=0D +=0D + elif la_ =3D=3D 5:=0D + self.state =3D 587=0D + self.match(CParser.T__50)=0D + self.state =3D 588=0D + localctx.x =3D self.match(CParser.IDENTIFIER)=0D + self.FuncCallText +=3D '.' + (None if localctx.x i= s None else localctx.x.text)=0D + pass=0D +=0D + elif la_ =3D=3D 6:=0D + self.state =3D 590=0D + self.match(CParser.T__41)=0D + self.state =3D 591=0D + localctx.y =3D self.match(CParser.IDENTIFIER)=0D + self.FuncCallText =3D (None if localctx.y is None = else localctx.y.text)=0D + pass=0D +=0D + elif la_ =3D=3D 7:=0D + self.state =3D 593=0D + self.match(CParser.T__51)=0D + self.state =3D 594=0D + localctx.z =3D self.match(CParser.IDENTIFIER)=0D + self.FuncCallText +=3D '->' + (None if localctx.z = is None else localctx.z.text)=0D + pass=0D +=0D + elif la_ =3D=3D 8:=0D + self.state =3D 596=0D + self.match(CParser.T__47)=0D + pass=0D +=0D + elif la_ =3D=3D 9:=0D + self.state =3D 597=0D + self.match(CParser.T__48)=0D + pass=0D +=0D +=0D + self.state =3D 602=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,73,self.= _ctx)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Macro_parameter_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def parameter_declaration(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Parameter_declara= tionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Parameter_declarat= ionContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_macro_parameter_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterMacro_parameter_list" ):=0D + listener.enterMacro_parameter_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitMacro_parameter_list" ):=0D + listener.exitMacro_parameter_list(self)=0D +=0D +=0D +=0D +=0D + def macro_parameter_list(self):=0D +=0D + localctx =3D CParser.Macro_parameter_listContext(self, self._ctx, = self.state)=0D + self.enterRule(localctx, 82, self.RULE_macro_parameter_list)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 603=0D + self.parameter_declaration()=0D + self.state =3D 608=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__3:=0D + self.state =3D 604=0D + self.match(CParser.T__3)=0D + self.state =3D 605=0D + self.parameter_declaration()=0D + self.state =3D 610=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Unary_operatorContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_unary_operator=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterUnary_operator" ):=0D + listener.enterUnary_operator(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitUnary_operator" ):=0D + listener.exitUnary_operator(self)=0D +=0D +=0D +=0D +=0D + def unary_operator(self):=0D +=0D + localctx =3D CParser.Unary_operatorContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 84, self.RULE_unary_operator)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 611=0D + _la =3D self._input.LA(1)=0D + if not((((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << CPar= ser.T__41) | (1 << CParser.T__43) | (1 << CParser.T__44) | (1 << CParser.T_= _52) | (1 << CParser.T__53) | (1 << CParser.T__54))) !=3D 0)):=0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Primary_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def constant(self):=0D + return self.getTypedRuleContext(CParser.ConstantContext,0)=0D +=0D +=0D + def expression(self):=0D + return self.getTypedRuleContext(CParser.ExpressionContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_primary_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterPrimary_expression" ):=0D + listener.enterPrimary_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitPrimary_expression" ):=0D + listener.exitPrimary_expression(self)=0D +=0D +=0D +=0D +=0D + def primary_expression(self):=0D +=0D + localctx =3D CParser.Primary_expressionContext(self, self._ctx, se= lf.state)=0D + self.enterRule(localctx, 86, self.RULE_primary_expression)=0D + try:=0D + self.state =3D 619=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,75,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 613=0D + self.match(CParser.IDENTIFIER)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 614=0D + self.constant()=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 615=0D + self.match(CParser.T__37)=0D + self.state =3D 616=0D + self.expression()=0D + self.state =3D 617=0D + self.match(CParser.T__38)=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class ConstantContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def HEX_LITERAL(self):=0D + return self.getToken(CParser.HEX_LITERAL, 0)=0D +=0D + def OCTAL_LITERAL(self):=0D + return self.getToken(CParser.OCTAL_LITERAL, 0)=0D +=0D + def DECIMAL_LITERAL(self):=0D + return self.getToken(CParser.DECIMAL_LITERAL, 0)=0D +=0D + def CHARACTER_LITERAL(self):=0D + return self.getToken(CParser.CHARACTER_LITERAL, 0)=0D +=0D + def IDENTIFIER(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTokens(CParser.IDENTIFIER)=0D + else:=0D + return self.getToken(CParser.IDENTIFIER, i)=0D +=0D + def STRING_LITERAL(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTokens(CParser.STRING_LITERAL)=0D + else:=0D + return self.getToken(CParser.STRING_LITERAL, i)=0D +=0D + def FLOATING_POINT_LITERAL(self):=0D + return self.getToken(CParser.FLOATING_POINT_LITERAL, 0)=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_constant=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterConstant" ):=0D + listener.enterConstant(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitConstant" ):=0D + listener.exitConstant(self)=0D +=0D +=0D +=0D +=0D + def constant(self):=0D +=0D + localctx =3D CParser.ConstantContext(self, self._ctx, self.state)= =0D + self.enterRule(localctx, 88, self.RULE_constant)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.state =3D 647=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.HEX_LITERAL]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 621=0D + self.match(CParser.HEX_LITERAL)=0D + pass=0D + elif token in [CParser.OCTAL_LITERAL]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 622=0D + self.match(CParser.OCTAL_LITERAL)=0D + pass=0D + elif token in [CParser.DECIMAL_LITERAL]:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 623=0D + self.match(CParser.DECIMAL_LITERAL)=0D + pass=0D + elif token in [CParser.CHARACTER_LITERAL]:=0D + self.enterOuterAlt(localctx, 4)=0D + self.state =3D 624=0D + self.match(CParser.CHARACTER_LITERAL)=0D + pass=0D + elif token in [CParser.IDENTIFIER, CParser.STRING_LITERAL]:=0D + self.enterOuterAlt(localctx, 5)=0D + self.state =3D 636=0D + self._errHandler.sync(self)=0D + _alt =3D 1=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt =3D=3D 1:=0D + self.state =3D 628=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.IDENTIFIER:=0D + self.state =3D 625=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 630=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + self.state =3D 632=0D + self._errHandler.sync(self)=0D + _alt =3D 1=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER= :=0D + if _alt =3D=3D 1:=0D + self.state =3D 631=0D + self.match(CParser.STRING_LITERAL)=0D +=0D + else:=0D + raise NoViableAltException(self)=0D + self.state =3D 634=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._in= put,77,self._ctx)=0D +=0D +=0D + else:=0D + raise NoViableAltException(self)=0D + self.state =3D 638=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,78,s= elf._ctx)=0D +=0D + self.state =3D 643=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.IDENTIFIER:=0D + self.state =3D 640=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 645=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + pass=0D + elif token in [CParser.FLOATING_POINT_LITERAL]:=0D + self.enterOuterAlt(localctx, 6)=0D + self.state =3D 646=0D + self.match(CParser.FLOATING_POINT_LITERAL)=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class ExpressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def assignment_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Assignment_expres= sionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Assignment_express= ionContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterExpression" ):=0D + listener.enterExpression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitExpression" ):=0D + listener.exitExpression(self)=0D +=0D +=0D +=0D +=0D + def expression(self):=0D +=0D + localctx =3D CParser.ExpressionContext(self, self._ctx, self.state= )=0D + self.enterRule(localctx, 90, self.RULE_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 649=0D + self.assignment_expression()=0D + self.state =3D 654=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__3:=0D + self.state =3D 650=0D + self.match(CParser.T__3)=0D + self.state =3D 651=0D + self.assignment_expression()=0D + self.state =3D 656=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Constant_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def conditional_expression(self):=0D + return self.getTypedRuleContext(CParser.Conditional_expression= Context,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_constant_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterConstant_expression" ):=0D + listener.enterConstant_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitConstant_expression" ):=0D + listener.exitConstant_expression(self)=0D +=0D +=0D +=0D +=0D + def constant_expression(self):=0D +=0D + localctx =3D CParser.Constant_expressionContext(self, self._ctx, s= elf.state)=0D + self.enterRule(localctx, 92, self.RULE_constant_expression)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 657=0D + self.conditional_expression()=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Assignment_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def lvalue(self):=0D + return self.getTypedRuleContext(CParser.LvalueContext,0)=0D +=0D +=0D + def assignment_operator(self):=0D + return self.getTypedRuleContext(CParser.Assignment_operatorCon= text,0)=0D +=0D +=0D + def assignment_expression(self):=0D + return self.getTypedRuleContext(CParser.Assignment_expressionC= ontext,0)=0D +=0D +=0D + def conditional_expression(self):=0D + return self.getTypedRuleContext(CParser.Conditional_expression= Context,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_assignment_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterAssignment_expression" ):=0D + listener.enterAssignment_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitAssignment_expression" ):=0D + listener.exitAssignment_expression(self)=0D +=0D +=0D +=0D +=0D + def assignment_expression(self):=0D +=0D + localctx =3D CParser.Assignment_expressionContext(self, self._ctx,= self.state)=0D + self.enterRule(localctx, 94, self.RULE_assignment_expression)=0D + try:=0D + self.state =3D 664=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,82,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 659=0D + self.lvalue()=0D + self.state =3D 660=0D + self.assignment_operator()=0D + self.state =3D 661=0D + self.assignment_expression()=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 663=0D + self.conditional_expression()=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class LvalueContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def unary_expression(self):=0D + return self.getTypedRuleContext(CParser.Unary_expressionContex= t,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_lvalue=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterLvalue" ):=0D + listener.enterLvalue(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitLvalue" ):=0D + listener.exitLvalue(self)=0D +=0D +=0D +=0D +=0D + def lvalue(self):=0D +=0D + localctx =3D CParser.LvalueContext(self, self._ctx, self.state)=0D + self.enterRule(localctx, 96, self.RULE_lvalue)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 666=0D + self.unary_expression()=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Assignment_operatorContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_assignment_operator=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterAssignment_operator" ):=0D + listener.enterAssignment_operator(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitAssignment_operator" ):=0D + listener.exitAssignment_operator(self)=0D +=0D +=0D +=0D +=0D + def assignment_operator(self):=0D +=0D + localctx =3D CParser.Assignment_operatorContext(self, self._ctx, s= elf.state)=0D + self.enterRule(localctx, 98, self.RULE_assignment_operator)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 668=0D + _la =3D self._input.LA(1)=0D + if not(((((_la - 5)) & ~0x3f) =3D=3D 0 and ((1 << (_la - 5)) &= ((1 << (CParser.T__4 - 5)) | (1 << (CParser.T__55 - 5)) | (1 << (CParser.T= __56 - 5)) | (1 << (CParser.T__57 - 5)) | (1 << (CParser.T__58 - 5)) | (1 <= < (CParser.T__59 - 5)) | (1 << (CParser.T__60 - 5)) | (1 << (CParser.T__61 = - 5)) | (1 << (CParser.T__62 - 5)) | (1 << (CParser.T__63 - 5)) | (1 << (CP= arser.T__64 - 5)))) !=3D 0)):=0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Conditional_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D + self.e =3D None # Logical_or_expressionContext=0D +=0D + def logical_or_expression(self):=0D + return self.getTypedRuleContext(CParser.Logical_or_expressionC= ontext,0)=0D +=0D +=0D + def expression(self):=0D + return self.getTypedRuleContext(CParser.ExpressionContext,0)=0D +=0D +=0D + def conditional_expression(self):=0D + return self.getTypedRuleContext(CParser.Conditional_expression= Context,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_conditional_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterConditional_expression" ):=0D + listener.enterConditional_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitConditional_expression" ):=0D + listener.exitConditional_expression(self)=0D +=0D +=0D +=0D +=0D + def conditional_expression(self):=0D +=0D + localctx =3D CParser.Conditional_expressionContext(self, self._ctx= , self.state)=0D + self.enterRule(localctx, 100, self.RULE_conditional_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 670=0D + localctx.e =3D self.logical_or_expression()=0D + self.state =3D 677=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__65:=0D + self.state =3D 671=0D + self.match(CParser.T__65)=0D + self.state =3D 672=0D + self.expression()=0D + self.state =3D 673=0D + self.match(CParser.T__22)=0D + self.state =3D 674=0D + self.conditional_expression()=0D + self.StorePredicateExpression((None if localctx.e is None = else localctx.e.start).line, (None if localctx.e is None else localctx.e.st= art).column, (None if localctx.e is None else localctx.e.stop).line, (None = if localctx.e is None else localctx.e.stop).column, (None if localctx.e is = None else self._input.getText((localctx.e.start,localctx.e.stop))))=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Logical_or_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def logical_and_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Logical_and_expre= ssionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Logical_and_expres= sionContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_logical_or_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterLogical_or_expression" ):=0D + listener.enterLogical_or_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitLogical_or_expression" ):=0D + listener.exitLogical_or_expression(self)=0D +=0D +=0D +=0D +=0D + def logical_or_expression(self):=0D +=0D + localctx =3D CParser.Logical_or_expressionContext(self, self._ctx,= self.state)=0D + self.enterRule(localctx, 102, self.RULE_logical_or_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 679=0D + self.logical_and_expression()=0D + self.state =3D 684=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__66:=0D + self.state =3D 680=0D + self.match(CParser.T__66)=0D + self.state =3D 681=0D + self.logical_and_expression()=0D + self.state =3D 686=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Logical_and_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def inclusive_or_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Inclusive_or_expr= essionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Inclusive_or_expre= ssionContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_logical_and_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterLogical_and_expression" ):=0D + listener.enterLogical_and_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitLogical_and_expression" ):=0D + listener.exitLogical_and_expression(self)=0D +=0D +=0D +=0D +=0D + def logical_and_expression(self):=0D +=0D + localctx =3D CParser.Logical_and_expressionContext(self, self._ctx= , self.state)=0D + self.enterRule(localctx, 104, self.RULE_logical_and_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 687=0D + self.inclusive_or_expression()=0D + self.state =3D 692=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__67:=0D + self.state =3D 688=0D + self.match(CParser.T__67)=0D + self.state =3D 689=0D + self.inclusive_or_expression()=0D + self.state =3D 694=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Inclusive_or_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def exclusive_or_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Exclusive_or_expr= essionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Exclusive_or_expre= ssionContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_inclusive_or_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterInclusive_or_expression" ):=0D + listener.enterInclusive_or_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitInclusive_or_expression" ):=0D + listener.exitInclusive_or_expression(self)=0D +=0D +=0D +=0D +=0D + def inclusive_or_expression(self):=0D +=0D + localctx =3D CParser.Inclusive_or_expressionContext(self, self._ct= x, self.state)=0D + self.enterRule(localctx, 106, self.RULE_inclusive_or_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 695=0D + self.exclusive_or_expression()=0D + self.state =3D 700=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__68:=0D + self.state =3D 696=0D + self.match(CParser.T__68)=0D + self.state =3D 697=0D + self.exclusive_or_expression()=0D + self.state =3D 702=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Exclusive_or_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def and_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.And_expressionCon= text)=0D + else:=0D + return self.getTypedRuleContext(CParser.And_expressionCont= ext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_exclusive_or_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterExclusive_or_expression" ):=0D + listener.enterExclusive_or_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitExclusive_or_expression" ):=0D + listener.exitExclusive_or_expression(self)=0D +=0D +=0D +=0D +=0D + def exclusive_or_expression(self):=0D +=0D + localctx =3D CParser.Exclusive_or_expressionContext(self, self._ct= x, self.state)=0D + self.enterRule(localctx, 108, self.RULE_exclusive_or_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 703=0D + self.and_expression()=0D + self.state =3D 708=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__69:=0D + self.state =3D 704=0D + self.match(CParser.T__69)=0D + self.state =3D 705=0D + self.and_expression()=0D + self.state =3D 710=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class And_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def equality_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Equality_expressi= onContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Equality_expressio= nContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_and_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterAnd_expression" ):=0D + listener.enterAnd_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitAnd_expression" ):=0D + listener.exitAnd_expression(self)=0D +=0D +=0D +=0D +=0D + def and_expression(self):=0D +=0D + localctx =3D CParser.And_expressionContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 110, self.RULE_and_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 711=0D + self.equality_expression()=0D + self.state =3D 716=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__52:=0D + self.state =3D 712=0D + self.match(CParser.T__52)=0D + self.state =3D 713=0D + self.equality_expression()=0D + self.state =3D 718=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Equality_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def relational_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Relational_expres= sionContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Relational_express= ionContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_equality_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterEquality_expression" ):=0D + listener.enterEquality_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitEquality_expression" ):=0D + listener.exitEquality_expression(self)=0D +=0D +=0D +=0D +=0D + def equality_expression(self):=0D +=0D + localctx =3D CParser.Equality_expressionContext(self, self._ctx, s= elf.state)=0D + self.enterRule(localctx, 112, self.RULE_equality_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 719=0D + self.relational_expression()=0D + self.state =3D 724=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__70 or _la=3D=3DCParser.T__71:=0D + self.state =3D 720=0D + _la =3D self._input.LA(1)=0D + if not(_la=3D=3DCParser.T__70 or _la=3D=3DCParser.T__71):= =0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + self.state =3D 721=0D + self.relational_expression()=0D + self.state =3D 726=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Relational_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def shift_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Shift_expressionC= ontext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Shift_expressionCo= ntext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_relational_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterRelational_expression" ):=0D + listener.enterRelational_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitRelational_expression" ):=0D + listener.exitRelational_expression(self)=0D +=0D +=0D +=0D +=0D + def relational_expression(self):=0D +=0D + localctx =3D CParser.Relational_expressionContext(self, self._ctx,= self.state)=0D + self.enterRule(localctx, 114, self.RULE_relational_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 727=0D + self.shift_expression()=0D + self.state =3D 732=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while ((((_la - 73)) & ~0x3f) =3D=3D 0 and ((1 << (_la - 73)) = & ((1 << (CParser.T__72 - 73)) | (1 << (CParser.T__73 - 73)) | (1 << (CPars= er.T__74 - 73)) | (1 << (CParser.T__75 - 73)))) !=3D 0):=0D + self.state =3D 728=0D + _la =3D self._input.LA(1)=0D + if not(((((_la - 73)) & ~0x3f) =3D=3D 0 and ((1 << (_la - = 73)) & ((1 << (CParser.T__72 - 73)) | (1 << (CParser.T__73 - 73)) | (1 << (= CParser.T__74 - 73)) | (1 << (CParser.T__75 - 73)))) !=3D 0)):=0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + self.state =3D 729=0D + self.shift_expression()=0D + self.state =3D 734=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Shift_expressionContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def additive_expression(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.Additive_expressi= onContext)=0D + else:=0D + return self.getTypedRuleContext(CParser.Additive_expressio= nContext,i)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_shift_expression=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterShift_expression" ):=0D + listener.enterShift_expression(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitShift_expression" ):=0D + listener.exitShift_expression(self)=0D +=0D +=0D +=0D +=0D + def shift_expression(self):=0D +=0D + localctx =3D CParser.Shift_expressionContext(self, self._ctx, self= .state)=0D + self.enterRule(localctx, 116, self.RULE_shift_expression)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 735=0D + self.additive_expression()=0D + self.state =3D 740=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while _la=3D=3DCParser.T__76 or _la=3D=3DCParser.T__77:=0D + self.state =3D 736=0D + _la =3D self._input.LA(1)=0D + if not(_la=3D=3DCParser.T__76 or _la=3D=3DCParser.T__77):= =0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + self.state =3D 737=0D + self.additive_expression()=0D + self.state =3D 742=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class StatementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def labeled_statement(self):=0D + return self.getTypedRuleContext(CParser.Labeled_statementConte= xt,0)=0D +=0D +=0D + def compound_statement(self):=0D + return self.getTypedRuleContext(CParser.Compound_statementCont= ext,0)=0D +=0D +=0D + def expression_statement(self):=0D + return self.getTypedRuleContext(CParser.Expression_statementCo= ntext,0)=0D +=0D +=0D + def selection_statement(self):=0D + return self.getTypedRuleContext(CParser.Selection_statementCon= text,0)=0D +=0D +=0D + def iteration_statement(self):=0D + return self.getTypedRuleContext(CParser.Iteration_statementCon= text,0)=0D +=0D +=0D + def jump_statement(self):=0D + return self.getTypedRuleContext(CParser.Jump_statementContext,= 0)=0D +=0D +=0D + def macro_statement(self):=0D + return self.getTypedRuleContext(CParser.Macro_statementContext= ,0)=0D +=0D +=0D + def asm2_statement(self):=0D + return self.getTypedRuleContext(CParser.Asm2_statementContext,= 0)=0D +=0D +=0D + def asm1_statement(self):=0D + return self.getTypedRuleContext(CParser.Asm1_statementContext,= 0)=0D +=0D +=0D + def asm_statement(self):=0D + return self.getTypedRuleContext(CParser.Asm_statementContext,0= )=0D +=0D +=0D + def declaration(self):=0D + return self.getTypedRuleContext(CParser.DeclarationContext,0)= =0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterStatement" ):=0D + listener.enterStatement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitStatement" ):=0D + listener.exitStatement(self)=0D +=0D +=0D +=0D +=0D + def statement(self):=0D +=0D + localctx =3D CParser.StatementContext(self, self._ctx, self.state)= =0D + self.enterRule(localctx, 118, self.RULE_statement)=0D + try:=0D + self.state =3D 754=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,92,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 743=0D + self.labeled_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 744=0D + self.compound_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 745=0D + self.expression_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 4:=0D + self.enterOuterAlt(localctx, 4)=0D + self.state =3D 746=0D + self.selection_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 5:=0D + self.enterOuterAlt(localctx, 5)=0D + self.state =3D 747=0D + self.iteration_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 6:=0D + self.enterOuterAlt(localctx, 6)=0D + self.state =3D 748=0D + self.jump_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 7:=0D + self.enterOuterAlt(localctx, 7)=0D + self.state =3D 749=0D + self.macro_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 8:=0D + self.enterOuterAlt(localctx, 8)=0D + self.state =3D 750=0D + self.asm2_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 9:=0D + self.enterOuterAlt(localctx, 9)=0D + self.state =3D 751=0D + self.asm1_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 10:=0D + self.enterOuterAlt(localctx, 10)=0D + self.state =3D 752=0D + self.asm_statement()=0D + pass=0D +=0D + elif la_ =3D=3D 11:=0D + self.enterOuterAlt(localctx, 11)=0D + self.state =3D 753=0D + self.declaration()=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Asm2_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_asm2_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterAsm2_statement" ):=0D + listener.enterAsm2_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitAsm2_statement" ):=0D + listener.exitAsm2_statement(self)=0D +=0D +=0D +=0D +=0D + def asm2_statement(self):=0D +=0D + localctx =3D CParser.Asm2_statementContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 120, self.RULE_asm2_statement)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 757=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if _la=3D=3DCParser.T__78:=0D + self.state =3D 756=0D + self.match(CParser.T__78)=0D +=0D +=0D + self.state =3D 759=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 760=0D + self.match(CParser.T__37)=0D + self.state =3D 764=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,94,self._ctx= )=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 761=0D + _la =3D self._input.LA(1)=0D + if _la <=3D 0 or _la=3D=3DCParser.T__1:=0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + self.state =3D 766=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,94,self.= _ctx)=0D +=0D + self.state =3D 767=0D + self.match(CParser.T__38)=0D + self.state =3D 768=0D + self.match(CParser.T__1)=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Asm1_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_asm1_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterAsm1_statement" ):=0D + listener.enterAsm1_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitAsm1_statement" ):=0D + listener.exitAsm1_statement(self)=0D +=0D +=0D +=0D +=0D + def asm1_statement(self):=0D +=0D + localctx =3D CParser.Asm1_statementContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 122, self.RULE_asm1_statement)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 770=0D + self.match(CParser.T__79)=0D + self.state =3D 771=0D + self.match(CParser.T__0)=0D + self.state =3D 775=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while (((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << CPars= er.T__0) | (1 << CParser.T__1) | (1 << CParser.T__2) | (1 << CParser.T__3) = | (1 << CParser.T__4) | (1 << CParser.T__5) | (1 << CParser.T__6) | (1 << C= Parser.T__7) | (1 << CParser.T__8) | (1 << CParser.T__9) | (1 << CParser.T_= _10) | (1 << CParser.T__11) | (1 << CParser.T__12) | (1 << CParser.T__13) |= (1 << CParser.T__14) | (1 << CParser.T__15) | (1 << CParser.T__16) | (1 <<= CParser.T__17) | (1 << CParser.T__18) | (1 << CParser.T__20) | (1 << CPars= er.T__21) | (1 << CParser.T__22) | (1 << CParser.T__23) | (1 << CParser.T__= 24) | (1 << CParser.T__25) | (1 << CParser.T__26) | (1 << CParser.T__27) | = (1 << CParser.T__28) | (1 << CParser.T__29) | (1 << CParser.T__30) | (1 << = CParser.T__31) | (1 << CParser.T__32) | (1 << CParser.T__33) | (1 << CParse= r.T__34) | (1 << CParser.T__35) | (1 << CParser.T__36) | (1 << CParser.T__3= 7) | (1 << CParser.T__38) | (1 << CParser.T__39) | (1 << CParser.T__40) | (= 1 << CParser.T__41) | (1 << CParser.T__42) | (1 << CParser.T__43) | (1 << C= Parser.T__44) | (1 << CParser.T__45) | (1 << CParser.T__46) | (1 << CParser= .T__47) | (1 << CParser.T__48) | (1 << CParser.T__49) | (1 << CParser.T__50= ) | (1 << CParser.T__51) | (1 << CParser.T__52) | (1 << CParser.T__53) | (1= << CParser.T__54) | (1 << CParser.T__55) | (1 << CParser.T__56) | (1 << CP= arser.T__57) | (1 << CParser.T__58) | (1 << CParser.T__59) | (1 << CParser.= T__60) | (1 << CParser.T__61) | (1 << CParser.T__62))) !=3D 0) or ((((_la -= 64)) & ~0x3f) =3D=3D 0 and ((1 << (_la - 64)) & ((1 << (CParser.T__63 - 64= )) | (1 << (CParser.T__64 - 64)) | (1 << (CParser.T__65 - 64)) | (1 << (CPa= rser.T__66 - 64)) | (1 << (CParser.T__67 - 64)) | (1 << (CParser.T__68 - 64= )) | (1 << (CParser.T__69 - 64)) | (1 << (CParser.T__70 - 64)) | (1 << (CPa= rser.T__71 - 64)) | (1 << (CParser.T__72 - 64)) | (1 << (CParser.T__73 - 64= )) | (1 << (CParser.T__74 - 64)) | (1 << (CParser.T__75 - 64)) | (1 << (CPa= rser.T__76 - 64)) | (1 << (CParser.T__77 - 64)) | (1 << (CParser.T__78 - 64= )) | (1 << (CParser.T__79 - 64)) | (1 << (CParser.T__80 - 64)) | (1 << (CPa= rser.T__81 - 64)) | (1 << (CParser.T__82 - 64)) | (1 << (CParser.T__83 - 64= )) | (1 << (CParser.T__84 - 64)) | (1 << (CParser.T__85 - 64)) | (1 << (CPa= rser.T__86 - 64)) | (1 << (CParser.T__87 - 64)) | (1 << (CParser.T__88 - 64= )) | (1 << (CParser.T__89 - 64)) | (1 << (CParser.T__90 - 64)) | (1 << (CPa= rser.T__91 - 64)) | (1 << (CParser.IDENTIFIER - 64)) | (1 << (CParser.CHARA= CTER_LITERAL - 64)) | (1 << (CParser.STRING_LITERAL - 64)) | (1 << (CParser= .HEX_LITERAL - 64)) | (1 << (CParser.DECIMAL_LITERAL - 64)) | (1 << (CParse= r.OCTAL_LITERAL - 64)) | (1 << (CParser.FLOATING_POINT_LITERAL - 64)) | (1 = << (CParser.WS - 64)) | (1 << (CParser.BS - 64)) | (1 << (CParser.UnicodeVo= cabulary - 64)) | (1 << (CParser.COMMENT - 64)) | (1 << (CParser.LINE_COMME= NT - 64)) | (1 << (CParser.LINE_COMMAND - 64)))) !=3D 0):=0D + self.state =3D 772=0D + _la =3D self._input.LA(1)=0D + if _la <=3D 0 or _la=3D=3DCParser.T__19:=0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + self.state =3D 777=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + self.state =3D 778=0D + self.match(CParser.T__19)=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Asm_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_asm_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterAsm_statement" ):=0D + listener.enterAsm_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitAsm_statement" ):=0D + listener.exitAsm_statement(self)=0D +=0D +=0D +=0D +=0D + def asm_statement(self):=0D +=0D + localctx =3D CParser.Asm_statementContext(self, self._ctx, self.st= ate)=0D + self.enterRule(localctx, 124, self.RULE_asm_statement)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 780=0D + self.match(CParser.T__80)=0D + self.state =3D 781=0D + self.match(CParser.T__0)=0D + self.state =3D 785=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + while (((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << CPars= er.T__0) | (1 << CParser.T__1) | (1 << CParser.T__2) | (1 << CParser.T__3) = | (1 << CParser.T__4) | (1 << CParser.T__5) | (1 << CParser.T__6) | (1 << C= Parser.T__7) | (1 << CParser.T__8) | (1 << CParser.T__9) | (1 << CParser.T_= _10) | (1 << CParser.T__11) | (1 << CParser.T__12) | (1 << CParser.T__13) |= (1 << CParser.T__14) | (1 << CParser.T__15) | (1 << CParser.T__16) | (1 <<= CParser.T__17) | (1 << CParser.T__18) | (1 << CParser.T__20) | (1 << CPars= er.T__21) | (1 << CParser.T__22) | (1 << CParser.T__23) | (1 << CParser.T__= 24) | (1 << CParser.T__25) | (1 << CParser.T__26) | (1 << CParser.T__27) | = (1 << CParser.T__28) | (1 << CParser.T__29) | (1 << CParser.T__30) | (1 << = CParser.T__31) | (1 << CParser.T__32) | (1 << CParser.T__33) | (1 << CParse= r.T__34) | (1 << CParser.T__35) | (1 << CParser.T__36) | (1 << CParser.T__3= 7) | (1 << CParser.T__38) | (1 << CParser.T__39) | (1 << CParser.T__40) | (= 1 << CParser.T__41) | (1 << CParser.T__42) | (1 << CParser.T__43) | (1 << C= Parser.T__44) | (1 << CParser.T__45) | (1 << CParser.T__46) | (1 << CParser= .T__47) | (1 << CParser.T__48) | (1 << CParser.T__49) | (1 << CParser.T__50= ) | (1 << CParser.T__51) | (1 << CParser.T__52) | (1 << CParser.T__53) | (1= << CParser.T__54) | (1 << CParser.T__55) | (1 << CParser.T__56) | (1 << CP= arser.T__57) | (1 << CParser.T__58) | (1 << CParser.T__59) | (1 << CParser.= T__60) | (1 << CParser.T__61) | (1 << CParser.T__62))) !=3D 0) or ((((_la -= 64)) & ~0x3f) =3D=3D 0 and ((1 << (_la - 64)) & ((1 << (CParser.T__63 - 64= )) | (1 << (CParser.T__64 - 64)) | (1 << (CParser.T__65 - 64)) | (1 << (CPa= rser.T__66 - 64)) | (1 << (CParser.T__67 - 64)) | (1 << (CParser.T__68 - 64= )) | (1 << (CParser.T__69 - 64)) | (1 << (CParser.T__70 - 64)) | (1 << (CPa= rser.T__71 - 64)) | (1 << (CParser.T__72 - 64)) | (1 << (CParser.T__73 - 64= )) | (1 << (CParser.T__74 - 64)) | (1 << (CParser.T__75 - 64)) | (1 << (CPa= rser.T__76 - 64)) | (1 << (CParser.T__77 - 64)) | (1 << (CParser.T__78 - 64= )) | (1 << (CParser.T__79 - 64)) | (1 << (CParser.T__80 - 64)) | (1 << (CPa= rser.T__81 - 64)) | (1 << (CParser.T__82 - 64)) | (1 << (CParser.T__83 - 64= )) | (1 << (CParser.T__84 - 64)) | (1 << (CParser.T__85 - 64)) | (1 << (CPa= rser.T__86 - 64)) | (1 << (CParser.T__87 - 64)) | (1 << (CParser.T__88 - 64= )) | (1 << (CParser.T__89 - 64)) | (1 << (CParser.T__90 - 64)) | (1 << (CPa= rser.T__91 - 64)) | (1 << (CParser.IDENTIFIER - 64)) | (1 << (CParser.CHARA= CTER_LITERAL - 64)) | (1 << (CParser.STRING_LITERAL - 64)) | (1 << (CParser= .HEX_LITERAL - 64)) | (1 << (CParser.DECIMAL_LITERAL - 64)) | (1 << (CParse= r.OCTAL_LITERAL - 64)) | (1 << (CParser.FLOATING_POINT_LITERAL - 64)) | (1 = << (CParser.WS - 64)) | (1 << (CParser.BS - 64)) | (1 << (CParser.UnicodeVo= cabulary - 64)) | (1 << (CParser.COMMENT - 64)) | (1 << (CParser.LINE_COMME= NT - 64)) | (1 << (CParser.LINE_COMMAND - 64)))) !=3D 0):=0D + self.state =3D 782=0D + _la =3D self._input.LA(1)=0D + if _la <=3D 0 or _la=3D=3DCParser.T__19:=0D + self._errHandler.recoverInline(self)=0D + else:=0D + self._errHandler.reportMatch(self)=0D + self.consume()=0D + self.state =3D 787=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D +=0D + self.state =3D 788=0D + self.match(CParser.T__19)=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Macro_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def declaration(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.DeclarationContex= t)=0D + else:=0D + return self.getTypedRuleContext(CParser.DeclarationContext= ,i)=0D +=0D +=0D + def statement_list(self):=0D + return self.getTypedRuleContext(CParser.Statement_listContext,= 0)=0D +=0D +=0D + def expression(self):=0D + return self.getTypedRuleContext(CParser.ExpressionContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_macro_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterMacro_statement" ):=0D + listener.enterMacro_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitMacro_statement" ):=0D + listener.exitMacro_statement(self)=0D +=0D +=0D +=0D +=0D + def macro_statement(self):=0D +=0D + localctx =3D CParser.Macro_statementContext(self, self._ctx, self.= state)=0D + self.enterRule(localctx, 126, self.RULE_macro_statement)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 790=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 791=0D + self.match(CParser.T__37)=0D + self.state =3D 795=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,97,self._ctx= )=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 792=0D + self.declaration()=0D + self.state =3D 797=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,97,self.= _ctx)=0D +=0D + self.state =3D 799=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,98,self._ctx)= =0D + if la_ =3D=3D 1:=0D + self.state =3D 798=0D + self.statement_list()=0D +=0D +=0D + self.state =3D 802=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if ((((_la - 38)) & ~0x3f) =3D=3D 0 and ((1 << (_la - 38)) & (= (1 << (CParser.T__37 - 38)) | (1 << (CParser.T__41 - 38)) | (1 << (CParser.= T__43 - 38)) | (1 << (CParser.T__44 - 38)) | (1 << (CParser.T__47 - 38)) | = (1 << (CParser.T__48 - 38)) | (1 << (CParser.T__49 - 38)) | (1 << (CParser.= T__52 - 38)) | (1 << (CParser.T__53 - 38)) | (1 << (CParser.T__54 - 38)) | = (1 << (CParser.IDENTIFIER - 38)) | (1 << (CParser.CHARACTER_LITERAL - 38)) = | (1 << (CParser.STRING_LITERAL - 38)) | (1 << (CParser.HEX_LITERAL - 38)) = | (1 << (CParser.DECIMAL_LITERAL - 38)) | (1 << (CParser.OCTAL_LITERAL - 38= )) | (1 << (CParser.FLOATING_POINT_LITERAL - 38)))) !=3D 0):=0D + self.state =3D 801=0D + self.expression()=0D +=0D +=0D + self.state =3D 804=0D + self.match(CParser.T__38)=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Labeled_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def statement(self):=0D + return self.getTypedRuleContext(CParser.StatementContext,0)=0D +=0D +=0D + def constant_expression(self):=0D + return self.getTypedRuleContext(CParser.Constant_expressionCon= text,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_labeled_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterLabeled_statement" ):=0D + listener.enterLabeled_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitLabeled_statement" ):=0D + listener.exitLabeled_statement(self)=0D +=0D +=0D +=0D +=0D + def labeled_statement(self):=0D +=0D + localctx =3D CParser.Labeled_statementContext(self, self._ctx, sel= f.state)=0D + self.enterRule(localctx, 128, self.RULE_labeled_statement)=0D + try:=0D + self.state =3D 817=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.IDENTIFIER]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 806=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 807=0D + self.match(CParser.T__22)=0D + self.state =3D 808=0D + self.statement()=0D + pass=0D + elif token in [CParser.T__81]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 809=0D + self.match(CParser.T__81)=0D + self.state =3D 810=0D + self.constant_expression()=0D + self.state =3D 811=0D + self.match(CParser.T__22)=0D + self.state =3D 812=0D + self.statement()=0D + pass=0D + elif token in [CParser.T__82]:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 814=0D + self.match(CParser.T__82)=0D + self.state =3D 815=0D + self.match(CParser.T__22)=0D + self.state =3D 816=0D + self.statement()=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Compound_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def declaration(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.DeclarationContex= t)=0D + else:=0D + return self.getTypedRuleContext(CParser.DeclarationContext= ,i)=0D +=0D +=0D + def statement_list(self):=0D + return self.getTypedRuleContext(CParser.Statement_listContext,= 0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_compound_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterCompound_statement" ):=0D + listener.enterCompound_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitCompound_statement" ):=0D + listener.exitCompound_statement(self)=0D +=0D +=0D +=0D +=0D + def compound_statement(self):=0D +=0D + localctx =3D CParser.Compound_statementContext(self, self._ctx, se= lf.state)=0D + self.enterRule(localctx, 130, self.RULE_compound_statement)=0D + self._la =3D 0 # Token type=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 819=0D + self.match(CParser.T__0)=0D + self.state =3D 823=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,101,self._ct= x)=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt=3D=3D1:=0D + self.state =3D 820=0D + self.declaration()=0D + self.state =3D 825=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,101,self= ._ctx)=0D +=0D + self.state =3D 827=0D + self._errHandler.sync(self)=0D + _la =3D self._input.LA(1)=0D + if (((_la) & ~0x3f) =3D=3D 0 and ((1 << _la) & ((1 << CParser.= T__0) | (1 << CParser.T__1) | (1 << CParser.T__2) | (1 << CParser.T__5) | (= 1 << CParser.T__6) | (1 << CParser.T__7) | (1 << CParser.T__8) | (1 << CPar= ser.T__9) | (1 << CParser.T__10) | (1 << CParser.T__11) | (1 << CParser.T__= 12) | (1 << CParser.T__13) | (1 << CParser.T__14) | (1 << CParser.T__15) | = (1 << CParser.T__16) | (1 << CParser.T__17) | (1 << CParser.T__18) | (1 << = CParser.T__20) | (1 << CParser.T__21) | (1 << CParser.T__23) | (1 << CParse= r.T__24) | (1 << CParser.T__25) | (1 << CParser.T__26) | (1 << CParser.T__2= 7) | (1 << CParser.T__28) | (1 << CParser.T__29) | (1 << CParser.T__30) | (= 1 << CParser.T__31) | (1 << CParser.T__32) | (1 << CParser.T__33) | (1 << C= Parser.T__34) | (1 << CParser.T__35) | (1 << CParser.T__36) | (1 << CParser= .T__37) | (1 << CParser.T__41) | (1 << CParser.T__43) | (1 << CParser.T__44= ) | (1 << CParser.T__47) | (1 << CParser.T__48) | (1 << CParser.T__49) | (1= << CParser.T__52) | (1 << CParser.T__53) | (1 << CParser.T__54))) !=3D 0) = or ((((_la - 79)) & ~0x3f) =3D=3D 0 and ((1 << (_la - 79)) & ((1 << (CParse= r.T__78 - 79)) | (1 << (CParser.T__79 - 79)) | (1 << (CParser.T__80 - 79)) = | (1 << (CParser.T__81 - 79)) | (1 << (CParser.T__82 - 79)) | (1 << (CParse= r.T__83 - 79)) | (1 << (CParser.T__85 - 79)) | (1 << (CParser.T__86 - 79)) = | (1 << (CParser.T__87 - 79)) | (1 << (CParser.T__88 - 79)) | (1 << (CParse= r.T__89 - 79)) | (1 << (CParser.T__90 - 79)) | (1 << (CParser.T__91 - 79)) = | (1 << (CParser.IDENTIFIER - 79)) | (1 << (CParser.CHARACTER_LITERAL - 79)= ) | (1 << (CParser.STRING_LITERAL - 79)) | (1 << (CParser.HEX_LITERAL - 79)= ) | (1 << (CParser.DECIMAL_LITERAL - 79)) | (1 << (CParser.OCTAL_LITERAL - = 79)) | (1 << (CParser.FLOATING_POINT_LITERAL - 79)))) !=3D 0):=0D + self.state =3D 826=0D + self.statement_list()=0D +=0D +=0D + self.state =3D 829=0D + self.match(CParser.T__19)=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Statement_listContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def statement(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.StatementContext)= =0D + else:=0D + return self.getTypedRuleContext(CParser.StatementContext,i= )=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_statement_list=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterStatement_list" ):=0D + listener.enterStatement_list(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitStatement_list" ):=0D + listener.exitStatement_list(self)=0D +=0D +=0D +=0D +=0D + def statement_list(self):=0D +=0D + localctx =3D CParser.Statement_listContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 132, self.RULE_statement_list)=0D + try:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 832=0D + self._errHandler.sync(self)=0D + _alt =3D 1=0D + while _alt!=3D2 and _alt!=3DATN.INVALID_ALT_NUMBER:=0D + if _alt =3D=3D 1:=0D + self.state =3D 831=0D + self.statement()=0D +=0D + else:=0D + raise NoViableAltException(self)=0D + self.state =3D 834=0D + self._errHandler.sync(self)=0D + _alt =3D self._interp.adaptivePredict(self._input,103,self= ._ctx)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Expression_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def expression(self):=0D + return self.getTypedRuleContext(CParser.ExpressionContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_expression_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterExpression_statement" ):=0D + listener.enterExpression_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitExpression_statement" ):=0D + listener.exitExpression_statement(self)=0D +=0D +=0D +=0D +=0D + def expression_statement(self):=0D +=0D + localctx =3D CParser.Expression_statementContext(self, self._ctx, = self.state)=0D + self.enterRule(localctx, 134, self.RULE_expression_statement)=0D + try:=0D + self.state =3D 840=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__1]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 836=0D + self.match(CParser.T__1)=0D + pass=0D + elif token in [CParser.T__37, CParser.T__41, CParser.T__43, CP= arser.T__44, CParser.T__47, CParser.T__48, CParser.T__49, CParser.T__52, CP= arser.T__53, CParser.T__54, CParser.IDENTIFIER, CParser.CHARACTER_LITERAL, = CParser.STRING_LITERAL, CParser.HEX_LITERAL, CParser.DECIMAL_LITERAL, CPars= er.OCTAL_LITERAL, CParser.FLOATING_POINT_LITERAL]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 837=0D + self.expression()=0D + self.state =3D 838=0D + self.match(CParser.T__1)=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Selection_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D + self.e =3D None # ExpressionContext=0D +=0D + def statement(self, i:int=3DNone):=0D + if i is None:=0D + return self.getTypedRuleContexts(CParser.StatementContext)= =0D + else:=0D + return self.getTypedRuleContext(CParser.StatementContext,i= )=0D +=0D +=0D + def expression(self):=0D + return self.getTypedRuleContext(CParser.ExpressionContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_selection_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterSelection_statement" ):=0D + listener.enterSelection_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitSelection_statement" ):=0D + listener.exitSelection_statement(self)=0D +=0D +=0D +=0D +=0D + def selection_statement(self):=0D +=0D + localctx =3D CParser.Selection_statementContext(self, self._ctx, s= elf.state)=0D + self.enterRule(localctx, 136, self.RULE_selection_statement)=0D + try:=0D + self.state =3D 858=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__83]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 842=0D + self.match(CParser.T__83)=0D + self.state =3D 843=0D + self.match(CParser.T__37)=0D + self.state =3D 844=0D + localctx.e =3D self.expression()=0D + self.state =3D 845=0D + self.match(CParser.T__38)=0D + self.StorePredicateExpression((None if localctx.e is None = else localctx.e.start).line, (None if localctx.e is None else localctx.e.st= art).column, (None if localctx.e is None else localctx.e.stop).line, (None = if localctx.e is None else localctx.e.stop).column, (None if localctx.e is = None else self._input.getText((localctx.e.start,localctx.e.stop))))=0D + self.state =3D 847=0D + self.statement()=0D + self.state =3D 850=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,105,self.= _ctx)=0D + if la_ =3D=3D 1:=0D + self.state =3D 848=0D + self.match(CParser.T__84)=0D + self.state =3D 849=0D + self.statement()=0D +=0D +=0D + pass=0D + elif token in [CParser.T__85]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 852=0D + self.match(CParser.T__85)=0D + self.state =3D 853=0D + self.match(CParser.T__37)=0D + self.state =3D 854=0D + self.expression()=0D + self.state =3D 855=0D + self.match(CParser.T__38)=0D + self.state =3D 856=0D + self.statement()=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Iteration_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D + self.e =3D None # ExpressionContext=0D +=0D + def statement(self):=0D + return self.getTypedRuleContext(CParser.StatementContext,0)=0D +=0D +=0D + def expression(self):=0D + return self.getTypedRuleContext(CParser.ExpressionContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_iteration_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterIteration_statement" ):=0D + listener.enterIteration_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitIteration_statement" ):=0D + listener.exitIteration_statement(self)=0D +=0D +=0D +=0D +=0D + def iteration_statement(self):=0D +=0D + localctx =3D CParser.Iteration_statementContext(self, self._ctx, s= elf.state)=0D + self.enterRule(localctx, 138, self.RULE_iteration_statement)=0D + try:=0D + self.state =3D 876=0D + self._errHandler.sync(self)=0D + token =3D self._input.LA(1)=0D + if token in [CParser.T__86]:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 860=0D + self.match(CParser.T__86)=0D + self.state =3D 861=0D + self.match(CParser.T__37)=0D + self.state =3D 862=0D + localctx.e =3D self.expression()=0D + self.state =3D 863=0D + self.match(CParser.T__38)=0D + self.state =3D 864=0D + self.statement()=0D + self.StorePredicateExpression((None if localctx.e is None = else localctx.e.start).line, (None if localctx.e is None else localctx.e.st= art).column, (None if localctx.e is None else localctx.e.stop).line, (None = if localctx.e is None else localctx.e.stop).column, (None if localctx.e is = None else self._input.getText((localctx.e.start,localctx.e.stop))))=0D + pass=0D + elif token in [CParser.T__87]:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 867=0D + self.match(CParser.T__87)=0D + self.state =3D 868=0D + self.statement()=0D + self.state =3D 869=0D + self.match(CParser.T__86)=0D + self.state =3D 870=0D + self.match(CParser.T__37)=0D + self.state =3D 871=0D + localctx.e =3D self.expression()=0D + self.state =3D 872=0D + self.match(CParser.T__38)=0D + self.state =3D 873=0D + self.match(CParser.T__1)=0D + self.StorePredicateExpression((None if localctx.e is None = else localctx.e.start).line, (None if localctx.e is None else localctx.e.st= art).column, (None if localctx.e is None else localctx.e.stop).line, (None = if localctx.e is None else localctx.e.stop).column, (None if localctx.e is = None else self._input.getText((localctx.e.start,localctx.e.stop))))=0D + pass=0D + else:=0D + raise NoViableAltException(self)=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D + class Jump_statementContext(ParserRuleContext):=0D +=0D + def __init__(self, parser, parent:ParserRuleContext=3DNone, invoki= ngState:int=3D-1):=0D + super().__init__(parent, invokingState)=0D + self.parser =3D parser=0D +=0D + def IDENTIFIER(self):=0D + return self.getToken(CParser.IDENTIFIER, 0)=0D +=0D + def expression(self):=0D + return self.getTypedRuleContext(CParser.ExpressionContext,0)=0D +=0D +=0D + def getRuleIndex(self):=0D + return CParser.RULE_jump_statement=0D +=0D + def enterRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "enterJump_statement" ):=0D + listener.enterJump_statement(self)=0D +=0D + def exitRule(self, listener:ParseTreeListener):=0D + if hasattr( listener, "exitJump_statement" ):=0D + listener.exitJump_statement(self)=0D +=0D +=0D +=0D +=0D + def jump_statement(self):=0D +=0D + localctx =3D CParser.Jump_statementContext(self, self._ctx, self.s= tate)=0D + self.enterRule(localctx, 140, self.RULE_jump_statement)=0D + try:=0D + self.state =3D 891=0D + self._errHandler.sync(self)=0D + la_ =3D self._interp.adaptivePredict(self._input,108,self._ctx= )=0D + if la_ =3D=3D 1:=0D + self.enterOuterAlt(localctx, 1)=0D + self.state =3D 878=0D + self.match(CParser.T__88)=0D + self.state =3D 879=0D + self.match(CParser.IDENTIFIER)=0D + self.state =3D 880=0D + self.match(CParser.T__1)=0D + pass=0D +=0D + elif la_ =3D=3D 2:=0D + self.enterOuterAlt(localctx, 2)=0D + self.state =3D 881=0D + self.match(CParser.T__89)=0D + self.state =3D 882=0D + self.match(CParser.T__1)=0D + pass=0D +=0D + elif la_ =3D=3D 3:=0D + self.enterOuterAlt(localctx, 3)=0D + self.state =3D 883=0D + self.match(CParser.T__90)=0D + self.state =3D 884=0D + self.match(CParser.T__1)=0D + pass=0D +=0D + elif la_ =3D=3D 4:=0D + self.enterOuterAlt(localctx, 4)=0D + self.state =3D 885=0D + self.match(CParser.T__91)=0D + self.state =3D 886=0D + self.match(CParser.T__1)=0D + pass=0D +=0D + elif la_ =3D=3D 5:=0D + self.enterOuterAlt(localctx, 5)=0D + self.state =3D 887=0D + self.match(CParser.T__91)=0D + self.state =3D 888=0D + self.expression()=0D + self.state =3D 889=0D + self.match(CParser.T__1)=0D + pass=0D +=0D +=0D + except RecognitionException as re:=0D + localctx.exception =3D re=0D + self._errHandler.reportError(self, re)=0D + self._errHandler.recover(self, re)=0D + finally:=0D + self.exitRule()=0D + return localctx=0D +=0D +=0D +=0D +=0D +=0D diff --git a/BaseTools/Source/Python/Eot/CParser4/__init__.py b/BaseTools/S= ource/Python/Eot/CParser4/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/BaseTools/Source/Python/Eot/CodeFragmentCollector.py b/BaseToo= ls/Source/Python/Eot/CodeFragmentCollector.py index 8a5e5df17e..b1e77a690a 100644 --- a/BaseTools/Source/Python/Eot/CodeFragmentCollector.py +++ b/BaseTools/Source/Python/Eot/CodeFragmentCollector.py @@ -19,17 +19,23 @@ from __future__ import print_function from __future__ import absolute_import=0D import re=0D import Common.LongFilePathOs as os=0D import sys=0D =0D -import antlr3=0D -from .CLexer import CLexer=0D -from .CParser import CParser=0D +if sys.version_info.major =3D=3D 3:=0D + import antlr4 as antlr=0D + from Eot.CParser4.CLexer import CLexer=0D + from Eot.CParser4.CParser import CParser=0D +else:=0D + import antlr3 as antlr=0D + antlr.InputStream =3D antlr.StringStream=0D + from Eot.CParser3.CLexer import CLexer=0D + from Eot.CParser3.CParser import CParser=0D =0D -from . import FileProfile=0D -from .CodeFragment import PP_Directive=0D -from .ParserWarning import Warning=0D +from Eot import FileProfile=0D +from Eot.CodeFragment import PP_Directive=0D +from Eot.ParserWarning import Warning=0D =0D =0D ##define T_CHAR_SPACE ' '=0D ##define T_CHAR_NULL '\0'=0D ##define T_CHAR_CR '\r'=0D @@ -352,13 +358,13 @@ class CodeFragmentCollector: # restore from ListOfList to ListOfString=0D self.Profile.FileLinesList =3D ["".join(list) for list in self.Pro= file.FileLinesList]=0D FileStringContents =3D ''=0D for fileLine in self.Profile.FileLinesList:=0D FileStringContents +=3D fileLine=0D - cStream =3D antlr3.StringStream(FileStringContents)=0D + cStream =3D antlr.InputStream(FileStringContents)=0D lexer =3D CLexer(cStream)=0D - tStream =3D antlr3.CommonTokenStream(lexer)=0D + tStream =3D antlr.CommonTokenStream(lexer)=0D parser =3D CParser(tStream)=0D parser.translation_unit()=0D =0D ## CleanFileProfileBuffer() method=0D #=0D --=20 2.20.1.windows.1