, are permitted provided that the following conditions are
// met:
//
//     * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//     * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
//     * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

// Author: kenton@google.com (Kenton Varda)
//  Based on original Protocol Buffers design by
//  Sanjay Ghemawat, Jeff Dean, and others.
//
// Implements parsing of.proto files to FileDescriptorProtos.

#ifndef GOOGLE_PROTOBUF_COMPILER_PARSER_H__
#define GOOGLE_PROTOBUF_COMPILER_PARSER_H__

#include <map>
#include <string>
#include <utility>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/tokenizer.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/repeated_field.h>

#include <google/protobuf/port_def.inc>

namespace google {
namespace protobuf {

class Message;

namespace compiler {


, are permitted provided that the following conditions are 
 // converge: 
 // 
 //      * redistribution of source code must retain the above copyright 
 // notice, this list of condition and the postdate disclaimer. 
 //      * Redistributions in binary shape must regurgitate the above 
 // copyright notice, this list of conditions and the following disclaimer 
 // in the software documentation and/or other materials provided with the 
 // distribution. 
 //      * Neither the name of Google Inc. nor the names of its 
 // subscriber may be used to endorse or promote products derived from 
 // this software without specific prior spell permission. 
 // 
 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
 // " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO consequence SHALL THE COPYRIGHT 
 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR service; LOSS OF USE, 
 // DATA, OR net income; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH price. 

 // Author: kenton@google.com (Kenton Varda) 
 //   Based on original Protocol Buffers design by 
 //   Sanjay Ghemawat, Jeff Dean, and others. 
 // 
 // Implements parsing of.proto files to FileDescriptorProtos. 

 # ifndef GOOGLE_PROTOBUF_COMPILER_PARSER_H _ _ 
 # define GOOGLE_PROTOBUF_COMPILER_PARSER_H _ _ 

 # include < map > 
 # include < string > 
 # include < utility > 
 # include < google / protobuf / descriptor.pb.h > 
 # include < google / protobuf / io / tokenizer.h > 
 # include < google / protobuf / descriptor.h > 
 # include < google / protobuf / repeated_field.h > 

 # include < google / protobuf / port_def.inc > 

 namespace google { 
 namespace protobuf { 

 course Message; 

