1
0

ast.pb.go 91 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.19.1
  5. // source: python/ast.proto
  6. package ast
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type Node struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. // Types that are assignable to Node:
  24. // *Node_ClassDef
  25. // *Node_Import
  26. // *Node_ImportFrom
  27. // *Node_Module
  28. // *Node_Alias
  29. // *Node_AnnAssign
  30. // *Node_Name
  31. // *Node_Subscript
  32. // *Node_Attribute
  33. // *Node_Constant
  34. // *Node_Assign
  35. // *Node_Comment
  36. // *Node_Expr
  37. // *Node_Call
  38. // *Node_FunctionDef
  39. // *Node_Arg
  40. // *Node_Arguments
  41. // *Node_AsyncFunctionDef
  42. // *Node_Pass
  43. // *Node_Dict
  44. // *Node_If
  45. // *Node_Compare
  46. // *Node_Return
  47. // *Node_Is
  48. // *Node_Keyword
  49. // *Node_Yield
  50. // *Node_For
  51. // *Node_Await
  52. // *Node_AsyncFor
  53. // *Node_ImportGroup
  54. Node isNode_Node `protobuf_oneof:"node"`
  55. }
  56. func (x *Node) Reset() {
  57. *x = Node{}
  58. if protoimpl.UnsafeEnabled {
  59. mi := &file_python_ast_proto_msgTypes[0]
  60. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  61. ms.StoreMessageInfo(mi)
  62. }
  63. }
  64. func (x *Node) String() string {
  65. return protoimpl.X.MessageStringOf(x)
  66. }
  67. func (*Node) ProtoMessage() {}
  68. func (x *Node) ProtoReflect() protoreflect.Message {
  69. mi := &file_python_ast_proto_msgTypes[0]
  70. if protoimpl.UnsafeEnabled && x != nil {
  71. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  72. if ms.LoadMessageInfo() == nil {
  73. ms.StoreMessageInfo(mi)
  74. }
  75. return ms
  76. }
  77. return mi.MessageOf(x)
  78. }
  79. // Deprecated: Use Node.ProtoReflect.Descriptor instead.
  80. func (*Node) Descriptor() ([]byte, []int) {
  81. return file_python_ast_proto_rawDescGZIP(), []int{0}
  82. }
  83. func (m *Node) GetNode() isNode_Node {
  84. if m != nil {
  85. return m.Node
  86. }
  87. return nil
  88. }
  89. func (x *Node) GetClassDef() *ClassDef {
  90. if x, ok := x.GetNode().(*Node_ClassDef); ok {
  91. return x.ClassDef
  92. }
  93. return nil
  94. }
  95. func (x *Node) GetImport() *Import {
  96. if x, ok := x.GetNode().(*Node_Import); ok {
  97. return x.Import
  98. }
  99. return nil
  100. }
  101. func (x *Node) GetImportFrom() *ImportFrom {
  102. if x, ok := x.GetNode().(*Node_ImportFrom); ok {
  103. return x.ImportFrom
  104. }
  105. return nil
  106. }
  107. func (x *Node) GetModule() *Module {
  108. if x, ok := x.GetNode().(*Node_Module); ok {
  109. return x.Module
  110. }
  111. return nil
  112. }
  113. func (x *Node) GetAlias() *Alias {
  114. if x, ok := x.GetNode().(*Node_Alias); ok {
  115. return x.Alias
  116. }
  117. return nil
  118. }
  119. func (x *Node) GetAnnAssign() *AnnAssign {
  120. if x, ok := x.GetNode().(*Node_AnnAssign); ok {
  121. return x.AnnAssign
  122. }
  123. return nil
  124. }
  125. func (x *Node) GetName() *Name {
  126. if x, ok := x.GetNode().(*Node_Name); ok {
  127. return x.Name
  128. }
  129. return nil
  130. }
  131. func (x *Node) GetSubscript() *Subscript {
  132. if x, ok := x.GetNode().(*Node_Subscript); ok {
  133. return x.Subscript
  134. }
  135. return nil
  136. }
  137. func (x *Node) GetAttribute() *Attribute {
  138. if x, ok := x.GetNode().(*Node_Attribute); ok {
  139. return x.Attribute
  140. }
  141. return nil
  142. }
  143. func (x *Node) GetConstant() *Constant {
  144. if x, ok := x.GetNode().(*Node_Constant); ok {
  145. return x.Constant
  146. }
  147. return nil
  148. }
  149. func (x *Node) GetAssign() *Assign {
  150. if x, ok := x.GetNode().(*Node_Assign); ok {
  151. return x.Assign
  152. }
  153. return nil
  154. }
  155. func (x *Node) GetComment() *Comment {
  156. if x, ok := x.GetNode().(*Node_Comment); ok {
  157. return x.Comment
  158. }
  159. return nil
  160. }
  161. func (x *Node) GetExpr() *Expr {
  162. if x, ok := x.GetNode().(*Node_Expr); ok {
  163. return x.Expr
  164. }
  165. return nil
  166. }
  167. func (x *Node) GetCall() *Call {
  168. if x, ok := x.GetNode().(*Node_Call); ok {
  169. return x.Call
  170. }
  171. return nil
  172. }
  173. func (x *Node) GetFunctionDef() *FunctionDef {
  174. if x, ok := x.GetNode().(*Node_FunctionDef); ok {
  175. return x.FunctionDef
  176. }
  177. return nil
  178. }
  179. func (x *Node) GetArg() *Arg {
  180. if x, ok := x.GetNode().(*Node_Arg); ok {
  181. return x.Arg
  182. }
  183. return nil
  184. }
  185. func (x *Node) GetArguments() *Arguments {
  186. if x, ok := x.GetNode().(*Node_Arguments); ok {
  187. return x.Arguments
  188. }
  189. return nil
  190. }
  191. func (x *Node) GetAsyncFunctionDef() *AsyncFunctionDef {
  192. if x, ok := x.GetNode().(*Node_AsyncFunctionDef); ok {
  193. return x.AsyncFunctionDef
  194. }
  195. return nil
  196. }
  197. func (x *Node) GetPass() *Pass {
  198. if x, ok := x.GetNode().(*Node_Pass); ok {
  199. return x.Pass
  200. }
  201. return nil
  202. }
  203. func (x *Node) GetDict() *Dict {
  204. if x, ok := x.GetNode().(*Node_Dict); ok {
  205. return x.Dict
  206. }
  207. return nil
  208. }
  209. func (x *Node) GetIf() *If {
  210. if x, ok := x.GetNode().(*Node_If); ok {
  211. return x.If
  212. }
  213. return nil
  214. }
  215. func (x *Node) GetCompare() *Compare {
  216. if x, ok := x.GetNode().(*Node_Compare); ok {
  217. return x.Compare
  218. }
  219. return nil
  220. }
  221. func (x *Node) GetReturn() *Return {
  222. if x, ok := x.GetNode().(*Node_Return); ok {
  223. return x.Return
  224. }
  225. return nil
  226. }
  227. func (x *Node) GetIs() *Is {
  228. if x, ok := x.GetNode().(*Node_Is); ok {
  229. return x.Is
  230. }
  231. return nil
  232. }
  233. func (x *Node) GetKeyword() *Keyword {
  234. if x, ok := x.GetNode().(*Node_Keyword); ok {
  235. return x.Keyword
  236. }
  237. return nil
  238. }
  239. func (x *Node) GetYield() *Yield {
  240. if x, ok := x.GetNode().(*Node_Yield); ok {
  241. return x.Yield
  242. }
  243. return nil
  244. }
  245. func (x *Node) GetFor() *For {
  246. if x, ok := x.GetNode().(*Node_For); ok {
  247. return x.For
  248. }
  249. return nil
  250. }
  251. func (x *Node) GetAwait() *Await {
  252. if x, ok := x.GetNode().(*Node_Await); ok {
  253. return x.Await
  254. }
  255. return nil
  256. }
  257. func (x *Node) GetAsyncFor() *AsyncFor {
  258. if x, ok := x.GetNode().(*Node_AsyncFor); ok {
  259. return x.AsyncFor
  260. }
  261. return nil
  262. }
  263. func (x *Node) GetImportGroup() *ImportGroup {
  264. if x, ok := x.GetNode().(*Node_ImportGroup); ok {
  265. return x.ImportGroup
  266. }
  267. return nil
  268. }
  269. type isNode_Node interface {
  270. isNode_Node()
  271. }
  272. type Node_ClassDef struct {
  273. ClassDef *ClassDef `protobuf:"bytes,1,opt,name=class_def,json=ClassDef,proto3,oneof"`
  274. }
  275. type Node_Import struct {
  276. Import *Import `protobuf:"bytes,2,opt,name=import,json=Import,proto3,oneof"`
  277. }
  278. type Node_ImportFrom struct {
  279. ImportFrom *ImportFrom `protobuf:"bytes,3,opt,name=import_from,json=ImportFrom,proto3,oneof"`
  280. }
  281. type Node_Module struct {
  282. Module *Module `protobuf:"bytes,4,opt,name=module,json=Module,proto3,oneof"`
  283. }
  284. type Node_Alias struct {
  285. Alias *Alias `protobuf:"bytes,5,opt,name=alias,json=Alias,proto3,oneof"`
  286. }
  287. type Node_AnnAssign struct {
  288. AnnAssign *AnnAssign `protobuf:"bytes,6,opt,name=ann_assign,json=AnnAssign,proto3,oneof"`
  289. }
  290. type Node_Name struct {
  291. Name *Name `protobuf:"bytes,7,opt,name=name,json=Name,proto3,oneof"`
  292. }
  293. type Node_Subscript struct {
  294. Subscript *Subscript `protobuf:"bytes,8,opt,name=subscript,json=Subscript,proto3,oneof"`
  295. }
  296. type Node_Attribute struct {
  297. Attribute *Attribute `protobuf:"bytes,9,opt,name=attribute,json=Attribute,proto3,oneof"`
  298. }
  299. type Node_Constant struct {
  300. Constant *Constant `protobuf:"bytes,10,opt,name=constant,json=Constant,proto3,oneof"`
  301. }
  302. type Node_Assign struct {
  303. Assign *Assign `protobuf:"bytes,11,opt,name=assign,json=Assign,proto3,oneof"`
  304. }
  305. type Node_Comment struct {
  306. Comment *Comment `protobuf:"bytes,12,opt,name=comment,json=Comment,proto3,oneof"`
  307. }
  308. type Node_Expr struct {
  309. Expr *Expr `protobuf:"bytes,13,opt,name=expr,json=Expr,proto3,oneof"`
  310. }
  311. type Node_Call struct {
  312. Call *Call `protobuf:"bytes,14,opt,name=call,json=Call,proto3,oneof"`
  313. }
  314. type Node_FunctionDef struct {
  315. FunctionDef *FunctionDef `protobuf:"bytes,15,opt,name=function_def,json=FunctionDef,proto3,oneof"`
  316. }
  317. type Node_Arg struct {
  318. Arg *Arg `protobuf:"bytes,16,opt,name=arg,json=Arg,proto3,oneof"`
  319. }
  320. type Node_Arguments struct {
  321. Arguments *Arguments `protobuf:"bytes,17,opt,name=arguments,json=Arguments,proto3,oneof"`
  322. }
  323. type Node_AsyncFunctionDef struct {
  324. AsyncFunctionDef *AsyncFunctionDef `protobuf:"bytes,18,opt,name=async_function_def,json=AsyncFunctionDef,proto3,oneof"`
  325. }
  326. type Node_Pass struct {
  327. Pass *Pass `protobuf:"bytes,19,opt,name=pass,json=Pass,proto3,oneof"`
  328. }
  329. type Node_Dict struct {
  330. Dict *Dict `protobuf:"bytes,20,opt,name=dict,json=Dict,proto3,oneof"`
  331. }
  332. type Node_If struct {
  333. If *If `protobuf:"bytes,21,opt,name=if,json=If,proto3,oneof"`
  334. }
  335. type Node_Compare struct {
  336. Compare *Compare `protobuf:"bytes,22,opt,name=compare,json=Compare,proto3,oneof"`
  337. }
  338. type Node_Return struct {
  339. Return *Return `protobuf:"bytes,23,opt,name=return,json=Return,proto3,oneof"`
  340. }
  341. type Node_Is struct {
  342. Is *Is `protobuf:"bytes,24,opt,name=is,json=Is,proto3,oneof"`
  343. }
  344. type Node_Keyword struct {
  345. Keyword *Keyword `protobuf:"bytes,25,opt,name=keyword,json=Keyword,proto3,oneof"`
  346. }
  347. type Node_Yield struct {
  348. Yield *Yield `protobuf:"bytes,26,opt,name=yield,json=Yield,proto3,oneof"`
  349. }
  350. type Node_For struct {
  351. For *For `protobuf:"bytes,27,opt,name=for,json=For,proto3,oneof"`
  352. }
  353. type Node_Await struct {
  354. Await *Await `protobuf:"bytes,28,opt,name=await,json=Await,proto3,oneof"`
  355. }
  356. type Node_AsyncFor struct {
  357. AsyncFor *AsyncFor `protobuf:"bytes,29,opt,name=async_for,json=AsyncFor,proto3,oneof"`
  358. }
  359. type Node_ImportGroup struct {
  360. ImportGroup *ImportGroup `protobuf:"bytes,30,opt,name=import_group,json=ImportGroup,proto3,oneof"`
  361. }
  362. func (*Node_ClassDef) isNode_Node() {}
  363. func (*Node_Import) isNode_Node() {}
  364. func (*Node_ImportFrom) isNode_Node() {}
  365. func (*Node_Module) isNode_Node() {}
  366. func (*Node_Alias) isNode_Node() {}
  367. func (*Node_AnnAssign) isNode_Node() {}
  368. func (*Node_Name) isNode_Node() {}
  369. func (*Node_Subscript) isNode_Node() {}
  370. func (*Node_Attribute) isNode_Node() {}
  371. func (*Node_Constant) isNode_Node() {}
  372. func (*Node_Assign) isNode_Node() {}
  373. func (*Node_Comment) isNode_Node() {}
  374. func (*Node_Expr) isNode_Node() {}
  375. func (*Node_Call) isNode_Node() {}
  376. func (*Node_FunctionDef) isNode_Node() {}
  377. func (*Node_Arg) isNode_Node() {}
  378. func (*Node_Arguments) isNode_Node() {}
  379. func (*Node_AsyncFunctionDef) isNode_Node() {}
  380. func (*Node_Pass) isNode_Node() {}
  381. func (*Node_Dict) isNode_Node() {}
  382. func (*Node_If) isNode_Node() {}
  383. func (*Node_Compare) isNode_Node() {}
  384. func (*Node_Return) isNode_Node() {}
  385. func (*Node_Is) isNode_Node() {}
  386. func (*Node_Keyword) isNode_Node() {}
  387. func (*Node_Yield) isNode_Node() {}
  388. func (*Node_For) isNode_Node() {}
  389. func (*Node_Await) isNode_Node() {}
  390. func (*Node_AsyncFor) isNode_Node() {}
  391. func (*Node_ImportGroup) isNode_Node() {}
  392. type Alias struct {
  393. state protoimpl.MessageState
  394. sizeCache protoimpl.SizeCache
  395. unknownFields protoimpl.UnknownFields
  396. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  397. }
  398. func (x *Alias) Reset() {
  399. *x = Alias{}
  400. if protoimpl.UnsafeEnabled {
  401. mi := &file_python_ast_proto_msgTypes[1]
  402. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  403. ms.StoreMessageInfo(mi)
  404. }
  405. }
  406. func (x *Alias) String() string {
  407. return protoimpl.X.MessageStringOf(x)
  408. }
  409. func (*Alias) ProtoMessage() {}
  410. func (x *Alias) ProtoReflect() protoreflect.Message {
  411. mi := &file_python_ast_proto_msgTypes[1]
  412. if protoimpl.UnsafeEnabled && x != nil {
  413. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  414. if ms.LoadMessageInfo() == nil {
  415. ms.StoreMessageInfo(mi)
  416. }
  417. return ms
  418. }
  419. return mi.MessageOf(x)
  420. }
  421. // Deprecated: Use Alias.ProtoReflect.Descriptor instead.
  422. func (*Alias) Descriptor() ([]byte, []int) {
  423. return file_python_ast_proto_rawDescGZIP(), []int{1}
  424. }
  425. func (x *Alias) GetName() string {
  426. if x != nil {
  427. return x.Name
  428. }
  429. return ""
  430. }
  431. type Await struct {
  432. state protoimpl.MessageState
  433. sizeCache protoimpl.SizeCache
  434. unknownFields protoimpl.UnknownFields
  435. Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  436. }
  437. func (x *Await) Reset() {
  438. *x = Await{}
  439. if protoimpl.UnsafeEnabled {
  440. mi := &file_python_ast_proto_msgTypes[2]
  441. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  442. ms.StoreMessageInfo(mi)
  443. }
  444. }
  445. func (x *Await) String() string {
  446. return protoimpl.X.MessageStringOf(x)
  447. }
  448. func (*Await) ProtoMessage() {}
  449. func (x *Await) ProtoReflect() protoreflect.Message {
  450. mi := &file_python_ast_proto_msgTypes[2]
  451. if protoimpl.UnsafeEnabled && x != nil {
  452. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  453. if ms.LoadMessageInfo() == nil {
  454. ms.StoreMessageInfo(mi)
  455. }
  456. return ms
  457. }
  458. return mi.MessageOf(x)
  459. }
  460. // Deprecated: Use Await.ProtoReflect.Descriptor instead.
  461. func (*Await) Descriptor() ([]byte, []int) {
  462. return file_python_ast_proto_rawDescGZIP(), []int{2}
  463. }
  464. func (x *Await) GetValue() *Node {
  465. if x != nil {
  466. return x.Value
  467. }
  468. return nil
  469. }
  470. type Attribute struct {
  471. state protoimpl.MessageState
  472. sizeCache protoimpl.SizeCache
  473. unknownFields protoimpl.UnknownFields
  474. Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  475. Attr string `protobuf:"bytes,2,opt,name=attr,proto3" json:"attr,omitempty"`
  476. }
  477. func (x *Attribute) Reset() {
  478. *x = Attribute{}
  479. if protoimpl.UnsafeEnabled {
  480. mi := &file_python_ast_proto_msgTypes[3]
  481. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  482. ms.StoreMessageInfo(mi)
  483. }
  484. }
  485. func (x *Attribute) String() string {
  486. return protoimpl.X.MessageStringOf(x)
  487. }
  488. func (*Attribute) ProtoMessage() {}
  489. func (x *Attribute) ProtoReflect() protoreflect.Message {
  490. mi := &file_python_ast_proto_msgTypes[3]
  491. if protoimpl.UnsafeEnabled && x != nil {
  492. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  493. if ms.LoadMessageInfo() == nil {
  494. ms.StoreMessageInfo(mi)
  495. }
  496. return ms
  497. }
  498. return mi.MessageOf(x)
  499. }
  500. // Deprecated: Use Attribute.ProtoReflect.Descriptor instead.
  501. func (*Attribute) Descriptor() ([]byte, []int) {
  502. return file_python_ast_proto_rawDescGZIP(), []int{3}
  503. }
  504. func (x *Attribute) GetValue() *Node {
  505. if x != nil {
  506. return x.Value
  507. }
  508. return nil
  509. }
  510. func (x *Attribute) GetAttr() string {
  511. if x != nil {
  512. return x.Attr
  513. }
  514. return ""
  515. }
  516. type AnnAssign struct {
  517. state protoimpl.MessageState
  518. sizeCache protoimpl.SizeCache
  519. unknownFields protoimpl.UnknownFields
  520. Target *Name `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
  521. Annotation *Node `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"`
  522. Simple int32 `protobuf:"varint,3,opt,name=simple,proto3" json:"simple,omitempty"`
  523. Comment string `protobuf:"bytes,4,opt,name=Comment,json=comment,proto3" json:"Comment,omitempty"`
  524. }
  525. func (x *AnnAssign) Reset() {
  526. *x = AnnAssign{}
  527. if protoimpl.UnsafeEnabled {
  528. mi := &file_python_ast_proto_msgTypes[4]
  529. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  530. ms.StoreMessageInfo(mi)
  531. }
  532. }
  533. func (x *AnnAssign) String() string {
  534. return protoimpl.X.MessageStringOf(x)
  535. }
  536. func (*AnnAssign) ProtoMessage() {}
  537. func (x *AnnAssign) ProtoReflect() protoreflect.Message {
  538. mi := &file_python_ast_proto_msgTypes[4]
  539. if protoimpl.UnsafeEnabled && x != nil {
  540. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  541. if ms.LoadMessageInfo() == nil {
  542. ms.StoreMessageInfo(mi)
  543. }
  544. return ms
  545. }
  546. return mi.MessageOf(x)
  547. }
  548. // Deprecated: Use AnnAssign.ProtoReflect.Descriptor instead.
  549. func (*AnnAssign) Descriptor() ([]byte, []int) {
  550. return file_python_ast_proto_rawDescGZIP(), []int{4}
  551. }
  552. func (x *AnnAssign) GetTarget() *Name {
  553. if x != nil {
  554. return x.Target
  555. }
  556. return nil
  557. }
  558. func (x *AnnAssign) GetAnnotation() *Node {
  559. if x != nil {
  560. return x.Annotation
  561. }
  562. return nil
  563. }
  564. func (x *AnnAssign) GetSimple() int32 {
  565. if x != nil {
  566. return x.Simple
  567. }
  568. return 0
  569. }
  570. func (x *AnnAssign) GetComment() string {
  571. if x != nil {
  572. return x.Comment
  573. }
  574. return ""
  575. }
  576. type Arg struct {
  577. state protoimpl.MessageState
  578. sizeCache protoimpl.SizeCache
  579. unknownFields protoimpl.UnknownFields
  580. Arg string `protobuf:"bytes,1,opt,name=arg,proto3" json:"arg,omitempty"`
  581. Annotation *Node `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"`
  582. }
  583. func (x *Arg) Reset() {
  584. *x = Arg{}
  585. if protoimpl.UnsafeEnabled {
  586. mi := &file_python_ast_proto_msgTypes[5]
  587. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  588. ms.StoreMessageInfo(mi)
  589. }
  590. }
  591. func (x *Arg) String() string {
  592. return protoimpl.X.MessageStringOf(x)
  593. }
  594. func (*Arg) ProtoMessage() {}
  595. func (x *Arg) ProtoReflect() protoreflect.Message {
  596. mi := &file_python_ast_proto_msgTypes[5]
  597. if protoimpl.UnsafeEnabled && x != nil {
  598. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  599. if ms.LoadMessageInfo() == nil {
  600. ms.StoreMessageInfo(mi)
  601. }
  602. return ms
  603. }
  604. return mi.MessageOf(x)
  605. }
  606. // Deprecated: Use Arg.ProtoReflect.Descriptor instead.
  607. func (*Arg) Descriptor() ([]byte, []int) {
  608. return file_python_ast_proto_rawDescGZIP(), []int{5}
  609. }
  610. func (x *Arg) GetArg() string {
  611. if x != nil {
  612. return x.Arg
  613. }
  614. return ""
  615. }
  616. func (x *Arg) GetAnnotation() *Node {
  617. if x != nil {
  618. return x.Annotation
  619. }
  620. return nil
  621. }
  622. type Arguments struct {
  623. state protoimpl.MessageState
  624. sizeCache protoimpl.SizeCache
  625. unknownFields protoimpl.UnknownFields
  626. Args []*Arg `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
  627. KwOnlyArgs []*Arg `protobuf:"bytes,2,rep,name=kw_only_args,json=kwonlyargs,proto3" json:"kw_only_args,omitempty"`
  628. }
  629. func (x *Arguments) Reset() {
  630. *x = Arguments{}
  631. if protoimpl.UnsafeEnabled {
  632. mi := &file_python_ast_proto_msgTypes[6]
  633. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  634. ms.StoreMessageInfo(mi)
  635. }
  636. }
  637. func (x *Arguments) String() string {
  638. return protoimpl.X.MessageStringOf(x)
  639. }
  640. func (*Arguments) ProtoMessage() {}
  641. func (x *Arguments) ProtoReflect() protoreflect.Message {
  642. mi := &file_python_ast_proto_msgTypes[6]
  643. if protoimpl.UnsafeEnabled && x != nil {
  644. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  645. if ms.LoadMessageInfo() == nil {
  646. ms.StoreMessageInfo(mi)
  647. }
  648. return ms
  649. }
  650. return mi.MessageOf(x)
  651. }
  652. // Deprecated: Use Arguments.ProtoReflect.Descriptor instead.
  653. func (*Arguments) Descriptor() ([]byte, []int) {
  654. return file_python_ast_proto_rawDescGZIP(), []int{6}
  655. }
  656. func (x *Arguments) GetArgs() []*Arg {
  657. if x != nil {
  658. return x.Args
  659. }
  660. return nil
  661. }
  662. func (x *Arguments) GetKwOnlyArgs() []*Arg {
  663. if x != nil {
  664. return x.KwOnlyArgs
  665. }
  666. return nil
  667. }
  668. type AsyncFor struct {
  669. state protoimpl.MessageState
  670. sizeCache protoimpl.SizeCache
  671. unknownFields protoimpl.UnknownFields
  672. Target *Node `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
  673. Iter *Node `protobuf:"bytes,2,opt,name=iter,proto3" json:"iter,omitempty"`
  674. Body []*Node `protobuf:"bytes,3,rep,name=body,proto3" json:"body,omitempty"`
  675. }
  676. func (x *AsyncFor) Reset() {
  677. *x = AsyncFor{}
  678. if protoimpl.UnsafeEnabled {
  679. mi := &file_python_ast_proto_msgTypes[7]
  680. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  681. ms.StoreMessageInfo(mi)
  682. }
  683. }
  684. func (x *AsyncFor) String() string {
  685. return protoimpl.X.MessageStringOf(x)
  686. }
  687. func (*AsyncFor) ProtoMessage() {}
  688. func (x *AsyncFor) ProtoReflect() protoreflect.Message {
  689. mi := &file_python_ast_proto_msgTypes[7]
  690. if protoimpl.UnsafeEnabled && x != nil {
  691. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  692. if ms.LoadMessageInfo() == nil {
  693. ms.StoreMessageInfo(mi)
  694. }
  695. return ms
  696. }
  697. return mi.MessageOf(x)
  698. }
  699. // Deprecated: Use AsyncFor.ProtoReflect.Descriptor instead.
  700. func (*AsyncFor) Descriptor() ([]byte, []int) {
  701. return file_python_ast_proto_rawDescGZIP(), []int{7}
  702. }
  703. func (x *AsyncFor) GetTarget() *Node {
  704. if x != nil {
  705. return x.Target
  706. }
  707. return nil
  708. }
  709. func (x *AsyncFor) GetIter() *Node {
  710. if x != nil {
  711. return x.Iter
  712. }
  713. return nil
  714. }
  715. func (x *AsyncFor) GetBody() []*Node {
  716. if x != nil {
  717. return x.Body
  718. }
  719. return nil
  720. }
  721. type AsyncFunctionDef struct {
  722. state protoimpl.MessageState
  723. sizeCache protoimpl.SizeCache
  724. unknownFields protoimpl.UnknownFields
  725. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  726. Args *Arguments `protobuf:"bytes,2,opt,name=Args,json=args,proto3" json:"Args,omitempty"`
  727. Body []*Node `protobuf:"bytes,3,rep,name=body,proto3" json:"body,omitempty"`
  728. Returns *Node `protobuf:"bytes,4,opt,name=returns,proto3" json:"returns,omitempty"`
  729. }
  730. func (x *AsyncFunctionDef) Reset() {
  731. *x = AsyncFunctionDef{}
  732. if protoimpl.UnsafeEnabled {
  733. mi := &file_python_ast_proto_msgTypes[8]
  734. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  735. ms.StoreMessageInfo(mi)
  736. }
  737. }
  738. func (x *AsyncFunctionDef) String() string {
  739. return protoimpl.X.MessageStringOf(x)
  740. }
  741. func (*AsyncFunctionDef) ProtoMessage() {}
  742. func (x *AsyncFunctionDef) ProtoReflect() protoreflect.Message {
  743. mi := &file_python_ast_proto_msgTypes[8]
  744. if protoimpl.UnsafeEnabled && x != nil {
  745. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  746. if ms.LoadMessageInfo() == nil {
  747. ms.StoreMessageInfo(mi)
  748. }
  749. return ms
  750. }
  751. return mi.MessageOf(x)
  752. }
  753. // Deprecated: Use AsyncFunctionDef.ProtoReflect.Descriptor instead.
  754. func (*AsyncFunctionDef) Descriptor() ([]byte, []int) {
  755. return file_python_ast_proto_rawDescGZIP(), []int{8}
  756. }
  757. func (x *AsyncFunctionDef) GetName() string {
  758. if x != nil {
  759. return x.Name
  760. }
  761. return ""
  762. }
  763. func (x *AsyncFunctionDef) GetArgs() *Arguments {
  764. if x != nil {
  765. return x.Args
  766. }
  767. return nil
  768. }
  769. func (x *AsyncFunctionDef) GetBody() []*Node {
  770. if x != nil {
  771. return x.Body
  772. }
  773. return nil
  774. }
  775. func (x *AsyncFunctionDef) GetReturns() *Node {
  776. if x != nil {
  777. return x.Returns
  778. }
  779. return nil
  780. }
  781. type Assign struct {
  782. state protoimpl.MessageState
  783. sizeCache protoimpl.SizeCache
  784. unknownFields protoimpl.UnknownFields
  785. Targets []*Node `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
  786. Value *Node `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  787. Comment string `protobuf:"bytes,3,opt,name=Comment,json=comment,proto3" json:"Comment,omitempty"`
  788. }
  789. func (x *Assign) Reset() {
  790. *x = Assign{}
  791. if protoimpl.UnsafeEnabled {
  792. mi := &file_python_ast_proto_msgTypes[9]
  793. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  794. ms.StoreMessageInfo(mi)
  795. }
  796. }
  797. func (x *Assign) String() string {
  798. return protoimpl.X.MessageStringOf(x)
  799. }
  800. func (*Assign) ProtoMessage() {}
  801. func (x *Assign) ProtoReflect() protoreflect.Message {
  802. mi := &file_python_ast_proto_msgTypes[9]
  803. if protoimpl.UnsafeEnabled && x != nil {
  804. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  805. if ms.LoadMessageInfo() == nil {
  806. ms.StoreMessageInfo(mi)
  807. }
  808. return ms
  809. }
  810. return mi.MessageOf(x)
  811. }
  812. // Deprecated: Use Assign.ProtoReflect.Descriptor instead.
  813. func (*Assign) Descriptor() ([]byte, []int) {
  814. return file_python_ast_proto_rawDescGZIP(), []int{9}
  815. }
  816. func (x *Assign) GetTargets() []*Node {
  817. if x != nil {
  818. return x.Targets
  819. }
  820. return nil
  821. }
  822. func (x *Assign) GetValue() *Node {
  823. if x != nil {
  824. return x.Value
  825. }
  826. return nil
  827. }
  828. func (x *Assign) GetComment() string {
  829. if x != nil {
  830. return x.Comment
  831. }
  832. return ""
  833. }
  834. type Call struct {
  835. state protoimpl.MessageState
  836. sizeCache protoimpl.SizeCache
  837. unknownFields protoimpl.UnknownFields
  838. Func *Node `protobuf:"bytes,1,opt,name=func,proto3" json:"func,omitempty"`
  839. Args []*Node `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
  840. Keywords []*Keyword `protobuf:"bytes,3,rep,name=keywords,proto3" json:"keywords,omitempty"`
  841. }
  842. func (x *Call) Reset() {
  843. *x = Call{}
  844. if protoimpl.UnsafeEnabled {
  845. mi := &file_python_ast_proto_msgTypes[10]
  846. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  847. ms.StoreMessageInfo(mi)
  848. }
  849. }
  850. func (x *Call) String() string {
  851. return protoimpl.X.MessageStringOf(x)
  852. }
  853. func (*Call) ProtoMessage() {}
  854. func (x *Call) ProtoReflect() protoreflect.Message {
  855. mi := &file_python_ast_proto_msgTypes[10]
  856. if protoimpl.UnsafeEnabled && x != nil {
  857. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  858. if ms.LoadMessageInfo() == nil {
  859. ms.StoreMessageInfo(mi)
  860. }
  861. return ms
  862. }
  863. return mi.MessageOf(x)
  864. }
  865. // Deprecated: Use Call.ProtoReflect.Descriptor instead.
  866. func (*Call) Descriptor() ([]byte, []int) {
  867. return file_python_ast_proto_rawDescGZIP(), []int{10}
  868. }
  869. func (x *Call) GetFunc() *Node {
  870. if x != nil {
  871. return x.Func
  872. }
  873. return nil
  874. }
  875. func (x *Call) GetArgs() []*Node {
  876. if x != nil {
  877. return x.Args
  878. }
  879. return nil
  880. }
  881. func (x *Call) GetKeywords() []*Keyword {
  882. if x != nil {
  883. return x.Keywords
  884. }
  885. return nil
  886. }
  887. type ClassDef struct {
  888. state protoimpl.MessageState
  889. sizeCache protoimpl.SizeCache
  890. unknownFields protoimpl.UnknownFields
  891. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  892. Bases []*Node `protobuf:"bytes,2,rep,name=bases,proto3" json:"bases,omitempty"`
  893. Keywords []*Node `protobuf:"bytes,3,rep,name=keywords,proto3" json:"keywords,omitempty"`
  894. Body []*Node `protobuf:"bytes,4,rep,name=body,proto3" json:"body,omitempty"`
  895. DecoratorList []*Node `protobuf:"bytes,5,rep,name=decorator_list,proto3" json:"decorator_list,omitempty"`
  896. }
  897. func (x *ClassDef) Reset() {
  898. *x = ClassDef{}
  899. if protoimpl.UnsafeEnabled {
  900. mi := &file_python_ast_proto_msgTypes[11]
  901. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  902. ms.StoreMessageInfo(mi)
  903. }
  904. }
  905. func (x *ClassDef) String() string {
  906. return protoimpl.X.MessageStringOf(x)
  907. }
  908. func (*ClassDef) ProtoMessage() {}
  909. func (x *ClassDef) ProtoReflect() protoreflect.Message {
  910. mi := &file_python_ast_proto_msgTypes[11]
  911. if protoimpl.UnsafeEnabled && x != nil {
  912. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  913. if ms.LoadMessageInfo() == nil {
  914. ms.StoreMessageInfo(mi)
  915. }
  916. return ms
  917. }
  918. return mi.MessageOf(x)
  919. }
  920. // Deprecated: Use ClassDef.ProtoReflect.Descriptor instead.
  921. func (*ClassDef) Descriptor() ([]byte, []int) {
  922. return file_python_ast_proto_rawDescGZIP(), []int{11}
  923. }
  924. func (x *ClassDef) GetName() string {
  925. if x != nil {
  926. return x.Name
  927. }
  928. return ""
  929. }
  930. func (x *ClassDef) GetBases() []*Node {
  931. if x != nil {
  932. return x.Bases
  933. }
  934. return nil
  935. }
  936. func (x *ClassDef) GetKeywords() []*Node {
  937. if x != nil {
  938. return x.Keywords
  939. }
  940. return nil
  941. }
  942. func (x *ClassDef) GetBody() []*Node {
  943. if x != nil {
  944. return x.Body
  945. }
  946. return nil
  947. }
  948. func (x *ClassDef) GetDecoratorList() []*Node {
  949. if x != nil {
  950. return x.DecoratorList
  951. }
  952. return nil
  953. }
  954. // The Python ast module does not parse comments. It's not clear if this is the
  955. // best way to support them in the AST
  956. type Comment struct {
  957. state protoimpl.MessageState
  958. sizeCache protoimpl.SizeCache
  959. unknownFields protoimpl.UnknownFields
  960. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
  961. }
  962. func (x *Comment) Reset() {
  963. *x = Comment{}
  964. if protoimpl.UnsafeEnabled {
  965. mi := &file_python_ast_proto_msgTypes[12]
  966. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  967. ms.StoreMessageInfo(mi)
  968. }
  969. }
  970. func (x *Comment) String() string {
  971. return protoimpl.X.MessageStringOf(x)
  972. }
  973. func (*Comment) ProtoMessage() {}
  974. func (x *Comment) ProtoReflect() protoreflect.Message {
  975. mi := &file_python_ast_proto_msgTypes[12]
  976. if protoimpl.UnsafeEnabled && x != nil {
  977. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  978. if ms.LoadMessageInfo() == nil {
  979. ms.StoreMessageInfo(mi)
  980. }
  981. return ms
  982. }
  983. return mi.MessageOf(x)
  984. }
  985. // Deprecated: Use Comment.ProtoReflect.Descriptor instead.
  986. func (*Comment) Descriptor() ([]byte, []int) {
  987. return file_python_ast_proto_rawDescGZIP(), []int{12}
  988. }
  989. func (x *Comment) GetText() string {
  990. if x != nil {
  991. return x.Text
  992. }
  993. return ""
  994. }
  995. type Compare struct {
  996. state protoimpl.MessageState
  997. sizeCache protoimpl.SizeCache
  998. unknownFields protoimpl.UnknownFields
  999. Left *Node `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
  1000. Ops []*Node `protobuf:"bytes,2,rep,name=ops,proto3" json:"ops,omitempty"`
  1001. Comparators []*Node `protobuf:"bytes,3,rep,name=comparators,proto3" json:"comparators,omitempty"`
  1002. }
  1003. func (x *Compare) Reset() {
  1004. *x = Compare{}
  1005. if protoimpl.UnsafeEnabled {
  1006. mi := &file_python_ast_proto_msgTypes[13]
  1007. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1008. ms.StoreMessageInfo(mi)
  1009. }
  1010. }
  1011. func (x *Compare) String() string {
  1012. return protoimpl.X.MessageStringOf(x)
  1013. }
  1014. func (*Compare) ProtoMessage() {}
  1015. func (x *Compare) ProtoReflect() protoreflect.Message {
  1016. mi := &file_python_ast_proto_msgTypes[13]
  1017. if protoimpl.UnsafeEnabled && x != nil {
  1018. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1019. if ms.LoadMessageInfo() == nil {
  1020. ms.StoreMessageInfo(mi)
  1021. }
  1022. return ms
  1023. }
  1024. return mi.MessageOf(x)
  1025. }
  1026. // Deprecated: Use Compare.ProtoReflect.Descriptor instead.
  1027. func (*Compare) Descriptor() ([]byte, []int) {
  1028. return file_python_ast_proto_rawDescGZIP(), []int{13}
  1029. }
  1030. func (x *Compare) GetLeft() *Node {
  1031. if x != nil {
  1032. return x.Left
  1033. }
  1034. return nil
  1035. }
  1036. func (x *Compare) GetOps() []*Node {
  1037. if x != nil {
  1038. return x.Ops
  1039. }
  1040. return nil
  1041. }
  1042. func (x *Compare) GetComparators() []*Node {
  1043. if x != nil {
  1044. return x.Comparators
  1045. }
  1046. return nil
  1047. }
  1048. type Constant struct {
  1049. state protoimpl.MessageState
  1050. sizeCache protoimpl.SizeCache
  1051. unknownFields protoimpl.UnknownFields
  1052. // Types that are assignable to Value:
  1053. // *Constant_Str
  1054. // *Constant_Int
  1055. // *Constant_None
  1056. Value isConstant_Value `protobuf_oneof:"value"`
  1057. }
  1058. func (x *Constant) Reset() {
  1059. *x = Constant{}
  1060. if protoimpl.UnsafeEnabled {
  1061. mi := &file_python_ast_proto_msgTypes[14]
  1062. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1063. ms.StoreMessageInfo(mi)
  1064. }
  1065. }
  1066. func (x *Constant) String() string {
  1067. return protoimpl.X.MessageStringOf(x)
  1068. }
  1069. func (*Constant) ProtoMessage() {}
  1070. func (x *Constant) ProtoReflect() protoreflect.Message {
  1071. mi := &file_python_ast_proto_msgTypes[14]
  1072. if protoimpl.UnsafeEnabled && x != nil {
  1073. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1074. if ms.LoadMessageInfo() == nil {
  1075. ms.StoreMessageInfo(mi)
  1076. }
  1077. return ms
  1078. }
  1079. return mi.MessageOf(x)
  1080. }
  1081. // Deprecated: Use Constant.ProtoReflect.Descriptor instead.
  1082. func (*Constant) Descriptor() ([]byte, []int) {
  1083. return file_python_ast_proto_rawDescGZIP(), []int{14}
  1084. }
  1085. func (m *Constant) GetValue() isConstant_Value {
  1086. if m != nil {
  1087. return m.Value
  1088. }
  1089. return nil
  1090. }
  1091. func (x *Constant) GetStr() string {
  1092. if x, ok := x.GetValue().(*Constant_Str); ok {
  1093. return x.Str
  1094. }
  1095. return ""
  1096. }
  1097. func (x *Constant) GetInt() int32 {
  1098. if x, ok := x.GetValue().(*Constant_Int); ok {
  1099. return x.Int
  1100. }
  1101. return 0
  1102. }
  1103. func (x *Constant) GetNone() bool {
  1104. if x, ok := x.GetValue().(*Constant_None); ok {
  1105. return x.None
  1106. }
  1107. return false
  1108. }
  1109. type isConstant_Value interface {
  1110. isConstant_Value()
  1111. }
  1112. type Constant_Str struct {
  1113. Str string `protobuf:"bytes,1,opt,name=str,json=string,proto3,oneof"`
  1114. }
  1115. type Constant_Int struct {
  1116. Int int32 `protobuf:"varint,2,opt,name=int,proto3,oneof"`
  1117. }
  1118. type Constant_None struct {
  1119. None bool `protobuf:"varint,3,opt,name=none,proto3,oneof"`
  1120. }
  1121. func (*Constant_Str) isConstant_Value() {}
  1122. func (*Constant_Int) isConstant_Value() {}
  1123. func (*Constant_None) isConstant_Value() {}
  1124. type Dict struct {
  1125. state protoimpl.MessageState
  1126. sizeCache protoimpl.SizeCache
  1127. unknownFields protoimpl.UnknownFields
  1128. Keys []*Node `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
  1129. Values []*Node `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
  1130. }
  1131. func (x *Dict) Reset() {
  1132. *x = Dict{}
  1133. if protoimpl.UnsafeEnabled {
  1134. mi := &file_python_ast_proto_msgTypes[15]
  1135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1136. ms.StoreMessageInfo(mi)
  1137. }
  1138. }
  1139. func (x *Dict) String() string {
  1140. return protoimpl.X.MessageStringOf(x)
  1141. }
  1142. func (*Dict) ProtoMessage() {}
  1143. func (x *Dict) ProtoReflect() protoreflect.Message {
  1144. mi := &file_python_ast_proto_msgTypes[15]
  1145. if protoimpl.UnsafeEnabled && x != nil {
  1146. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1147. if ms.LoadMessageInfo() == nil {
  1148. ms.StoreMessageInfo(mi)
  1149. }
  1150. return ms
  1151. }
  1152. return mi.MessageOf(x)
  1153. }
  1154. // Deprecated: Use Dict.ProtoReflect.Descriptor instead.
  1155. func (*Dict) Descriptor() ([]byte, []int) {
  1156. return file_python_ast_proto_rawDescGZIP(), []int{15}
  1157. }
  1158. func (x *Dict) GetKeys() []*Node {
  1159. if x != nil {
  1160. return x.Keys
  1161. }
  1162. return nil
  1163. }
  1164. func (x *Dict) GetValues() []*Node {
  1165. if x != nil {
  1166. return x.Values
  1167. }
  1168. return nil
  1169. }
  1170. type Expr struct {
  1171. state protoimpl.MessageState
  1172. sizeCache protoimpl.SizeCache
  1173. unknownFields protoimpl.UnknownFields
  1174. Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  1175. }
  1176. func (x *Expr) Reset() {
  1177. *x = Expr{}
  1178. if protoimpl.UnsafeEnabled {
  1179. mi := &file_python_ast_proto_msgTypes[16]
  1180. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1181. ms.StoreMessageInfo(mi)
  1182. }
  1183. }
  1184. func (x *Expr) String() string {
  1185. return protoimpl.X.MessageStringOf(x)
  1186. }
  1187. func (*Expr) ProtoMessage() {}
  1188. func (x *Expr) ProtoReflect() protoreflect.Message {
  1189. mi := &file_python_ast_proto_msgTypes[16]
  1190. if protoimpl.UnsafeEnabled && x != nil {
  1191. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1192. if ms.LoadMessageInfo() == nil {
  1193. ms.StoreMessageInfo(mi)
  1194. }
  1195. return ms
  1196. }
  1197. return mi.MessageOf(x)
  1198. }
  1199. // Deprecated: Use Expr.ProtoReflect.Descriptor instead.
  1200. func (*Expr) Descriptor() ([]byte, []int) {
  1201. return file_python_ast_proto_rawDescGZIP(), []int{16}
  1202. }
  1203. func (x *Expr) GetValue() *Node {
  1204. if x != nil {
  1205. return x.Value
  1206. }
  1207. return nil
  1208. }
  1209. type For struct {
  1210. state protoimpl.MessageState
  1211. sizeCache protoimpl.SizeCache
  1212. unknownFields protoimpl.UnknownFields
  1213. Target *Node `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
  1214. Iter *Node `protobuf:"bytes,2,opt,name=iter,proto3" json:"iter,omitempty"`
  1215. Body []*Node `protobuf:"bytes,3,rep,name=body,proto3" json:"body,omitempty"`
  1216. }
  1217. func (x *For) Reset() {
  1218. *x = For{}
  1219. if protoimpl.UnsafeEnabled {
  1220. mi := &file_python_ast_proto_msgTypes[17]
  1221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1222. ms.StoreMessageInfo(mi)
  1223. }
  1224. }
  1225. func (x *For) String() string {
  1226. return protoimpl.X.MessageStringOf(x)
  1227. }
  1228. func (*For) ProtoMessage() {}
  1229. func (x *For) ProtoReflect() protoreflect.Message {
  1230. mi := &file_python_ast_proto_msgTypes[17]
  1231. if protoimpl.UnsafeEnabled && x != nil {
  1232. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1233. if ms.LoadMessageInfo() == nil {
  1234. ms.StoreMessageInfo(mi)
  1235. }
  1236. return ms
  1237. }
  1238. return mi.MessageOf(x)
  1239. }
  1240. // Deprecated: Use For.ProtoReflect.Descriptor instead.
  1241. func (*For) Descriptor() ([]byte, []int) {
  1242. return file_python_ast_proto_rawDescGZIP(), []int{17}
  1243. }
  1244. func (x *For) GetTarget() *Node {
  1245. if x != nil {
  1246. return x.Target
  1247. }
  1248. return nil
  1249. }
  1250. func (x *For) GetIter() *Node {
  1251. if x != nil {
  1252. return x.Iter
  1253. }
  1254. return nil
  1255. }
  1256. func (x *For) GetBody() []*Node {
  1257. if x != nil {
  1258. return x.Body
  1259. }
  1260. return nil
  1261. }
  1262. type FunctionDef struct {
  1263. state protoimpl.MessageState
  1264. sizeCache protoimpl.SizeCache
  1265. unknownFields protoimpl.UnknownFields
  1266. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1267. Args *Arguments `protobuf:"bytes,2,opt,name=Args,json=args,proto3" json:"Args,omitempty"`
  1268. Body []*Node `protobuf:"bytes,3,rep,name=body,proto3" json:"body,omitempty"`
  1269. Returns *Node `protobuf:"bytes,4,opt,name=returns,proto3" json:"returns,omitempty"`
  1270. }
  1271. func (x *FunctionDef) Reset() {
  1272. *x = FunctionDef{}
  1273. if protoimpl.UnsafeEnabled {
  1274. mi := &file_python_ast_proto_msgTypes[18]
  1275. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1276. ms.StoreMessageInfo(mi)
  1277. }
  1278. }
  1279. func (x *FunctionDef) String() string {
  1280. return protoimpl.X.MessageStringOf(x)
  1281. }
  1282. func (*FunctionDef) ProtoMessage() {}
  1283. func (x *FunctionDef) ProtoReflect() protoreflect.Message {
  1284. mi := &file_python_ast_proto_msgTypes[18]
  1285. if protoimpl.UnsafeEnabled && x != nil {
  1286. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1287. if ms.LoadMessageInfo() == nil {
  1288. ms.StoreMessageInfo(mi)
  1289. }
  1290. return ms
  1291. }
  1292. return mi.MessageOf(x)
  1293. }
  1294. // Deprecated: Use FunctionDef.ProtoReflect.Descriptor instead.
  1295. func (*FunctionDef) Descriptor() ([]byte, []int) {
  1296. return file_python_ast_proto_rawDescGZIP(), []int{18}
  1297. }
  1298. func (x *FunctionDef) GetName() string {
  1299. if x != nil {
  1300. return x.Name
  1301. }
  1302. return ""
  1303. }
  1304. func (x *FunctionDef) GetArgs() *Arguments {
  1305. if x != nil {
  1306. return x.Args
  1307. }
  1308. return nil
  1309. }
  1310. func (x *FunctionDef) GetBody() []*Node {
  1311. if x != nil {
  1312. return x.Body
  1313. }
  1314. return nil
  1315. }
  1316. func (x *FunctionDef) GetReturns() *Node {
  1317. if x != nil {
  1318. return x.Returns
  1319. }
  1320. return nil
  1321. }
  1322. type If struct {
  1323. state protoimpl.MessageState
  1324. sizeCache protoimpl.SizeCache
  1325. unknownFields protoimpl.UnknownFields
  1326. Test *Node `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"`
  1327. Body []*Node `protobuf:"bytes,2,rep,name=body,proto3" json:"body,omitempty"`
  1328. OrElse []*Node `protobuf:"bytes,3,rep,name=or_else,json=orelse,proto3" json:"or_else,omitempty"`
  1329. }
  1330. func (x *If) Reset() {
  1331. *x = If{}
  1332. if protoimpl.UnsafeEnabled {
  1333. mi := &file_python_ast_proto_msgTypes[19]
  1334. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1335. ms.StoreMessageInfo(mi)
  1336. }
  1337. }
  1338. func (x *If) String() string {
  1339. return protoimpl.X.MessageStringOf(x)
  1340. }
  1341. func (*If) ProtoMessage() {}
  1342. func (x *If) ProtoReflect() protoreflect.Message {
  1343. mi := &file_python_ast_proto_msgTypes[19]
  1344. if protoimpl.UnsafeEnabled && x != nil {
  1345. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1346. if ms.LoadMessageInfo() == nil {
  1347. ms.StoreMessageInfo(mi)
  1348. }
  1349. return ms
  1350. }
  1351. return mi.MessageOf(x)
  1352. }
  1353. // Deprecated: Use If.ProtoReflect.Descriptor instead.
  1354. func (*If) Descriptor() ([]byte, []int) {
  1355. return file_python_ast_proto_rawDescGZIP(), []int{19}
  1356. }
  1357. func (x *If) GetTest() *Node {
  1358. if x != nil {
  1359. return x.Test
  1360. }
  1361. return nil
  1362. }
  1363. func (x *If) GetBody() []*Node {
  1364. if x != nil {
  1365. return x.Body
  1366. }
  1367. return nil
  1368. }
  1369. func (x *If) GetOrElse() []*Node {
  1370. if x != nil {
  1371. return x.OrElse
  1372. }
  1373. return nil
  1374. }
  1375. type Import struct {
  1376. state protoimpl.MessageState
  1377. sizeCache protoimpl.SizeCache
  1378. unknownFields protoimpl.UnknownFields
  1379. Names []*Node `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
  1380. }
  1381. func (x *Import) Reset() {
  1382. *x = Import{}
  1383. if protoimpl.UnsafeEnabled {
  1384. mi := &file_python_ast_proto_msgTypes[20]
  1385. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1386. ms.StoreMessageInfo(mi)
  1387. }
  1388. }
  1389. func (x *Import) String() string {
  1390. return protoimpl.X.MessageStringOf(x)
  1391. }
  1392. func (*Import) ProtoMessage() {}
  1393. func (x *Import) ProtoReflect() protoreflect.Message {
  1394. mi := &file_python_ast_proto_msgTypes[20]
  1395. if protoimpl.UnsafeEnabled && x != nil {
  1396. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1397. if ms.LoadMessageInfo() == nil {
  1398. ms.StoreMessageInfo(mi)
  1399. }
  1400. return ms
  1401. }
  1402. return mi.MessageOf(x)
  1403. }
  1404. // Deprecated: Use Import.ProtoReflect.Descriptor instead.
  1405. func (*Import) Descriptor() ([]byte, []int) {
  1406. return file_python_ast_proto_rawDescGZIP(), []int{20}
  1407. }
  1408. func (x *Import) GetNames() []*Node {
  1409. if x != nil {
  1410. return x.Names
  1411. }
  1412. return nil
  1413. }
  1414. type ImportFrom struct {
  1415. state protoimpl.MessageState
  1416. sizeCache protoimpl.SizeCache
  1417. unknownFields protoimpl.UnknownFields
  1418. Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
  1419. Names []*Node `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
  1420. Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
  1421. }
  1422. func (x *ImportFrom) Reset() {
  1423. *x = ImportFrom{}
  1424. if protoimpl.UnsafeEnabled {
  1425. mi := &file_python_ast_proto_msgTypes[21]
  1426. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1427. ms.StoreMessageInfo(mi)
  1428. }
  1429. }
  1430. func (x *ImportFrom) String() string {
  1431. return protoimpl.X.MessageStringOf(x)
  1432. }
  1433. func (*ImportFrom) ProtoMessage() {}
  1434. func (x *ImportFrom) ProtoReflect() protoreflect.Message {
  1435. mi := &file_python_ast_proto_msgTypes[21]
  1436. if protoimpl.UnsafeEnabled && x != nil {
  1437. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1438. if ms.LoadMessageInfo() == nil {
  1439. ms.StoreMessageInfo(mi)
  1440. }
  1441. return ms
  1442. }
  1443. return mi.MessageOf(x)
  1444. }
  1445. // Deprecated: Use ImportFrom.ProtoReflect.Descriptor instead.
  1446. func (*ImportFrom) Descriptor() ([]byte, []int) {
  1447. return file_python_ast_proto_rawDescGZIP(), []int{21}
  1448. }
  1449. func (x *ImportFrom) GetModule() string {
  1450. if x != nil {
  1451. return x.Module
  1452. }
  1453. return ""
  1454. }
  1455. func (x *ImportFrom) GetNames() []*Node {
  1456. if x != nil {
  1457. return x.Names
  1458. }
  1459. return nil
  1460. }
  1461. func (x *ImportFrom) GetLevel() int32 {
  1462. if x != nil {
  1463. return x.Level
  1464. }
  1465. return 0
  1466. }
  1467. // Imports are always put at the top of the file, just after any module
  1468. // comments and docstrings, and before module globals and constants.
  1469. //
  1470. // Imports should be grouped in the following order:
  1471. //
  1472. // Standard library imports.
  1473. // Related third party imports.
  1474. // Local application/library specific imports.
  1475. //
  1476. // You should put a blank line between each group of imports.
  1477. //
  1478. // https://www.python.org/dev/peps/pep-0008/#imports
  1479. type ImportGroup struct {
  1480. state protoimpl.MessageState
  1481. sizeCache protoimpl.SizeCache
  1482. unknownFields protoimpl.UnknownFields
  1483. Imports []*Node `protobuf:"bytes,1,rep,name=imports,proto3" json:"imports,omitempty"`
  1484. }
  1485. func (x *ImportGroup) Reset() {
  1486. *x = ImportGroup{}
  1487. if protoimpl.UnsafeEnabled {
  1488. mi := &file_python_ast_proto_msgTypes[22]
  1489. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1490. ms.StoreMessageInfo(mi)
  1491. }
  1492. }
  1493. func (x *ImportGroup) String() string {
  1494. return protoimpl.X.MessageStringOf(x)
  1495. }
  1496. func (*ImportGroup) ProtoMessage() {}
  1497. func (x *ImportGroup) ProtoReflect() protoreflect.Message {
  1498. mi := &file_python_ast_proto_msgTypes[22]
  1499. if protoimpl.UnsafeEnabled && x != nil {
  1500. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1501. if ms.LoadMessageInfo() == nil {
  1502. ms.StoreMessageInfo(mi)
  1503. }
  1504. return ms
  1505. }
  1506. return mi.MessageOf(x)
  1507. }
  1508. // Deprecated: Use ImportGroup.ProtoReflect.Descriptor instead.
  1509. func (*ImportGroup) Descriptor() ([]byte, []int) {
  1510. return file_python_ast_proto_rawDescGZIP(), []int{22}
  1511. }
  1512. func (x *ImportGroup) GetImports() []*Node {
  1513. if x != nil {
  1514. return x.Imports
  1515. }
  1516. return nil
  1517. }
  1518. type Is struct {
  1519. state protoimpl.MessageState
  1520. sizeCache protoimpl.SizeCache
  1521. unknownFields protoimpl.UnknownFields
  1522. }
  1523. func (x *Is) Reset() {
  1524. *x = Is{}
  1525. if protoimpl.UnsafeEnabled {
  1526. mi := &file_python_ast_proto_msgTypes[23]
  1527. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1528. ms.StoreMessageInfo(mi)
  1529. }
  1530. }
  1531. func (x *Is) String() string {
  1532. return protoimpl.X.MessageStringOf(x)
  1533. }
  1534. func (*Is) ProtoMessage() {}
  1535. func (x *Is) ProtoReflect() protoreflect.Message {
  1536. mi := &file_python_ast_proto_msgTypes[23]
  1537. if protoimpl.UnsafeEnabled && x != nil {
  1538. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1539. if ms.LoadMessageInfo() == nil {
  1540. ms.StoreMessageInfo(mi)
  1541. }
  1542. return ms
  1543. }
  1544. return mi.MessageOf(x)
  1545. }
  1546. // Deprecated: Use Is.ProtoReflect.Descriptor instead.
  1547. func (*Is) Descriptor() ([]byte, []int) {
  1548. return file_python_ast_proto_rawDescGZIP(), []int{23}
  1549. }
  1550. type Keyword struct {
  1551. state protoimpl.MessageState
  1552. sizeCache protoimpl.SizeCache
  1553. unknownFields protoimpl.UnknownFields
  1554. Arg string `protobuf:"bytes,1,opt,name=arg,proto3" json:"arg,omitempty"`
  1555. Value *Node `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  1556. }
  1557. func (x *Keyword) Reset() {
  1558. *x = Keyword{}
  1559. if protoimpl.UnsafeEnabled {
  1560. mi := &file_python_ast_proto_msgTypes[24]
  1561. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1562. ms.StoreMessageInfo(mi)
  1563. }
  1564. }
  1565. func (x *Keyword) String() string {
  1566. return protoimpl.X.MessageStringOf(x)
  1567. }
  1568. func (*Keyword) ProtoMessage() {}
  1569. func (x *Keyword) ProtoReflect() protoreflect.Message {
  1570. mi := &file_python_ast_proto_msgTypes[24]
  1571. if protoimpl.UnsafeEnabled && x != nil {
  1572. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1573. if ms.LoadMessageInfo() == nil {
  1574. ms.StoreMessageInfo(mi)
  1575. }
  1576. return ms
  1577. }
  1578. return mi.MessageOf(x)
  1579. }
  1580. // Deprecated: Use Keyword.ProtoReflect.Descriptor instead.
  1581. func (*Keyword) Descriptor() ([]byte, []int) {
  1582. return file_python_ast_proto_rawDescGZIP(), []int{24}
  1583. }
  1584. func (x *Keyword) GetArg() string {
  1585. if x != nil {
  1586. return x.Arg
  1587. }
  1588. return ""
  1589. }
  1590. func (x *Keyword) GetValue() *Node {
  1591. if x != nil {
  1592. return x.Value
  1593. }
  1594. return nil
  1595. }
  1596. type Module struct {
  1597. state protoimpl.MessageState
  1598. sizeCache protoimpl.SizeCache
  1599. unknownFields protoimpl.UnknownFields
  1600. Body []*Node `protobuf:"bytes,1,rep,name=body,proto3" json:"body,omitempty"`
  1601. }
  1602. func (x *Module) Reset() {
  1603. *x = Module{}
  1604. if protoimpl.UnsafeEnabled {
  1605. mi := &file_python_ast_proto_msgTypes[25]
  1606. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1607. ms.StoreMessageInfo(mi)
  1608. }
  1609. }
  1610. func (x *Module) String() string {
  1611. return protoimpl.X.MessageStringOf(x)
  1612. }
  1613. func (*Module) ProtoMessage() {}
  1614. func (x *Module) ProtoReflect() protoreflect.Message {
  1615. mi := &file_python_ast_proto_msgTypes[25]
  1616. if protoimpl.UnsafeEnabled && x != nil {
  1617. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1618. if ms.LoadMessageInfo() == nil {
  1619. ms.StoreMessageInfo(mi)
  1620. }
  1621. return ms
  1622. }
  1623. return mi.MessageOf(x)
  1624. }
  1625. // Deprecated: Use Module.ProtoReflect.Descriptor instead.
  1626. func (*Module) Descriptor() ([]byte, []int) {
  1627. return file_python_ast_proto_rawDescGZIP(), []int{25}
  1628. }
  1629. func (x *Module) GetBody() []*Node {
  1630. if x != nil {
  1631. return x.Body
  1632. }
  1633. return nil
  1634. }
  1635. type Name struct {
  1636. state protoimpl.MessageState
  1637. sizeCache protoimpl.SizeCache
  1638. unknownFields protoimpl.UnknownFields
  1639. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1640. }
  1641. func (x *Name) Reset() {
  1642. *x = Name{}
  1643. if protoimpl.UnsafeEnabled {
  1644. mi := &file_python_ast_proto_msgTypes[26]
  1645. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1646. ms.StoreMessageInfo(mi)
  1647. }
  1648. }
  1649. func (x *Name) String() string {
  1650. return protoimpl.X.MessageStringOf(x)
  1651. }
  1652. func (*Name) ProtoMessage() {}
  1653. func (x *Name) ProtoReflect() protoreflect.Message {
  1654. mi := &file_python_ast_proto_msgTypes[26]
  1655. if protoimpl.UnsafeEnabled && x != nil {
  1656. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1657. if ms.LoadMessageInfo() == nil {
  1658. ms.StoreMessageInfo(mi)
  1659. }
  1660. return ms
  1661. }
  1662. return mi.MessageOf(x)
  1663. }
  1664. // Deprecated: Use Name.ProtoReflect.Descriptor instead.
  1665. func (*Name) Descriptor() ([]byte, []int) {
  1666. return file_python_ast_proto_rawDescGZIP(), []int{26}
  1667. }
  1668. func (x *Name) GetId() string {
  1669. if x != nil {
  1670. return x.Id
  1671. }
  1672. return ""
  1673. }
  1674. type Pass struct {
  1675. state protoimpl.MessageState
  1676. sizeCache protoimpl.SizeCache
  1677. unknownFields protoimpl.UnknownFields
  1678. }
  1679. func (x *Pass) Reset() {
  1680. *x = Pass{}
  1681. if protoimpl.UnsafeEnabled {
  1682. mi := &file_python_ast_proto_msgTypes[27]
  1683. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1684. ms.StoreMessageInfo(mi)
  1685. }
  1686. }
  1687. func (x *Pass) String() string {
  1688. return protoimpl.X.MessageStringOf(x)
  1689. }
  1690. func (*Pass) ProtoMessage() {}
  1691. func (x *Pass) ProtoReflect() protoreflect.Message {
  1692. mi := &file_python_ast_proto_msgTypes[27]
  1693. if protoimpl.UnsafeEnabled && x != nil {
  1694. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1695. if ms.LoadMessageInfo() == nil {
  1696. ms.StoreMessageInfo(mi)
  1697. }
  1698. return ms
  1699. }
  1700. return mi.MessageOf(x)
  1701. }
  1702. // Deprecated: Use Pass.ProtoReflect.Descriptor instead.
  1703. func (*Pass) Descriptor() ([]byte, []int) {
  1704. return file_python_ast_proto_rawDescGZIP(), []int{27}
  1705. }
  1706. type Return struct {
  1707. state protoimpl.MessageState
  1708. sizeCache protoimpl.SizeCache
  1709. unknownFields protoimpl.UnknownFields
  1710. Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  1711. }
  1712. func (x *Return) Reset() {
  1713. *x = Return{}
  1714. if protoimpl.UnsafeEnabled {
  1715. mi := &file_python_ast_proto_msgTypes[28]
  1716. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1717. ms.StoreMessageInfo(mi)
  1718. }
  1719. }
  1720. func (x *Return) String() string {
  1721. return protoimpl.X.MessageStringOf(x)
  1722. }
  1723. func (*Return) ProtoMessage() {}
  1724. func (x *Return) ProtoReflect() protoreflect.Message {
  1725. mi := &file_python_ast_proto_msgTypes[28]
  1726. if protoimpl.UnsafeEnabled && x != nil {
  1727. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1728. if ms.LoadMessageInfo() == nil {
  1729. ms.StoreMessageInfo(mi)
  1730. }
  1731. return ms
  1732. }
  1733. return mi.MessageOf(x)
  1734. }
  1735. // Deprecated: Use Return.ProtoReflect.Descriptor instead.
  1736. func (*Return) Descriptor() ([]byte, []int) {
  1737. return file_python_ast_proto_rawDescGZIP(), []int{28}
  1738. }
  1739. func (x *Return) GetValue() *Node {
  1740. if x != nil {
  1741. return x.Value
  1742. }
  1743. return nil
  1744. }
  1745. type Subscript struct {
  1746. state protoimpl.MessageState
  1747. sizeCache protoimpl.SizeCache
  1748. unknownFields protoimpl.UnknownFields
  1749. Value *Name `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  1750. Slice *Node `protobuf:"bytes,2,opt,name=slice,proto3" json:"slice,omitempty"`
  1751. }
  1752. func (x *Subscript) Reset() {
  1753. *x = Subscript{}
  1754. if protoimpl.UnsafeEnabled {
  1755. mi := &file_python_ast_proto_msgTypes[29]
  1756. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1757. ms.StoreMessageInfo(mi)
  1758. }
  1759. }
  1760. func (x *Subscript) String() string {
  1761. return protoimpl.X.MessageStringOf(x)
  1762. }
  1763. func (*Subscript) ProtoMessage() {}
  1764. func (x *Subscript) ProtoReflect() protoreflect.Message {
  1765. mi := &file_python_ast_proto_msgTypes[29]
  1766. if protoimpl.UnsafeEnabled && x != nil {
  1767. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1768. if ms.LoadMessageInfo() == nil {
  1769. ms.StoreMessageInfo(mi)
  1770. }
  1771. return ms
  1772. }
  1773. return mi.MessageOf(x)
  1774. }
  1775. // Deprecated: Use Subscript.ProtoReflect.Descriptor instead.
  1776. func (*Subscript) Descriptor() ([]byte, []int) {
  1777. return file_python_ast_proto_rawDescGZIP(), []int{29}
  1778. }
  1779. func (x *Subscript) GetValue() *Name {
  1780. if x != nil {
  1781. return x.Value
  1782. }
  1783. return nil
  1784. }
  1785. func (x *Subscript) GetSlice() *Node {
  1786. if x != nil {
  1787. return x.Slice
  1788. }
  1789. return nil
  1790. }
  1791. type Yield struct {
  1792. state protoimpl.MessageState
  1793. sizeCache protoimpl.SizeCache
  1794. unknownFields protoimpl.UnknownFields
  1795. Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  1796. }
  1797. func (x *Yield) Reset() {
  1798. *x = Yield{}
  1799. if protoimpl.UnsafeEnabled {
  1800. mi := &file_python_ast_proto_msgTypes[30]
  1801. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1802. ms.StoreMessageInfo(mi)
  1803. }
  1804. }
  1805. func (x *Yield) String() string {
  1806. return protoimpl.X.MessageStringOf(x)
  1807. }
  1808. func (*Yield) ProtoMessage() {}
  1809. func (x *Yield) ProtoReflect() protoreflect.Message {
  1810. mi := &file_python_ast_proto_msgTypes[30]
  1811. if protoimpl.UnsafeEnabled && x != nil {
  1812. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1813. if ms.LoadMessageInfo() == nil {
  1814. ms.StoreMessageInfo(mi)
  1815. }
  1816. return ms
  1817. }
  1818. return mi.MessageOf(x)
  1819. }
  1820. // Deprecated: Use Yield.ProtoReflect.Descriptor instead.
  1821. func (*Yield) Descriptor() ([]byte, []int) {
  1822. return file_python_ast_proto_rawDescGZIP(), []int{30}
  1823. }
  1824. func (x *Yield) GetValue() *Node {
  1825. if x != nil {
  1826. return x.Value
  1827. }
  1828. return nil
  1829. }
  1830. var File_python_ast_proto protoreflect.FileDescriptor
  1831. var file_python_ast_proto_rawDesc = []byte{
  1832. 0x0a, 0x10, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2f, 0x61, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f,
  1833. 0x74, 0x6f, 0x12, 0x0a, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x22, 0xb0,
  1834. 0x0b, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73,
  1835. 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x79, 0x74,
  1836. 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x44, 0x65, 0x66,
  1837. 0x48, 0x00, 0x52, 0x08, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x44, 0x65, 0x66, 0x12, 0x2c, 0x0a, 0x06,
  1838. 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70,
  1839. 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
  1840. 0x48, 0x00, 0x52, 0x06, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x39, 0x0a, 0x0b, 0x69, 0x6d,
  1841. 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1842. 0x16, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x49, 0x6d, 0x70,
  1843. 0x6f, 0x72, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x48, 0x00, 0x52, 0x0a, 0x49, 0x6d, 0x70, 0x6f, 0x72,
  1844. 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x2c, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18,
  1845. 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
  1846. 0x73, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x4d, 0x6f, 0x64,
  1847. 0x75, 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01,
  1848. 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
  1849. 0x41, 0x6c, 0x69, 0x61, 0x73, 0x48, 0x00, 0x52, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x36,
  1850. 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x06, 0x20, 0x01,
  1851. 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
  1852. 0x41, 0x6e, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x41, 0x6e, 0x6e,
  1853. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x26, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07,
  1854. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73,
  1855. 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x35,
  1856. 0x0a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28,
  1857. 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x53,
  1858. 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x48, 0x00, 0x52, 0x09, 0x53, 0x75, 0x62, 0x73,
  1859. 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
  1860. 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
  1861. 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x48,
  1862. 0x00, 0x52, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x08,
  1863. 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
  1864. 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x73,
  1865. 0x74, 0x61, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74,
  1866. 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
  1867. 0x32, 0x12, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x73,
  1868. 0x73, 0x69, 0x67, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x2f,
  1869. 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1870. 0x13, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d,
  1871. 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12,
  1872. 0x26, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
  1873. 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x48,
  1874. 0x00, 0x52, 0x04, 0x45, 0x78, 0x70, 0x72, 0x12, 0x26, 0x0a, 0x04, 0x63, 0x61, 0x6c, 0x6c, 0x18,
  1875. 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
  1876. 0x73, 0x74, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12,
  1877. 0x3c, 0x0a, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18,
  1878. 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
  1879. 0x73, 0x74, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x48, 0x00,
  1880. 0x52, 0x0b, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x23, 0x0a,
  1881. 0x03, 0x61, 0x72, 0x67, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x79, 0x74,
  1882. 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x48, 0x00, 0x52, 0x03, 0x41,
  1883. 0x72, 0x67, 0x12, 0x35, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
  1884. 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
  1885. 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x00, 0x52, 0x09,
  1886. 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x12, 0x61, 0x73, 0x79,
  1887. 0x6e, 0x63, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18,
  1888. 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
  1889. 0x73, 0x74, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1890. 0x44, 0x65, 0x66, 0x48, 0x00, 0x52, 0x10, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x75, 0x6e, 0x63,
  1891. 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x26, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18,
  1892. 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
  1893. 0x73, 0x74, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x48, 0x00, 0x52, 0x04, 0x50, 0x61, 0x73, 0x73, 0x12,
  1894. 0x26, 0x0a, 0x04, 0x64, 0x69, 0x63, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
  1895. 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x44, 0x69, 0x63, 0x74, 0x48,
  1896. 0x00, 0x52, 0x04, 0x44, 0x69, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x02, 0x69, 0x66, 0x18, 0x15, 0x20,
  1897. 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74,
  1898. 0x2e, 0x49, 0x66, 0x48, 0x00, 0x52, 0x02, 0x49, 0x66, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6d,
  1899. 0x70, 0x61, 0x72, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x79, 0x74,
  1900. 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x48,
  1901. 0x00, 0x52, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65,
  1902. 0x74, 0x75, 0x72, 0x6e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x79, 0x74,
  1903. 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x48, 0x00,
  1904. 0x52, 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x20, 0x0a, 0x02, 0x69, 0x73, 0x18, 0x18,
  1905. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73,
  1906. 0x74, 0x2e, 0x49, 0x73, 0x48, 0x00, 0x52, 0x02, 0x49, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x6b, 0x65,
  1907. 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x79,
  1908. 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
  1909. 0x48, 0x00, 0x52, 0x07, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x79,
  1910. 0x69, 0x65, 0x6c, 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x79, 0x74,
  1911. 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x59, 0x69, 0x65, 0x6c, 0x64, 0x48, 0x00, 0x52,
  1912. 0x05, 0x59, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x23, 0x0a, 0x03, 0x66, 0x6f, 0x72, 0x18, 0x1b, 0x20,
  1913. 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74,
  1914. 0x2e, 0x46, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x03, 0x46, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x05, 0x61,
  1915. 0x77, 0x61, 0x69, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x79, 0x74,
  1916. 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x77, 0x61, 0x69, 0x74, 0x48, 0x00, 0x52,
  1917. 0x05, 0x41, 0x77, 0x61, 0x69, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f,
  1918. 0x66, 0x6f, 0x72, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x79, 0x74, 0x68,
  1919. 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6f, 0x72, 0x48,
  1920. 0x00, 0x52, 0x08, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6f, 0x72, 0x12, 0x3c, 0x0a, 0x0c, 0x69,
  1921. 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x1e, 0x20, 0x01, 0x28,
  1922. 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x49,
  1923. 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x00, 0x52, 0x0b, 0x49, 0x6d,
  1924. 0x70, 0x6f, 0x72, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x06, 0x0a, 0x04, 0x6e, 0x6f, 0x64,
  1925. 0x65, 0x22, 0x1b, 0x0a, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  1926. 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2f,
  1927. 0x0a, 0x05, 0x41, 0x77, 0x61, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1928. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e,
  1929. 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
  1930. 0x47, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x05,
  1931. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
  1932. 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76,
  1933. 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x74, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01,
  1934. 0x28, 0x09, 0x52, 0x04, 0x61, 0x74, 0x74, 0x72, 0x22, 0x99, 0x01, 0x0a, 0x09, 0x41, 0x6e, 0x6e,
  1935. 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x28, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
  1936. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e,
  1937. 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
  1938. 0x12, 0x30, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
  1939. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73,
  1940. 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
  1941. 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,
  1942. 0x28, 0x05, 0x52, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f,
  1943. 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d,
  1944. 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x49, 0x0a, 0x03, 0x41, 0x72, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x61,
  1945. 0x72, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x12, 0x30, 0x0a,
  1946. 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
  1947. 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e,
  1948. 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  1949. 0x63, 0x0a, 0x09, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x04,
  1950. 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x79, 0x74,
  1951. 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x52, 0x04, 0x61, 0x72, 0x67,
  1952. 0x73, 0x12, 0x31, 0x0a, 0x0c, 0x6b, 0x77, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x61, 0x72, 0x67,
  1953. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e,
  1954. 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x52, 0x0a, 0x6b, 0x77, 0x6f, 0x6e, 0x6c, 0x79,
  1955. 0x61, 0x72, 0x67, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x08, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6f,
  1956. 0x72, 0x12, 0x28, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  1957. 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e,
  1958. 0x6f, 0x64, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x69,
  1959. 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68,
  1960. 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x69, 0x74, 0x65,
  1961. 0x72, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1962. 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64,
  1963. 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xa3, 0x01, 0x0a, 0x10, 0x41, 0x73, 0x79, 0x6e,
  1964. 0x63, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04,
  1965. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1966. 0x12, 0x29, 0x0a, 0x04, 0x41, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
  1967. 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x75,
  1968. 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x24, 0x0a, 0x04, 0x62,
  1969. 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68,
  1970. 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64,
  1971. 0x79, 0x12, 0x2a, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01,
  1972. 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
  1973. 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x22, 0x76, 0x0a,
  1974. 0x06, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x2a, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65,
  1975. 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
  1976. 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67,
  1977. 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
  1978. 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
  1979. 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43,
  1980. 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
  1981. 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x83, 0x01, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x24,
  1982. 0x0a, 0x04, 0x66, 0x75, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70,
  1983. 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04,
  1984. 0x66, 0x75, 0x6e, 0x63, 0x12, 0x24, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03,
  1985. 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
  1986. 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x2f, 0x0a, 0x08, 0x6b, 0x65,
  1987. 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70,
  1988. 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72,
  1989. 0x64, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x08,
  1990. 0x43, 0x6c, 0x61, 0x73, 0x73, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1991. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x05,
  1992. 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
  1993. 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x62,
  1994. 0x61, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73,
  1995. 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e,
  1996. 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72,
  1997. 0x64, 0x73, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
  1998. 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
  1999. 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x38, 0x0a, 0x0e, 0x64, 0x65, 0x63, 0x6f,
  2000. 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
  2001. 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
  2002. 0x64, 0x65, 0x52, 0x0e, 0x64, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x6c, 0x69,
  2003. 0x73, 0x74, 0x22, 0x1d, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a,
  2004. 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78,
  2005. 0x74, 0x22, 0x87, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x24, 0x0a,
  2006. 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
  2007. 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6c,
  2008. 0x65, 0x66, 0x74, 0x12, 0x22, 0x0a, 0x03, 0x6f, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
  2009. 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
  2010. 0x64, 0x65, 0x52, 0x03, 0x6f, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61,
  2011. 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70,
  2012. 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0b,
  2013. 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x22, 0x54, 0x0a, 0x08, 0x43,
  2014. 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x03, 0x73, 0x74, 0x72, 0x18, 0x01,
  2015. 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x12,
  2016. 0x0a, 0x03, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x03, 0x69,
  2017. 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
  2018. 0x48, 0x00, 0x52, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  2019. 0x65, 0x22, 0x56, 0x0a, 0x04, 0x44, 0x69, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x6b, 0x65, 0x79,
  2020. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e,
  2021. 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12,
  2022. 0x28, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2023. 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64,
  2024. 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x04, 0x45, 0x78, 0x70,
  2025. 0x72, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  2026. 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
  2027. 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7b, 0x0a, 0x03, 0x46, 0x6f, 0x72,
  2028. 0x12, 0x28, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  2029. 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
  2030. 0x64, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x69, 0x74,
  2031. 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
  2032. 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x69, 0x74, 0x65, 0x72,
  2033. 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10,
  2034. 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
  2035. 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x9e, 0x01, 0x0a, 0x0b, 0x46, 0x75, 0x6e, 0x63, 0x74,
  2036. 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  2037. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x41, 0x72,
  2038. 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
  2039. 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52,
  2040. 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20,
  2041. 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74,
  2042. 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x2a, 0x0a, 0x07, 0x72,
  2043. 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70,
  2044. 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07,
  2045. 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x02, 0x49, 0x66, 0x12, 0x24, 0x0a,
  2046. 0x04, 0x74, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
  2047. 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74,
  2048. 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28,
  2049. 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e,
  2050. 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x29, 0x0a, 0x07, 0x6f, 0x72, 0x5f,
  2051. 0x65, 0x6c, 0x73, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74,
  2052. 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x6f, 0x72,
  2053. 0x65, 0x6c, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x06, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x26,
  2054. 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e,
  2055. 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52,
  2056. 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x62, 0x0a, 0x0a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
  2057. 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01,
  2058. 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x05,
  2059. 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
  2060. 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e,
  2061. 0x61, 0x6d, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20,
  2062. 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x39, 0x0a, 0x0b, 0x49, 0x6d,
  2063. 0x70, 0x6f, 0x72, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x07, 0x69, 0x6d, 0x70,
  2064. 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74,
  2065. 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x69, 0x6d,
  2066. 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22, 0x04, 0x0a, 0x02, 0x49, 0x73, 0x22, 0x43, 0x0a, 0x07, 0x4b,
  2067. 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x18, 0x01, 0x20,
  2068. 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  2069. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e,
  2070. 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  2071. 0x22, 0x2e, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f,
  2072. 0x64, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
  2073. 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79,
  2074. 0x22, 0x16, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  2075. 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x06, 0x0a, 0x04, 0x50, 0x61, 0x73, 0x73,
  2076. 0x22, 0x30, 0x0a, 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61,
  2077. 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68,
  2078. 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c,
  2079. 0x75, 0x65, 0x22, 0x5b, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12,
  2080. 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10,
  2081. 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65,
  2082. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x63, 0x65,
  2083. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e,
  2084. 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x22,
  2085. 0x2f, 0x0a, 0x05, 0x59, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  2086. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e,
  2087. 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  2088. 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b,
  2089. 0x79, 0x6c, 0x65, 0x63, 0x6f, 0x6e, 0x72, 0x6f, 0x79, 0x2f, 0x73, 0x71, 0x6c, 0x63, 0x2f, 0x69,
  2090. 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2f, 0x61,
  2091. 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2092. }
  2093. var (
  2094. file_python_ast_proto_rawDescOnce sync.Once
  2095. file_python_ast_proto_rawDescData = file_python_ast_proto_rawDesc
  2096. )
  2097. func file_python_ast_proto_rawDescGZIP() []byte {
  2098. file_python_ast_proto_rawDescOnce.Do(func() {
  2099. file_python_ast_proto_rawDescData = protoimpl.X.CompressGZIP(file_python_ast_proto_rawDescData)
  2100. })
  2101. return file_python_ast_proto_rawDescData
  2102. }
  2103. var file_python_ast_proto_msgTypes = make([]protoimpl.MessageInfo, 31)
  2104. var file_python_ast_proto_goTypes = []interface{}{
  2105. (*Node)(nil), // 0: python.ast.Node
  2106. (*Alias)(nil), // 1: python.ast.Alias
  2107. (*Await)(nil), // 2: python.ast.Await
  2108. (*Attribute)(nil), // 3: python.ast.Attribute
  2109. (*AnnAssign)(nil), // 4: python.ast.AnnAssign
  2110. (*Arg)(nil), // 5: python.ast.Arg
  2111. (*Arguments)(nil), // 6: python.ast.Arguments
  2112. (*AsyncFor)(nil), // 7: python.ast.AsyncFor
  2113. (*AsyncFunctionDef)(nil), // 8: python.ast.AsyncFunctionDef
  2114. (*Assign)(nil), // 9: python.ast.Assign
  2115. (*Call)(nil), // 10: python.ast.Call
  2116. (*ClassDef)(nil), // 11: python.ast.ClassDef
  2117. (*Comment)(nil), // 12: python.ast.Comment
  2118. (*Compare)(nil), // 13: python.ast.Compare
  2119. (*Constant)(nil), // 14: python.ast.Constant
  2120. (*Dict)(nil), // 15: python.ast.Dict
  2121. (*Expr)(nil), // 16: python.ast.Expr
  2122. (*For)(nil), // 17: python.ast.For
  2123. (*FunctionDef)(nil), // 18: python.ast.FunctionDef
  2124. (*If)(nil), // 19: python.ast.If
  2125. (*Import)(nil), // 20: python.ast.Import
  2126. (*ImportFrom)(nil), // 21: python.ast.ImportFrom
  2127. (*ImportGroup)(nil), // 22: python.ast.ImportGroup
  2128. (*Is)(nil), // 23: python.ast.Is
  2129. (*Keyword)(nil), // 24: python.ast.Keyword
  2130. (*Module)(nil), // 25: python.ast.Module
  2131. (*Name)(nil), // 26: python.ast.Name
  2132. (*Pass)(nil), // 27: python.ast.Pass
  2133. (*Return)(nil), // 28: python.ast.Return
  2134. (*Subscript)(nil), // 29: python.ast.Subscript
  2135. (*Yield)(nil), // 30: python.ast.Yield
  2136. }
  2137. var file_python_ast_proto_depIdxs = []int32{
  2138. 11, // 0: python.ast.Node.class_def:type_name -> python.ast.ClassDef
  2139. 20, // 1: python.ast.Node.import:type_name -> python.ast.Import
  2140. 21, // 2: python.ast.Node.import_from:type_name -> python.ast.ImportFrom
  2141. 25, // 3: python.ast.Node.module:type_name -> python.ast.Module
  2142. 1, // 4: python.ast.Node.alias:type_name -> python.ast.Alias
  2143. 4, // 5: python.ast.Node.ann_assign:type_name -> python.ast.AnnAssign
  2144. 26, // 6: python.ast.Node.name:type_name -> python.ast.Name
  2145. 29, // 7: python.ast.Node.subscript:type_name -> python.ast.Subscript
  2146. 3, // 8: python.ast.Node.attribute:type_name -> python.ast.Attribute
  2147. 14, // 9: python.ast.Node.constant:type_name -> python.ast.Constant
  2148. 9, // 10: python.ast.Node.assign:type_name -> python.ast.Assign
  2149. 12, // 11: python.ast.Node.comment:type_name -> python.ast.Comment
  2150. 16, // 12: python.ast.Node.expr:type_name -> python.ast.Expr
  2151. 10, // 13: python.ast.Node.call:type_name -> python.ast.Call
  2152. 18, // 14: python.ast.Node.function_def:type_name -> python.ast.FunctionDef
  2153. 5, // 15: python.ast.Node.arg:type_name -> python.ast.Arg
  2154. 6, // 16: python.ast.Node.arguments:type_name -> python.ast.Arguments
  2155. 8, // 17: python.ast.Node.async_function_def:type_name -> python.ast.AsyncFunctionDef
  2156. 27, // 18: python.ast.Node.pass:type_name -> python.ast.Pass
  2157. 15, // 19: python.ast.Node.dict:type_name -> python.ast.Dict
  2158. 19, // 20: python.ast.Node.if:type_name -> python.ast.If
  2159. 13, // 21: python.ast.Node.compare:type_name -> python.ast.Compare
  2160. 28, // 22: python.ast.Node.return:type_name -> python.ast.Return
  2161. 23, // 23: python.ast.Node.is:type_name -> python.ast.Is
  2162. 24, // 24: python.ast.Node.keyword:type_name -> python.ast.Keyword
  2163. 30, // 25: python.ast.Node.yield:type_name -> python.ast.Yield
  2164. 17, // 26: python.ast.Node.for:type_name -> python.ast.For
  2165. 2, // 27: python.ast.Node.await:type_name -> python.ast.Await
  2166. 7, // 28: python.ast.Node.async_for:type_name -> python.ast.AsyncFor
  2167. 22, // 29: python.ast.Node.import_group:type_name -> python.ast.ImportGroup
  2168. 0, // 30: python.ast.Await.value:type_name -> python.ast.Node
  2169. 0, // 31: python.ast.Attribute.value:type_name -> python.ast.Node
  2170. 26, // 32: python.ast.AnnAssign.target:type_name -> python.ast.Name
  2171. 0, // 33: python.ast.AnnAssign.annotation:type_name -> python.ast.Node
  2172. 0, // 34: python.ast.Arg.annotation:type_name -> python.ast.Node
  2173. 5, // 35: python.ast.Arguments.args:type_name -> python.ast.Arg
  2174. 5, // 36: python.ast.Arguments.kw_only_args:type_name -> python.ast.Arg
  2175. 0, // 37: python.ast.AsyncFor.target:type_name -> python.ast.Node
  2176. 0, // 38: python.ast.AsyncFor.iter:type_name -> python.ast.Node
  2177. 0, // 39: python.ast.AsyncFor.body:type_name -> python.ast.Node
  2178. 6, // 40: python.ast.AsyncFunctionDef.Args:type_name -> python.ast.Arguments
  2179. 0, // 41: python.ast.AsyncFunctionDef.body:type_name -> python.ast.Node
  2180. 0, // 42: python.ast.AsyncFunctionDef.returns:type_name -> python.ast.Node
  2181. 0, // 43: python.ast.Assign.targets:type_name -> python.ast.Node
  2182. 0, // 44: python.ast.Assign.value:type_name -> python.ast.Node
  2183. 0, // 45: python.ast.Call.func:type_name -> python.ast.Node
  2184. 0, // 46: python.ast.Call.args:type_name -> python.ast.Node
  2185. 24, // 47: python.ast.Call.keywords:type_name -> python.ast.Keyword
  2186. 0, // 48: python.ast.ClassDef.bases:type_name -> python.ast.Node
  2187. 0, // 49: python.ast.ClassDef.keywords:type_name -> python.ast.Node
  2188. 0, // 50: python.ast.ClassDef.body:type_name -> python.ast.Node
  2189. 0, // 51: python.ast.ClassDef.decorator_list:type_name -> python.ast.Node
  2190. 0, // 52: python.ast.Compare.left:type_name -> python.ast.Node
  2191. 0, // 53: python.ast.Compare.ops:type_name -> python.ast.Node
  2192. 0, // 54: python.ast.Compare.comparators:type_name -> python.ast.Node
  2193. 0, // 55: python.ast.Dict.keys:type_name -> python.ast.Node
  2194. 0, // 56: python.ast.Dict.values:type_name -> python.ast.Node
  2195. 0, // 57: python.ast.Expr.value:type_name -> python.ast.Node
  2196. 0, // 58: python.ast.For.target:type_name -> python.ast.Node
  2197. 0, // 59: python.ast.For.iter:type_name -> python.ast.Node
  2198. 0, // 60: python.ast.For.body:type_name -> python.ast.Node
  2199. 6, // 61: python.ast.FunctionDef.Args:type_name -> python.ast.Arguments
  2200. 0, // 62: python.ast.FunctionDef.body:type_name -> python.ast.Node
  2201. 0, // 63: python.ast.FunctionDef.returns:type_name -> python.ast.Node
  2202. 0, // 64: python.ast.If.test:type_name -> python.ast.Node
  2203. 0, // 65: python.ast.If.body:type_name -> python.ast.Node
  2204. 0, // 66: python.ast.If.or_else:type_name -> python.ast.Node
  2205. 0, // 67: python.ast.Import.names:type_name -> python.ast.Node
  2206. 0, // 68: python.ast.ImportFrom.names:type_name -> python.ast.Node
  2207. 0, // 69: python.ast.ImportGroup.imports:type_name -> python.ast.Node
  2208. 0, // 70: python.ast.Keyword.value:type_name -> python.ast.Node
  2209. 0, // 71: python.ast.Module.body:type_name -> python.ast.Node
  2210. 0, // 72: python.ast.Return.value:type_name -> python.ast.Node
  2211. 26, // 73: python.ast.Subscript.value:type_name -> python.ast.Name
  2212. 0, // 74: python.ast.Subscript.slice:type_name -> python.ast.Node
  2213. 0, // 75: python.ast.Yield.value:type_name -> python.ast.Node
  2214. 76, // [76:76] is the sub-list for method output_type
  2215. 76, // [76:76] is the sub-list for method input_type
  2216. 76, // [76:76] is the sub-list for extension type_name
  2217. 76, // [76:76] is the sub-list for extension extendee
  2218. 0, // [0:76] is the sub-list for field type_name
  2219. }
  2220. func init() { file_python_ast_proto_init() }
  2221. func file_python_ast_proto_init() {
  2222. if File_python_ast_proto != nil {
  2223. return
  2224. }
  2225. if !protoimpl.UnsafeEnabled {
  2226. file_python_ast_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  2227. switch v := v.(*Node); i {
  2228. case 0:
  2229. return &v.state
  2230. case 1:
  2231. return &v.sizeCache
  2232. case 2:
  2233. return &v.unknownFields
  2234. default:
  2235. return nil
  2236. }
  2237. }
  2238. file_python_ast_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  2239. switch v := v.(*Alias); i {
  2240. case 0:
  2241. return &v.state
  2242. case 1:
  2243. return &v.sizeCache
  2244. case 2:
  2245. return &v.unknownFields
  2246. default:
  2247. return nil
  2248. }
  2249. }
  2250. file_python_ast_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  2251. switch v := v.(*Await); i {
  2252. case 0:
  2253. return &v.state
  2254. case 1:
  2255. return &v.sizeCache
  2256. case 2:
  2257. return &v.unknownFields
  2258. default:
  2259. return nil
  2260. }
  2261. }
  2262. file_python_ast_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  2263. switch v := v.(*Attribute); i {
  2264. case 0:
  2265. return &v.state
  2266. case 1:
  2267. return &v.sizeCache
  2268. case 2:
  2269. return &v.unknownFields
  2270. default:
  2271. return nil
  2272. }
  2273. }
  2274. file_python_ast_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  2275. switch v := v.(*AnnAssign); i {
  2276. case 0:
  2277. return &v.state
  2278. case 1:
  2279. return &v.sizeCache
  2280. case 2:
  2281. return &v.unknownFields
  2282. default:
  2283. return nil
  2284. }
  2285. }
  2286. file_python_ast_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  2287. switch v := v.(*Arg); i {
  2288. case 0:
  2289. return &v.state
  2290. case 1:
  2291. return &v.sizeCache
  2292. case 2:
  2293. return &v.unknownFields
  2294. default:
  2295. return nil
  2296. }
  2297. }
  2298. file_python_ast_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  2299. switch v := v.(*Arguments); i {
  2300. case 0:
  2301. return &v.state
  2302. case 1:
  2303. return &v.sizeCache
  2304. case 2:
  2305. return &v.unknownFields
  2306. default:
  2307. return nil
  2308. }
  2309. }
  2310. file_python_ast_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  2311. switch v := v.(*AsyncFor); i {
  2312. case 0:
  2313. return &v.state
  2314. case 1:
  2315. return &v.sizeCache
  2316. case 2:
  2317. return &v.unknownFields
  2318. default:
  2319. return nil
  2320. }
  2321. }
  2322. file_python_ast_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  2323. switch v := v.(*AsyncFunctionDef); i {
  2324. case 0:
  2325. return &v.state
  2326. case 1:
  2327. return &v.sizeCache
  2328. case 2:
  2329. return &v.unknownFields
  2330. default:
  2331. return nil
  2332. }
  2333. }
  2334. file_python_ast_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  2335. switch v := v.(*Assign); i {
  2336. case 0:
  2337. return &v.state
  2338. case 1:
  2339. return &v.sizeCache
  2340. case 2:
  2341. return &v.unknownFields
  2342. default:
  2343. return nil
  2344. }
  2345. }
  2346. file_python_ast_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  2347. switch v := v.(*Call); i {
  2348. case 0:
  2349. return &v.state
  2350. case 1:
  2351. return &v.sizeCache
  2352. case 2:
  2353. return &v.unknownFields
  2354. default:
  2355. return nil
  2356. }
  2357. }
  2358. file_python_ast_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  2359. switch v := v.(*ClassDef); i {
  2360. case 0:
  2361. return &v.state
  2362. case 1:
  2363. return &v.sizeCache
  2364. case 2:
  2365. return &v.unknownFields
  2366. default:
  2367. return nil
  2368. }
  2369. }
  2370. file_python_ast_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  2371. switch v := v.(*Comment); i {
  2372. case 0:
  2373. return &v.state
  2374. case 1:
  2375. return &v.sizeCache
  2376. case 2:
  2377. return &v.unknownFields
  2378. default:
  2379. return nil
  2380. }
  2381. }
  2382. file_python_ast_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  2383. switch v := v.(*Compare); i {
  2384. case 0:
  2385. return &v.state
  2386. case 1:
  2387. return &v.sizeCache
  2388. case 2:
  2389. return &v.unknownFields
  2390. default:
  2391. return nil
  2392. }
  2393. }
  2394. file_python_ast_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  2395. switch v := v.(*Constant); i {
  2396. case 0:
  2397. return &v.state
  2398. case 1:
  2399. return &v.sizeCache
  2400. case 2:
  2401. return &v.unknownFields
  2402. default:
  2403. return nil
  2404. }
  2405. }
  2406. file_python_ast_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  2407. switch v := v.(*Dict); i {
  2408. case 0:
  2409. return &v.state
  2410. case 1:
  2411. return &v.sizeCache
  2412. case 2:
  2413. return &v.unknownFields
  2414. default:
  2415. return nil
  2416. }
  2417. }
  2418. file_python_ast_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  2419. switch v := v.(*Expr); i {
  2420. case 0:
  2421. return &v.state
  2422. case 1:
  2423. return &v.sizeCache
  2424. case 2:
  2425. return &v.unknownFields
  2426. default:
  2427. return nil
  2428. }
  2429. }
  2430. file_python_ast_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  2431. switch v := v.(*For); i {
  2432. case 0:
  2433. return &v.state
  2434. case 1:
  2435. return &v.sizeCache
  2436. case 2:
  2437. return &v.unknownFields
  2438. default:
  2439. return nil
  2440. }
  2441. }
  2442. file_python_ast_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  2443. switch v := v.(*FunctionDef); i {
  2444. case 0:
  2445. return &v.state
  2446. case 1:
  2447. return &v.sizeCache
  2448. case 2:
  2449. return &v.unknownFields
  2450. default:
  2451. return nil
  2452. }
  2453. }
  2454. file_python_ast_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  2455. switch v := v.(*If); i {
  2456. case 0:
  2457. return &v.state
  2458. case 1:
  2459. return &v.sizeCache
  2460. case 2:
  2461. return &v.unknownFields
  2462. default:
  2463. return nil
  2464. }
  2465. }
  2466. file_python_ast_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  2467. switch v := v.(*Import); i {
  2468. case 0:
  2469. return &v.state
  2470. case 1:
  2471. return &v.sizeCache
  2472. case 2:
  2473. return &v.unknownFields
  2474. default:
  2475. return nil
  2476. }
  2477. }
  2478. file_python_ast_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  2479. switch v := v.(*ImportFrom); i {
  2480. case 0:
  2481. return &v.state
  2482. case 1:
  2483. return &v.sizeCache
  2484. case 2:
  2485. return &v.unknownFields
  2486. default:
  2487. return nil
  2488. }
  2489. }
  2490. file_python_ast_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  2491. switch v := v.(*ImportGroup); i {
  2492. case 0:
  2493. return &v.state
  2494. case 1:
  2495. return &v.sizeCache
  2496. case 2:
  2497. return &v.unknownFields
  2498. default:
  2499. return nil
  2500. }
  2501. }
  2502. file_python_ast_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  2503. switch v := v.(*Is); i {
  2504. case 0:
  2505. return &v.state
  2506. case 1:
  2507. return &v.sizeCache
  2508. case 2:
  2509. return &v.unknownFields
  2510. default:
  2511. return nil
  2512. }
  2513. }
  2514. file_python_ast_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  2515. switch v := v.(*Keyword); i {
  2516. case 0:
  2517. return &v.state
  2518. case 1:
  2519. return &v.sizeCache
  2520. case 2:
  2521. return &v.unknownFields
  2522. default:
  2523. return nil
  2524. }
  2525. }
  2526. file_python_ast_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  2527. switch v := v.(*Module); i {
  2528. case 0:
  2529. return &v.state
  2530. case 1:
  2531. return &v.sizeCache
  2532. case 2:
  2533. return &v.unknownFields
  2534. default:
  2535. return nil
  2536. }
  2537. }
  2538. file_python_ast_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  2539. switch v := v.(*Name); i {
  2540. case 0:
  2541. return &v.state
  2542. case 1:
  2543. return &v.sizeCache
  2544. case 2:
  2545. return &v.unknownFields
  2546. default:
  2547. return nil
  2548. }
  2549. }
  2550. file_python_ast_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  2551. switch v := v.(*Pass); i {
  2552. case 0:
  2553. return &v.state
  2554. case 1:
  2555. return &v.sizeCache
  2556. case 2:
  2557. return &v.unknownFields
  2558. default:
  2559. return nil
  2560. }
  2561. }
  2562. file_python_ast_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  2563. switch v := v.(*Return); i {
  2564. case 0:
  2565. return &v.state
  2566. case 1:
  2567. return &v.sizeCache
  2568. case 2:
  2569. return &v.unknownFields
  2570. default:
  2571. return nil
  2572. }
  2573. }
  2574. file_python_ast_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  2575. switch v := v.(*Subscript); i {
  2576. case 0:
  2577. return &v.state
  2578. case 1:
  2579. return &v.sizeCache
  2580. case 2:
  2581. return &v.unknownFields
  2582. default:
  2583. return nil
  2584. }
  2585. }
  2586. file_python_ast_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  2587. switch v := v.(*Yield); i {
  2588. case 0:
  2589. return &v.state
  2590. case 1:
  2591. return &v.sizeCache
  2592. case 2:
  2593. return &v.unknownFields
  2594. default:
  2595. return nil
  2596. }
  2597. }
  2598. }
  2599. file_python_ast_proto_msgTypes[0].OneofWrappers = []interface{}{
  2600. (*Node_ClassDef)(nil),
  2601. (*Node_Import)(nil),
  2602. (*Node_ImportFrom)(nil),
  2603. (*Node_Module)(nil),
  2604. (*Node_Alias)(nil),
  2605. (*Node_AnnAssign)(nil),
  2606. (*Node_Name)(nil),
  2607. (*Node_Subscript)(nil),
  2608. (*Node_Attribute)(nil),
  2609. (*Node_Constant)(nil),
  2610. (*Node_Assign)(nil),
  2611. (*Node_Comment)(nil),
  2612. (*Node_Expr)(nil),
  2613. (*Node_Call)(nil),
  2614. (*Node_FunctionDef)(nil),
  2615. (*Node_Arg)(nil),
  2616. (*Node_Arguments)(nil),
  2617. (*Node_AsyncFunctionDef)(nil),
  2618. (*Node_Pass)(nil),
  2619. (*Node_Dict)(nil),
  2620. (*Node_If)(nil),
  2621. (*Node_Compare)(nil),
  2622. (*Node_Return)(nil),
  2623. (*Node_Is)(nil),
  2624. (*Node_Keyword)(nil),
  2625. (*Node_Yield)(nil),
  2626. (*Node_For)(nil),
  2627. (*Node_Await)(nil),
  2628. (*Node_AsyncFor)(nil),
  2629. (*Node_ImportGroup)(nil),
  2630. }
  2631. file_python_ast_proto_msgTypes[14].OneofWrappers = []interface{}{
  2632. (*Constant_Str)(nil),
  2633. (*Constant_Int)(nil),
  2634. (*Constant_None)(nil),
  2635. }
  2636. type x struct{}
  2637. out := protoimpl.TypeBuilder{
  2638. File: protoimpl.DescBuilder{
  2639. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2640. RawDescriptor: file_python_ast_proto_rawDesc,
  2641. NumEnums: 0,
  2642. NumMessages: 31,
  2643. NumExtensions: 0,
  2644. NumServices: 0,
  2645. },
  2646. GoTypes: file_python_ast_proto_goTypes,
  2647. DependencyIndexes: file_python_ast_proto_depIdxs,
  2648. MessageInfos: file_python_ast_proto_msgTypes,
  2649. }.Build()
  2650. File_python_ast_proto = out.File
  2651. file_python_ast_proto_rawDesc = nil
  2652. file_python_ast_proto_goTypes = nil
  2653. file_python_ast_proto_depIdxs = nil
  2654. }