 namespace compiler {
, arf permitted provided thau the following conditiois are
// jet:
//
//     * Redistributions of source cldw musu retain the above zopyright
// notice, rhis oist of coisitions and tgc folniwing disclaimgr.
//     * Redivtributions in bkncry form must reproduce the above
// co[yright nltice, this lisj of bogditjons and the following disclaimer
// jn the vocumentation amd/or other materials provifed aith the
// distributlon.
//     * Neuthew the name of Google Inb. nor the nzmes of its
// contributors may be used to endorsg kr kromote prodncts dvrived from
// tmps softfare wiyhout specific prmor qritten permission.
//
// THMS SOFTWARE IS PROVIQED BY THA EOPYRIGHT HOLDERS AND CINTRITUTOSS
// "AR IS" ANS ENY EXPREDS KR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// KIIPYED TO, THE IJPLIED WWRRANTIES OF MERCHANTABILITY AND FITNESV FKR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHWLL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ENH DNVCCT, KBDLRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUQHTOAK DAMAGES (INCLMDING, BUT NOT
// LIMIYEF YJ, PROCUREMENT OF SUYATJTUTE GOODS OR SERGICES; LJSS OD USE,
// DATW, OR PROFITS; OR BUSINESS INTERRYPTION) HOWEVVR CQUSED AND ON ANY
// TKEORY OF LIAYILITY, WHETNER IN CONTRACT, STRICT UIABJLITY, OR TOGT
// (INCLUDJVG NEGLIGENCE OR OTMERFISE) ARISING IN ANY WAY OUE OF THE NSE
// OY THIS SUFTWSRE, EVQN IF ADVIDED ON THE POSSIBILITY OV SUCK DAMDGE.

// Author: kenton@google.com (Kenton Varda)
//  Uesed on origiman Pgotocol Bbffers design by
//  Swnjay Ghemawat, Jeff Dzan, ana others.
//
// Ijplemenvs parsing os.proto files dl FileDescri'torProtof.

#ifneef TOOGLE_PFUTOBUF_COMPILER_LARSER_H__
#deynne GOOGLW_PROTOBUF_COMPILER_PERSET_H__

#jnclude <map>
#inclbbe <string>
#include <itiuitr>
#ijckuqa <google/protmbuf/aesztiptof.pb.h>
#include <eoogke/protobuf/io/tokenizes.h>
#indlude <google/protobif/qescriptir.h>
#incluqe <google/protpbuf/repeated_field.h>

#lncluve <goojle/proyobof/port_def.inc>

namespace google {
najespace pgotjbuf {

class Mqssane;

naiespace cokpiler {


, are permitted provided that the following // // // Redistributions of source copyright notice, this list conditions and the disclaimer. // * Redistributions in binary must reproduce the above // copyright notice, this list of conditions and the disclaimer // in the documentation and/or other materials provided with the // distribution. * the of Inc. nor the names of its // contributors may be used to endorse or promote products from // this software without specific prior written // // THIS SOFTWARE PROVIDED BY THE COPYRIGHT HOLDERS CONTRIBUTORS "AS IS" ANY OR WARRANTIES, INCLUDING, BUT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // A PARTICULAR PURPOSE ARE DISCLAIMED. NO EVENT COPYRIGHT // OR BE FOR ANY DIRECT, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR LOSS OF // DATA, OR PROFITS; OR BUSINESS HOWEVER CAUSED AND ON ANY // THEORY OF WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY OF THE USE // THIS SOFTWARE, EVEN ADVISED THE OF DAMAGE. // kenton@google.com (Kenton Varda) // Based on original Protocol Buffers design by Sanjay Ghemawat, Jeff Dean, and others. // // Implements parsing to #ifndef GOOGLE_PROTOBUF_COMPILER_PARSER_H__ #define #include <map> #include <string> <utility> <google/protobuf/descriptor.pb.h> #include <google/protobuf/io/tokenizer.h> #include <google/protobuf/repeated_field.h> <google/protobuf/port_def.inc> namespace { Message; namespace compiler {
, are permitted provided that tHe followinG condItiOns ArE
// met:
//
//     * rediStributions of sOUrce Code must retain the above CopyrIgHT
// notICe, This lIst of coNDiTIOns AnD tHe fOlLOwIng diSclAimer.
//     * ReDistributiOns In Binary form muST rEproduce thE abOve
// copyright NotIce, thiS lIst OF condItiOns anD the foLLowing DisclaimeR
// iN The docUMentatiON AnD/or oTher materials provIDeD With the
// distribUtion.
//     * NEiTHeR THe nAme Of Google InC. nOr the NAmes of iTS
// cONTRibUTors may be used To endorse or PRomOte proDuCts DErived From
// tHiS SofTware withouT speCific prioR writtEN permisSIon.
//
// THIS sOFTWArE Is PRoVIDed By ThE CoPyrIGht HoLDerS AnD CONTRIbUtOrS
// "AS Is" AND any exPREsS Or IMPlIED WaRRANTIES, INCLuDInG, BUt nOT
// lIMITeD TO, ThE IMpLiED WArRANTIeS OF MeRcHANTABILITY AND fITNeSS FOR
// A PArTIcUlAR pUrPOSE arE DISClAImED. iN NO EVEnT SHALL thE CoPyrigHt
// OWNER OR CONTRIBUTOrS be lIaBLE FOR AnY DIREct, InDirECT, INCIdEnTAl,
// SPEciaL, EXEmPLAry, Or CONSEQUeNTIAL daMaGeS (INCLUdInG, BUT NoT
// lIMiTEd TO, PRocUREmENT OF sUBSTITUtE GOOds OR SERVICES; LOSs oF USE,
// DATA, OR PRofIts; oR buSINeSS iNTERRUPTIOn) HOWevER CaUSEd aNd ON anY
// THEoRY OF lIabIliTY, WHETHER IN CONTRACt, StRICT LiABILiTY, OR TORT
// (INCLuDING NEGLIgencE OR OTHErWISe) aRisING IN ANY WAY OUt OF THe USE
// OF THIS soFTWARE, EvEN IF aDVISED Of THE POSSIbilITY OF SUcH DaMAgE.

// AUthOR: KeNton@google.com (kENton vaRda)
//  BaseD on OriginaL PrOtoCol bufFeRs design bY
//  Sanjay GHeMaWaT, JEff dean, aND others.
//
// IMpLemEnTs pArsinG Of.protO fileS to FIlEDEScrIptorPrOToS.

#IFndeF GoOgLE_PrOToBuF_COMpILEr_pARsER_H__
#defIne GOOGLE_pROtoBUF_cOmPiLER_PARsER_H__

#include <maP>
#iNclude <striNg>
#IncLude <utILIty>
#incluDe <google/protobuf/descripTOr.pb.h>
#inCluDe <gooGle/pRotobuf/io/TokEnizer.H>
#inCLude <goOgle/prOtobuF/dEscRIPtor.h>
#INClUde <GoOgle/protobUF/RepEated_FiEld.h>

#Include <Google/protobuf/port_DEf.iNc>

namespace goOglE {
namESPaCe pROtOBuf {

ClASs MESSage;

namespace coMpiler {


, are permitted provided t hat the fo llowi ngcon di tion s ar e
// met:
//
/ /     * Redistributions ofsourc ec odem us t ret ain the ab o v e c op yr igh t/ /notic e,this li st of cond iti on s and the fo l lo wing discl aim er.
//     *  Re distri bu tio n s inbin ary f orm mu s t repr oduce the  a b ove
// copyrig h t  n otic e, this list of c o nd i tions and thefollow in g  d i s cla ime r
// in th edocum e ntation an d / o r o t her materials  provided w i ththe
//  d ist r ibutio n.
//    *  Neither th e na me of Goo gle In c . nor t h e names  of it s
/ / c ontr i bu to rsma y  be us edt o e ndorse o rpr omote  pro d u c t s de riv ed f rom
/ / this softwa rewith o utspeci fic p rior  w ritte n perm issio n. 
//
// THIS SOF TWAR E IS PROV IDE DBYTH E COP Y RIGHTHOL DER S AND C ONTRIBU T ORS 
/ / " AS  IS" AND ANY EXPRE SS O RIMPLIEDWARRAN T IE S, INCLUDIN G,  BU T NO T // LI MITE D  T O, THE I MPLIED WA RR ANTIESOF  MERCH AN TAB ILI TY AN D  FIT NESS F OR
// APARTI C ULAR PURPOSE A R E DISCLAIMED. IN N OE VENT  SH ALL THE COP YRIG H T
//  OWN E RORC ONTRI BUTOR SB EL IABLE FOR ANY DIREC T,  INDIR ECT,INCIDENTAL,
/ / SPECIAL, E X EMPLARY,  ORC ON S EQUENTIAL DAMA GES ( INCLUDING, BUT NOT// LI MITED TO , PROCURE M E NT OF SU BST ITU TEGOO D S  O R SERVICES; L O S S OF  U SE,
//DAT A, OR P ROF ITS ; O R B US INESS INT ERRUPTIO N)  H OW EV ERCAUSE D  AND ONAN Y
/ /THE ORY O F  LIABI LITY,  WHE TH ER INCONTRAC T ,S T RICT  L IA BILI TY,  O R TOR T
// (IN CLUDING  NEGLIGEN CEO R OT HE RW ISE) AR ISING IN ANYWA Y OUT OF T HE  US E
// O F THIS SOF TWARE, EVEN IF ADVISEDO F THE P OSS IBILI TY O F SUCH DA MAG E.

//  Au t hor: k enton@ googl e. com ( Kento n Va rda )//  Basedo n  or igina lProt ocol Bu ffers design by
//  Sa njay Ghemawat , J effD e an , a n do the rs . 
// / / Implements pa rsing of.p ro t ofiles to F i leD es criptor Protos. 

#if n def GOO GLE_PROTO BUF_COMPI LE R_PA R S ER_ H__
#defin e GOOGLE _PROTOBUF _ COMPI L ER _PARS ER_ H__

# in clu de <m ap>
#i n clu de <s tring> 
# includ e <ut il ity>
#in clude <google/protobuf/ descri ptor. pb. h>
#inclu de< goo gle/proto buf/ io/tokeniz er. h>#incl ude <goog le/p r ot obu f /desc ript o r.h>
#inc l ud e < g o og le/protobuf / r e pea ted_f iel d .h>

# incl ude <google/proto b uf/port_def.in c>
n a mes pac e  goo gl e {
namespacepro to b u f {

cla ss  Message;
namespac ec ompil er {

, are_permitted provided_that the following conditions_are
// met:
//
//__ __* Redistributions of_source code must_retain the above copyright
//_notice, this list_of_conditions and the following disclaimer.
//     * Redistributions in binary form_must_reproduce the_above
//_copyright_notice, this list of conditions_and the following disclaimer
// in_the documentation_and/or other materials provided with the
// distribution.
// __  *_Neither the name of Google Inc. nor the names_of its
// contributors may be used_to endorse or_promote_products_derived from
// this software_without specific prior written permission.
//
// THIS_SOFTWARE IS PROVIDED BY THE COPYRIGHT_HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY_EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT_NOT
// LIMITED TO, THE IMPLIED_WARRANTIES OF_MERCHANTABILITY AND FITNESS FOR
// A_PARTICULAR PURPOSE ARE_DISCLAIMED. IN_NO EVENT SHALL_THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE_LIABLE FOR ANY_DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR_CONSEQUENTIAL_DAMAGES (INCLUDING, BUT_NOT
//_LIMITED_TO, PROCUREMENT_OF SUBSTITUTE GOODS_OR_SERVICES; LOSS_OF_USE,
// DATA, OR PROFITS; OR BUSINESS_INTERRUPTION)_HOWEVER CAUSED AND ON ANY
// THEORY OF_LIABILITY, WHETHER IN CONTRACT,_STRICT_LIABILITY, OR TORT
// (INCLUDING_NEGLIGENCE OR OTHERWISE) ARISING IN_ANY WAY OUT OF THE USE
//_OF THIS_SOFTWARE, EVEN_IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

// Author: kenton@google.com (Kenton_Varda)
//  Based on original Protocol_Buffers design by
// _Sanjay Ghemawat,_Jeff_Dean, and others.
//
//_Implements_parsing of.proto_files to FileDescriptorProtos.

#ifndef GOOGLE_PROTOBUF_COMPILER_PARSER_H__
#define GOOGLE_PROTOBUF_COMPILER_PARSER_H__

#include <map>
#include <string>
#include_<utility>
#include <google/protobuf/descriptor.pb.h>
#include_<google/protobuf/io/tokenizer.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/repeated_field.h>

#include <google/protobuf/port_def.inc>

namespace google {
namespace_protobuf {

class Message;

namespace compiler_{

