12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.27.1
- // protoc v3.19.1
- // source: python/ast.proto
- package ast
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type Node struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Types that are assignable to Node:
- // *Node_ClassDef
- // *Node_Import
- // *Node_ImportFrom
- // *Node_Module
- // *Node_Alias
- // *Node_AnnAssign
- // *Node_Name
- // *Node_Subscript
- // *Node_Attribute
- // *Node_Constant
- // *Node_Assign
- // *Node_Comment
- // *Node_Expr
- // *Node_Call
- // *Node_FunctionDef
- // *Node_Arg
- // *Node_Arguments
- // *Node_AsyncFunctionDef
- // *Node_Pass
- // *Node_Dict
- // *Node_If
- // *Node_Compare
- // *Node_Return
- // *Node_Is
- // *Node_Keyword
- // *Node_Yield
- // *Node_For
- // *Node_Await
- // *Node_AsyncFor
- // *Node_ImportGroup
- Node isNode_Node `protobuf_oneof:"node"`
- }
- func (x *Node) Reset() {
- *x = Node{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Node) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Node) ProtoMessage() {}
- func (x *Node) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Node.ProtoReflect.Descriptor instead.
- func (*Node) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{0}
- }
- func (m *Node) GetNode() isNode_Node {
- if m != nil {
- return m.Node
- }
- return nil
- }
- func (x *Node) GetClassDef() *ClassDef {
- if x, ok := x.GetNode().(*Node_ClassDef); ok {
- return x.ClassDef
- }
- return nil
- }
- func (x *Node) GetImport() *Import {
- if x, ok := x.GetNode().(*Node_Import); ok {
- return x.Import
- }
- return nil
- }
- func (x *Node) GetImportFrom() *ImportFrom {
- if x, ok := x.GetNode().(*Node_ImportFrom); ok {
- return x.ImportFrom
- }
- return nil
- }
- func (x *Node) GetModule() *Module {
- if x, ok := x.GetNode().(*Node_Module); ok {
- return x.Module
- }
- return nil
- }
- func (x *Node) GetAlias() *Alias {
- if x, ok := x.GetNode().(*Node_Alias); ok {
- return x.Alias
- }
- return nil
- }
- func (x *Node) GetAnnAssign() *AnnAssign {
- if x, ok := x.GetNode().(*Node_AnnAssign); ok {
- return x.AnnAssign
- }
- return nil
- }
- func (x *Node) GetName() *Name {
- if x, ok := x.GetNode().(*Node_Name); ok {
- return x.Name
- }
- return nil
- }
- func (x *Node) GetSubscript() *Subscript {
- if x, ok := x.GetNode().(*Node_Subscript); ok {
- return x.Subscript
- }
- return nil
- }
- func (x *Node) GetAttribute() *Attribute {
- if x, ok := x.GetNode().(*Node_Attribute); ok {
- return x.Attribute
- }
- return nil
- }
- func (x *Node) GetConstant() *Constant {
- if x, ok := x.GetNode().(*Node_Constant); ok {
- return x.Constant
- }
- return nil
- }
- func (x *Node) GetAssign() *Assign {
- if x, ok := x.GetNode().(*Node_Assign); ok {
- return x.Assign
- }
- return nil
- }
- func (x *Node) GetComment() *Comment {
- if x, ok := x.GetNode().(*Node_Comment); ok {
- return x.Comment
- }
- return nil
- }
- func (x *Node) GetExpr() *Expr {
- if x, ok := x.GetNode().(*Node_Expr); ok {
- return x.Expr
- }
- return nil
- }
- func (x *Node) GetCall() *Call {
- if x, ok := x.GetNode().(*Node_Call); ok {
- return x.Call
- }
- return nil
- }
- func (x *Node) GetFunctionDef() *FunctionDef {
- if x, ok := x.GetNode().(*Node_FunctionDef); ok {
- return x.FunctionDef
- }
- return nil
- }
- func (x *Node) GetArg() *Arg {
- if x, ok := x.GetNode().(*Node_Arg); ok {
- return x.Arg
- }
- return nil
- }
- func (x *Node) GetArguments() *Arguments {
- if x, ok := x.GetNode().(*Node_Arguments); ok {
- return x.Arguments
- }
- return nil
- }
- func (x *Node) GetAsyncFunctionDef() *AsyncFunctionDef {
- if x, ok := x.GetNode().(*Node_AsyncFunctionDef); ok {
- return x.AsyncFunctionDef
- }
- return nil
- }
- func (x *Node) GetPass() *Pass {
- if x, ok := x.GetNode().(*Node_Pass); ok {
- return x.Pass
- }
- return nil
- }
- func (x *Node) GetDict() *Dict {
- if x, ok := x.GetNode().(*Node_Dict); ok {
- return x.Dict
- }
- return nil
- }
- func (x *Node) GetIf() *If {
- if x, ok := x.GetNode().(*Node_If); ok {
- return x.If
- }
- return nil
- }
- func (x *Node) GetCompare() *Compare {
- if x, ok := x.GetNode().(*Node_Compare); ok {
- return x.Compare
- }
- return nil
- }
- func (x *Node) GetReturn() *Return {
- if x, ok := x.GetNode().(*Node_Return); ok {
- return x.Return
- }
- return nil
- }
- func (x *Node) GetIs() *Is {
- if x, ok := x.GetNode().(*Node_Is); ok {
- return x.Is
- }
- return nil
- }
- func (x *Node) GetKeyword() *Keyword {
- if x, ok := x.GetNode().(*Node_Keyword); ok {
- return x.Keyword
- }
- return nil
- }
- func (x *Node) GetYield() *Yield {
- if x, ok := x.GetNode().(*Node_Yield); ok {
- return x.Yield
- }
- return nil
- }
- func (x *Node) GetFor() *For {
- if x, ok := x.GetNode().(*Node_For); ok {
- return x.For
- }
- return nil
- }
- func (x *Node) GetAwait() *Await {
- if x, ok := x.GetNode().(*Node_Await); ok {
- return x.Await
- }
- return nil
- }
- func (x *Node) GetAsyncFor() *AsyncFor {
- if x, ok := x.GetNode().(*Node_AsyncFor); ok {
- return x.AsyncFor
- }
- return nil
- }
- func (x *Node) GetImportGroup() *ImportGroup {
- if x, ok := x.GetNode().(*Node_ImportGroup); ok {
- return x.ImportGroup
- }
- return nil
- }
- type isNode_Node interface {
- isNode_Node()
- }
- type Node_ClassDef struct {
- ClassDef *ClassDef `protobuf:"bytes,1,opt,name=class_def,json=ClassDef,proto3,oneof"`
- }
- type Node_Import struct {
- Import *Import `protobuf:"bytes,2,opt,name=import,json=Import,proto3,oneof"`
- }
- type Node_ImportFrom struct {
- ImportFrom *ImportFrom `protobuf:"bytes,3,opt,name=import_from,json=ImportFrom,proto3,oneof"`
- }
- type Node_Module struct {
- Module *Module `protobuf:"bytes,4,opt,name=module,json=Module,proto3,oneof"`
- }
- type Node_Alias struct {
- Alias *Alias `protobuf:"bytes,5,opt,name=alias,json=Alias,proto3,oneof"`
- }
- type Node_AnnAssign struct {
- AnnAssign *AnnAssign `protobuf:"bytes,6,opt,name=ann_assign,json=AnnAssign,proto3,oneof"`
- }
- type Node_Name struct {
- Name *Name `protobuf:"bytes,7,opt,name=name,json=Name,proto3,oneof"`
- }
- type Node_Subscript struct {
- Subscript *Subscript `protobuf:"bytes,8,opt,name=subscript,json=Subscript,proto3,oneof"`
- }
- type Node_Attribute struct {
- Attribute *Attribute `protobuf:"bytes,9,opt,name=attribute,json=Attribute,proto3,oneof"`
- }
- type Node_Constant struct {
- Constant *Constant `protobuf:"bytes,10,opt,name=constant,json=Constant,proto3,oneof"`
- }
- type Node_Assign struct {
- Assign *Assign `protobuf:"bytes,11,opt,name=assign,json=Assign,proto3,oneof"`
- }
- type Node_Comment struct {
- Comment *Comment `protobuf:"bytes,12,opt,name=comment,json=Comment,proto3,oneof"`
- }
- type Node_Expr struct {
- Expr *Expr `protobuf:"bytes,13,opt,name=expr,json=Expr,proto3,oneof"`
- }
- type Node_Call struct {
- Call *Call `protobuf:"bytes,14,opt,name=call,json=Call,proto3,oneof"`
- }
- type Node_FunctionDef struct {
- FunctionDef *FunctionDef `protobuf:"bytes,15,opt,name=function_def,json=FunctionDef,proto3,oneof"`
- }
- type Node_Arg struct {
- Arg *Arg `protobuf:"bytes,16,opt,name=arg,json=Arg,proto3,oneof"`
- }
- type Node_Arguments struct {
- Arguments *Arguments `protobuf:"bytes,17,opt,name=arguments,json=Arguments,proto3,oneof"`
- }
- type Node_AsyncFunctionDef struct {
- AsyncFunctionDef *AsyncFunctionDef `protobuf:"bytes,18,opt,name=async_function_def,json=AsyncFunctionDef,proto3,oneof"`
- }
- type Node_Pass struct {
- Pass *Pass `protobuf:"bytes,19,opt,name=pass,json=Pass,proto3,oneof"`
- }
- type Node_Dict struct {
- Dict *Dict `protobuf:"bytes,20,opt,name=dict,json=Dict,proto3,oneof"`
- }
- type Node_If struct {
- If *If `protobuf:"bytes,21,opt,name=if,json=If,proto3,oneof"`
- }
- type Node_Compare struct {
- Compare *Compare `protobuf:"bytes,22,opt,name=compare,json=Compare,proto3,oneof"`
- }
- type Node_Return struct {
- Return *Return `protobuf:"bytes,23,opt,name=return,json=Return,proto3,oneof"`
- }
- type Node_Is struct {
- Is *Is `protobuf:"bytes,24,opt,name=is,json=Is,proto3,oneof"`
- }
- type Node_Keyword struct {
- Keyword *Keyword `protobuf:"bytes,25,opt,name=keyword,json=Keyword,proto3,oneof"`
- }
- type Node_Yield struct {
- Yield *Yield `protobuf:"bytes,26,opt,name=yield,json=Yield,proto3,oneof"`
- }
- type Node_For struct {
- For *For `protobuf:"bytes,27,opt,name=for,json=For,proto3,oneof"`
- }
- type Node_Await struct {
- Await *Await `protobuf:"bytes,28,opt,name=await,json=Await,proto3,oneof"`
- }
- type Node_AsyncFor struct {
- AsyncFor *AsyncFor `protobuf:"bytes,29,opt,name=async_for,json=AsyncFor,proto3,oneof"`
- }
- type Node_ImportGroup struct {
- ImportGroup *ImportGroup `protobuf:"bytes,30,opt,name=import_group,json=ImportGroup,proto3,oneof"`
- }
- func (*Node_ClassDef) isNode_Node() {}
- func (*Node_Import) isNode_Node() {}
- func (*Node_ImportFrom) isNode_Node() {}
- func (*Node_Module) isNode_Node() {}
- func (*Node_Alias) isNode_Node() {}
- func (*Node_AnnAssign) isNode_Node() {}
- func (*Node_Name) isNode_Node() {}
- func (*Node_Subscript) isNode_Node() {}
- func (*Node_Attribute) isNode_Node() {}
- func (*Node_Constant) isNode_Node() {}
- func (*Node_Assign) isNode_Node() {}
- func (*Node_Comment) isNode_Node() {}
- func (*Node_Expr) isNode_Node() {}
- func (*Node_Call) isNode_Node() {}
- func (*Node_FunctionDef) isNode_Node() {}
- func (*Node_Arg) isNode_Node() {}
- func (*Node_Arguments) isNode_Node() {}
- func (*Node_AsyncFunctionDef) isNode_Node() {}
- func (*Node_Pass) isNode_Node() {}
- func (*Node_Dict) isNode_Node() {}
- func (*Node_If) isNode_Node() {}
- func (*Node_Compare) isNode_Node() {}
- func (*Node_Return) isNode_Node() {}
- func (*Node_Is) isNode_Node() {}
- func (*Node_Keyword) isNode_Node() {}
- func (*Node_Yield) isNode_Node() {}
- func (*Node_For) isNode_Node() {}
- func (*Node_Await) isNode_Node() {}
- func (*Node_AsyncFor) isNode_Node() {}
- func (*Node_ImportGroup) isNode_Node() {}
- type Alias struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- }
- func (x *Alias) Reset() {
- *x = Alias{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Alias) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Alias) ProtoMessage() {}
- func (x *Alias) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Alias.ProtoReflect.Descriptor instead.
- func (*Alias) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{1}
- }
- func (x *Alias) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- type Await struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
- }
- func (x *Await) Reset() {
- *x = Await{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Await) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Await) ProtoMessage() {}
- func (x *Await) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Await.ProtoReflect.Descriptor instead.
- func (*Await) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{2}
- }
- func (x *Await) GetValue() *Node {
- if x != nil {
- return x.Value
- }
- return nil
- }
- type Attribute struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
- Attr string `protobuf:"bytes,2,opt,name=attr,proto3" json:"attr,omitempty"`
- }
- func (x *Attribute) Reset() {
- *x = Attribute{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Attribute) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Attribute) ProtoMessage() {}
- func (x *Attribute) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Attribute.ProtoReflect.Descriptor instead.
- func (*Attribute) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{3}
- }
- func (x *Attribute) GetValue() *Node {
- if x != nil {
- return x.Value
- }
- return nil
- }
- func (x *Attribute) GetAttr() string {
- if x != nil {
- return x.Attr
- }
- return ""
- }
- type AnnAssign struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Target *Name `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
- Annotation *Node `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"`
- Simple int32 `protobuf:"varint,3,opt,name=simple,proto3" json:"simple,omitempty"`
- Comment string `protobuf:"bytes,4,opt,name=Comment,json=comment,proto3" json:"Comment,omitempty"`
- }
- func (x *AnnAssign) Reset() {
- *x = AnnAssign{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AnnAssign) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AnnAssign) ProtoMessage() {}
- func (x *AnnAssign) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use AnnAssign.ProtoReflect.Descriptor instead.
- func (*AnnAssign) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{4}
- }
- func (x *AnnAssign) GetTarget() *Name {
- if x != nil {
- return x.Target
- }
- return nil
- }
- func (x *AnnAssign) GetAnnotation() *Node {
- if x != nil {
- return x.Annotation
- }
- return nil
- }
- func (x *AnnAssign) GetSimple() int32 {
- if x != nil {
- return x.Simple
- }
- return 0
- }
- func (x *AnnAssign) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
- }
- type Arg struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Arg string `protobuf:"bytes,1,opt,name=arg,proto3" json:"arg,omitempty"`
- Annotation *Node `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"`
- }
- func (x *Arg) Reset() {
- *x = Arg{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Arg) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Arg) ProtoMessage() {}
- func (x *Arg) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Arg.ProtoReflect.Descriptor instead.
- func (*Arg) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{5}
- }
- func (x *Arg) GetArg() string {
- if x != nil {
- return x.Arg
- }
- return ""
- }
- func (x *Arg) GetAnnotation() *Node {
- if x != nil {
- return x.Annotation
- }
- return nil
- }
- type Arguments struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Args []*Arg `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
- KwOnlyArgs []*Arg `protobuf:"bytes,2,rep,name=kw_only_args,json=kwonlyargs,proto3" json:"kw_only_args,omitempty"`
- }
- func (x *Arguments) Reset() {
- *x = Arguments{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Arguments) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Arguments) ProtoMessage() {}
- func (x *Arguments) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Arguments.ProtoReflect.Descriptor instead.
- func (*Arguments) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{6}
- }
- func (x *Arguments) GetArgs() []*Arg {
- if x != nil {
- return x.Args
- }
- return nil
- }
- func (x *Arguments) GetKwOnlyArgs() []*Arg {
- if x != nil {
- return x.KwOnlyArgs
- }
- return nil
- }
- type AsyncFor struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Target *Node `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
- Iter *Node `protobuf:"bytes,2,opt,name=iter,proto3" json:"iter,omitempty"`
- Body []*Node `protobuf:"bytes,3,rep,name=body,proto3" json:"body,omitempty"`
- }
- func (x *AsyncFor) Reset() {
- *x = AsyncFor{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AsyncFor) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AsyncFor) ProtoMessage() {}
- func (x *AsyncFor) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use AsyncFor.ProtoReflect.Descriptor instead.
- func (*AsyncFor) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{7}
- }
- func (x *AsyncFor) GetTarget() *Node {
- if x != nil {
- return x.Target
- }
- return nil
- }
- func (x *AsyncFor) GetIter() *Node {
- if x != nil {
- return x.Iter
- }
- return nil
- }
- func (x *AsyncFor) GetBody() []*Node {
- if x != nil {
- return x.Body
- }
- return nil
- }
- type AsyncFunctionDef struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Args *Arguments `protobuf:"bytes,2,opt,name=Args,json=args,proto3" json:"Args,omitempty"`
- Body []*Node `protobuf:"bytes,3,rep,name=body,proto3" json:"body,omitempty"`
- Returns *Node `protobuf:"bytes,4,opt,name=returns,proto3" json:"returns,omitempty"`
- }
- func (x *AsyncFunctionDef) Reset() {
- *x = AsyncFunctionDef{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AsyncFunctionDef) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AsyncFunctionDef) ProtoMessage() {}
- func (x *AsyncFunctionDef) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use AsyncFunctionDef.ProtoReflect.Descriptor instead.
- func (*AsyncFunctionDef) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{8}
- }
- func (x *AsyncFunctionDef) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *AsyncFunctionDef) GetArgs() *Arguments {
- if x != nil {
- return x.Args
- }
- return nil
- }
- func (x *AsyncFunctionDef) GetBody() []*Node {
- if x != nil {
- return x.Body
- }
- return nil
- }
- func (x *AsyncFunctionDef) GetReturns() *Node {
- if x != nil {
- return x.Returns
- }
- return nil
- }
- type Assign struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Targets []*Node `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
- Value *Node `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
- Comment string `protobuf:"bytes,3,opt,name=Comment,json=comment,proto3" json:"Comment,omitempty"`
- }
- func (x *Assign) Reset() {
- *x = Assign{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Assign) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Assign) ProtoMessage() {}
- func (x *Assign) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Assign.ProtoReflect.Descriptor instead.
- func (*Assign) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{9}
- }
- func (x *Assign) GetTargets() []*Node {
- if x != nil {
- return x.Targets
- }
- return nil
- }
- func (x *Assign) GetValue() *Node {
- if x != nil {
- return x.Value
- }
- return nil
- }
- func (x *Assign) GetComment() string {
- if x != nil {
- return x.Comment
- }
- return ""
- }
- type Call struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Func *Node `protobuf:"bytes,1,opt,name=func,proto3" json:"func,omitempty"`
- Args []*Node `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
- Keywords []*Keyword `protobuf:"bytes,3,rep,name=keywords,proto3" json:"keywords,omitempty"`
- }
- func (x *Call) Reset() {
- *x = Call{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Call) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Call) ProtoMessage() {}
- func (x *Call) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Call.ProtoReflect.Descriptor instead.
- func (*Call) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{10}
- }
- func (x *Call) GetFunc() *Node {
- if x != nil {
- return x.Func
- }
- return nil
- }
- func (x *Call) GetArgs() []*Node {
- if x != nil {
- return x.Args
- }
- return nil
- }
- func (x *Call) GetKeywords() []*Keyword {
- if x != nil {
- return x.Keywords
- }
- return nil
- }
- type ClassDef struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Bases []*Node `protobuf:"bytes,2,rep,name=bases,proto3" json:"bases,omitempty"`
- Keywords []*Node `protobuf:"bytes,3,rep,name=keywords,proto3" json:"keywords,omitempty"`
- Body []*Node `protobuf:"bytes,4,rep,name=body,proto3" json:"body,omitempty"`
- DecoratorList []*Node `protobuf:"bytes,5,rep,name=decorator_list,proto3" json:"decorator_list,omitempty"`
- }
- func (x *ClassDef) Reset() {
- *x = ClassDef{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ClassDef) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ClassDef) ProtoMessage() {}
- func (x *ClassDef) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ClassDef.ProtoReflect.Descriptor instead.
- func (*ClassDef) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{11}
- }
- func (x *ClassDef) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *ClassDef) GetBases() []*Node {
- if x != nil {
- return x.Bases
- }
- return nil
- }
- func (x *ClassDef) GetKeywords() []*Node {
- if x != nil {
- return x.Keywords
- }
- return nil
- }
- func (x *ClassDef) GetBody() []*Node {
- if x != nil {
- return x.Body
- }
- return nil
- }
- func (x *ClassDef) GetDecoratorList() []*Node {
- if x != nil {
- return x.DecoratorList
- }
- return nil
- }
- // The Python ast module does not parse comments. It's not clear if this is the
- // best way to support them in the AST
- type Comment struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
- }
- func (x *Comment) Reset() {
- *x = Comment{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Comment) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Comment) ProtoMessage() {}
- func (x *Comment) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Comment.ProtoReflect.Descriptor instead.
- func (*Comment) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{12}
- }
- func (x *Comment) GetText() string {
- if x != nil {
- return x.Text
- }
- return ""
- }
- type Compare struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Left *Node `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
- Ops []*Node `protobuf:"bytes,2,rep,name=ops,proto3" json:"ops,omitempty"`
- Comparators []*Node `protobuf:"bytes,3,rep,name=comparators,proto3" json:"comparators,omitempty"`
- }
- func (x *Compare) Reset() {
- *x = Compare{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Compare) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Compare) ProtoMessage() {}
- func (x *Compare) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Compare.ProtoReflect.Descriptor instead.
- func (*Compare) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{13}
- }
- func (x *Compare) GetLeft() *Node {
- if x != nil {
- return x.Left
- }
- return nil
- }
- func (x *Compare) GetOps() []*Node {
- if x != nil {
- return x.Ops
- }
- return nil
- }
- func (x *Compare) GetComparators() []*Node {
- if x != nil {
- return x.Comparators
- }
- return nil
- }
- type Constant struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Types that are assignable to Value:
- // *Constant_Str
- // *Constant_Int
- // *Constant_None
- Value isConstant_Value `protobuf_oneof:"value"`
- }
- func (x *Constant) Reset() {
- *x = Constant{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Constant) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Constant) ProtoMessage() {}
- func (x *Constant) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Constant.ProtoReflect.Descriptor instead.
- func (*Constant) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{14}
- }
- func (m *Constant) GetValue() isConstant_Value {
- if m != nil {
- return m.Value
- }
- return nil
- }
- func (x *Constant) GetStr() string {
- if x, ok := x.GetValue().(*Constant_Str); ok {
- return x.Str
- }
- return ""
- }
- func (x *Constant) GetInt() int32 {
- if x, ok := x.GetValue().(*Constant_Int); ok {
- return x.Int
- }
- return 0
- }
- func (x *Constant) GetNone() bool {
- if x, ok := x.GetValue().(*Constant_None); ok {
- return x.None
- }
- return false
- }
- type isConstant_Value interface {
- isConstant_Value()
- }
- type Constant_Str struct {
- Str string `protobuf:"bytes,1,opt,name=str,json=string,proto3,oneof"`
- }
- type Constant_Int struct {
- Int int32 `protobuf:"varint,2,opt,name=int,proto3,oneof"`
- }
- type Constant_None struct {
- None bool `protobuf:"varint,3,opt,name=none,proto3,oneof"`
- }
- func (*Constant_Str) isConstant_Value() {}
- func (*Constant_Int) isConstant_Value() {}
- func (*Constant_None) isConstant_Value() {}
- type Dict struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Keys []*Node `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
- Values []*Node `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
- }
- func (x *Dict) Reset() {
- *x = Dict{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Dict) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Dict) ProtoMessage() {}
- func (x *Dict) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Dict.ProtoReflect.Descriptor instead.
- func (*Dict) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{15}
- }
- func (x *Dict) GetKeys() []*Node {
- if x != nil {
- return x.Keys
- }
- return nil
- }
- func (x *Dict) GetValues() []*Node {
- if x != nil {
- return x.Values
- }
- return nil
- }
- type Expr struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
- }
- func (x *Expr) Reset() {
- *x = Expr{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Expr) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Expr) ProtoMessage() {}
- func (x *Expr) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Expr.ProtoReflect.Descriptor instead.
- func (*Expr) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{16}
- }
- func (x *Expr) GetValue() *Node {
- if x != nil {
- return x.Value
- }
- return nil
- }
- type For struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Target *Node `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
- Iter *Node `protobuf:"bytes,2,opt,name=iter,proto3" json:"iter,omitempty"`
- Body []*Node `protobuf:"bytes,3,rep,name=body,proto3" json:"body,omitempty"`
- }
- func (x *For) Reset() {
- *x = For{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *For) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*For) ProtoMessage() {}
- func (x *For) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use For.ProtoReflect.Descriptor instead.
- func (*For) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{17}
- }
- func (x *For) GetTarget() *Node {
- if x != nil {
- return x.Target
- }
- return nil
- }
- func (x *For) GetIter() *Node {
- if x != nil {
- return x.Iter
- }
- return nil
- }
- func (x *For) GetBody() []*Node {
- if x != nil {
- return x.Body
- }
- return nil
- }
- type FunctionDef struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Args *Arguments `protobuf:"bytes,2,opt,name=Args,json=args,proto3" json:"Args,omitempty"`
- Body []*Node `protobuf:"bytes,3,rep,name=body,proto3" json:"body,omitempty"`
- Returns *Node `protobuf:"bytes,4,opt,name=returns,proto3" json:"returns,omitempty"`
- }
- func (x *FunctionDef) Reset() {
- *x = FunctionDef{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FunctionDef) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FunctionDef) ProtoMessage() {}
- func (x *FunctionDef) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[18]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FunctionDef.ProtoReflect.Descriptor instead.
- func (*FunctionDef) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{18}
- }
- func (x *FunctionDef) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *FunctionDef) GetArgs() *Arguments {
- if x != nil {
- return x.Args
- }
- return nil
- }
- func (x *FunctionDef) GetBody() []*Node {
- if x != nil {
- return x.Body
- }
- return nil
- }
- func (x *FunctionDef) GetReturns() *Node {
- if x != nil {
- return x.Returns
- }
- return nil
- }
- type If struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Test *Node `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"`
- Body []*Node `protobuf:"bytes,2,rep,name=body,proto3" json:"body,omitempty"`
- OrElse []*Node `protobuf:"bytes,3,rep,name=or_else,json=orelse,proto3" json:"or_else,omitempty"`
- }
- func (x *If) Reset() {
- *x = If{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *If) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*If) ProtoMessage() {}
- func (x *If) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[19]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use If.ProtoReflect.Descriptor instead.
- func (*If) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{19}
- }
- func (x *If) GetTest() *Node {
- if x != nil {
- return x.Test
- }
- return nil
- }
- func (x *If) GetBody() []*Node {
- if x != nil {
- return x.Body
- }
- return nil
- }
- func (x *If) GetOrElse() []*Node {
- if x != nil {
- return x.OrElse
- }
- return nil
- }
- type Import struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Names []*Node `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
- }
- func (x *Import) Reset() {
- *x = Import{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Import) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Import) ProtoMessage() {}
- func (x *Import) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[20]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Import.ProtoReflect.Descriptor instead.
- func (*Import) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{20}
- }
- func (x *Import) GetNames() []*Node {
- if x != nil {
- return x.Names
- }
- return nil
- }
- type ImportFrom struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
- Names []*Node `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
- Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
- }
- func (x *ImportFrom) Reset() {
- *x = ImportFrom{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ImportFrom) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ImportFrom) ProtoMessage() {}
- func (x *ImportFrom) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[21]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ImportFrom.ProtoReflect.Descriptor instead.
- func (*ImportFrom) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{21}
- }
- func (x *ImportFrom) GetModule() string {
- if x != nil {
- return x.Module
- }
- return ""
- }
- func (x *ImportFrom) GetNames() []*Node {
- if x != nil {
- return x.Names
- }
- return nil
- }
- func (x *ImportFrom) GetLevel() int32 {
- if x != nil {
- return x.Level
- }
- return 0
- }
- // Imports are always put at the top of the file, just after any module
- // comments and docstrings, and before module globals and constants.
- //
- // Imports should be grouped in the following order:
- //
- // Standard library imports.
- // Related third party imports.
- // Local application/library specific imports.
- //
- // You should put a blank line between each group of imports.
- //
- // https://www.python.org/dev/peps/pep-0008/#imports
- type ImportGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Imports []*Node `protobuf:"bytes,1,rep,name=imports,proto3" json:"imports,omitempty"`
- }
- func (x *ImportGroup) Reset() {
- *x = ImportGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ImportGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ImportGroup) ProtoMessage() {}
- func (x *ImportGroup) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[22]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ImportGroup.ProtoReflect.Descriptor instead.
- func (*ImportGroup) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{22}
- }
- func (x *ImportGroup) GetImports() []*Node {
- if x != nil {
- return x.Imports
- }
- return nil
- }
- type Is struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *Is) Reset() {
- *x = Is{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Is) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Is) ProtoMessage() {}
- func (x *Is) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[23]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Is.ProtoReflect.Descriptor instead.
- func (*Is) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{23}
- }
- type Keyword struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Arg string `protobuf:"bytes,1,opt,name=arg,proto3" json:"arg,omitempty"`
- Value *Node `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
- }
- func (x *Keyword) Reset() {
- *x = Keyword{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Keyword) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Keyword) ProtoMessage() {}
- func (x *Keyword) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[24]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Keyword.ProtoReflect.Descriptor instead.
- func (*Keyword) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{24}
- }
- func (x *Keyword) GetArg() string {
- if x != nil {
- return x.Arg
- }
- return ""
- }
- func (x *Keyword) GetValue() *Node {
- if x != nil {
- return x.Value
- }
- return nil
- }
- type Module struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Body []*Node `protobuf:"bytes,1,rep,name=body,proto3" json:"body,omitempty"`
- }
- func (x *Module) Reset() {
- *x = Module{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Module) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Module) ProtoMessage() {}
- func (x *Module) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[25]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Module.ProtoReflect.Descriptor instead.
- func (*Module) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{25}
- }
- func (x *Module) GetBody() []*Node {
- if x != nil {
- return x.Body
- }
- return nil
- }
- type Name struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- }
- func (x *Name) Reset() {
- *x = Name{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Name) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Name) ProtoMessage() {}
- func (x *Name) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[26]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Name.ProtoReflect.Descriptor instead.
- func (*Name) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{26}
- }
- func (x *Name) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- type Pass struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *Pass) Reset() {
- *x = Pass{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Pass) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Pass) ProtoMessage() {}
- func (x *Pass) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[27]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Pass.ProtoReflect.Descriptor instead.
- func (*Pass) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{27}
- }
- type Return struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
- }
- func (x *Return) Reset() {
- *x = Return{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Return) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Return) ProtoMessage() {}
- func (x *Return) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[28]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Return.ProtoReflect.Descriptor instead.
- func (*Return) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{28}
- }
- func (x *Return) GetValue() *Node {
- if x != nil {
- return x.Value
- }
- return nil
- }
- type Subscript struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Value *Name `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
- Slice *Node `protobuf:"bytes,2,opt,name=slice,proto3" json:"slice,omitempty"`
- }
- func (x *Subscript) Reset() {
- *x = Subscript{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Subscript) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Subscript) ProtoMessage() {}
- func (x *Subscript) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[29]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Subscript.ProtoReflect.Descriptor instead.
- func (*Subscript) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{29}
- }
- func (x *Subscript) GetValue() *Name {
- if x != nil {
- return x.Value
- }
- return nil
- }
- func (x *Subscript) GetSlice() *Node {
- if x != nil {
- return x.Slice
- }
- return nil
- }
- type Yield struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Value *Node `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
- }
- func (x *Yield) Reset() {
- *x = Yield{}
- if protoimpl.UnsafeEnabled {
- mi := &file_python_ast_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Yield) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Yield) ProtoMessage() {}
- func (x *Yield) ProtoReflect() protoreflect.Message {
- mi := &file_python_ast_proto_msgTypes[30]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Yield.ProtoReflect.Descriptor instead.
- func (*Yield) Descriptor() ([]byte, []int) {
- return file_python_ast_proto_rawDescGZIP(), []int{30}
- }
- func (x *Yield) GetValue() *Node {
- if x != nil {
- return x.Value
- }
- return nil
- }
- var File_python_ast_proto protoreflect.FileDescriptor
- var file_python_ast_proto_rawDesc = []byte{
- 0x0a, 0x10, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2f, 0x61, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x12, 0x0a, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x22, 0xb0,
- 0x0b, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73,
- 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x79, 0x74,
- 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x44, 0x65, 0x66,
- 0x48, 0x00, 0x52, 0x08, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x44, 0x65, 0x66, 0x12, 0x2c, 0x0a, 0x06,
- 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70,
- 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
- 0x48, 0x00, 0x52, 0x06, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x39, 0x0a, 0x0b, 0x69, 0x6d,
- 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x16, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x49, 0x6d, 0x70,
- 0x6f, 0x72, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x48, 0x00, 0x52, 0x0a, 0x49, 0x6d, 0x70, 0x6f, 0x72,
- 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x2c, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
- 0x73, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x4d, 0x6f, 0x64,
- 0x75, 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
- 0x41, 0x6c, 0x69, 0x61, 0x73, 0x48, 0x00, 0x52, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x36,
- 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
- 0x41, 0x6e, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x41, 0x6e, 0x6e,
- 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x26, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73,
- 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x35,
- 0x0a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x53,
- 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x48, 0x00, 0x52, 0x09, 0x53, 0x75, 0x62, 0x73,
- 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
- 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
- 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x48,
- 0x00, 0x52, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x08,
- 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
- 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x73,
- 0x74, 0x61, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74,
- 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x12, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x73,
- 0x73, 0x69, 0x67, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x2f,
- 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x13, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d,
- 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12,
- 0x26, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
- 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x48,
- 0x00, 0x52, 0x04, 0x45, 0x78, 0x70, 0x72, 0x12, 0x26, 0x0a, 0x04, 0x63, 0x61, 0x6c, 0x6c, 0x18,
- 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
- 0x73, 0x74, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12,
- 0x3c, 0x0a, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18,
- 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
- 0x73, 0x74, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x48, 0x00,
- 0x52, 0x0b, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x23, 0x0a,
- 0x03, 0x61, 0x72, 0x67, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x79, 0x74,
- 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x48, 0x00, 0x52, 0x03, 0x41,
- 0x72, 0x67, 0x12, 0x35, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
- 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
- 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x00, 0x52, 0x09,
- 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x12, 0x61, 0x73, 0x79,
- 0x6e, 0x63, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18,
- 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
- 0x73, 0x74, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x44, 0x65, 0x66, 0x48, 0x00, 0x52, 0x10, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x75, 0x6e, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x26, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18,
- 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61,
- 0x73, 0x74, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x48, 0x00, 0x52, 0x04, 0x50, 0x61, 0x73, 0x73, 0x12,
- 0x26, 0x0a, 0x04, 0x64, 0x69, 0x63, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e,
- 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x44, 0x69, 0x63, 0x74, 0x48,
- 0x00, 0x52, 0x04, 0x44, 0x69, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x02, 0x69, 0x66, 0x18, 0x15, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74,
- 0x2e, 0x49, 0x66, 0x48, 0x00, 0x52, 0x02, 0x49, 0x66, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6d,
- 0x70, 0x61, 0x72, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x79, 0x74,
- 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x48,
- 0x00, 0x52, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65,
- 0x74, 0x75, 0x72, 0x6e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x79, 0x74,
- 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x48, 0x00,
- 0x52, 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x20, 0x0a, 0x02, 0x69, 0x73, 0x18, 0x18,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73,
- 0x74, 0x2e, 0x49, 0x73, 0x48, 0x00, 0x52, 0x02, 0x49, 0x73, 0x12, 0x2f, 0x0a, 0x07, 0x6b, 0x65,
- 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x79,
- 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
- 0x48, 0x00, 0x52, 0x07, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x79,
- 0x69, 0x65, 0x6c, 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x79, 0x74,
- 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x59, 0x69, 0x65, 0x6c, 0x64, 0x48, 0x00, 0x52,
- 0x05, 0x59, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x23, 0x0a, 0x03, 0x66, 0x6f, 0x72, 0x18, 0x1b, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74,
- 0x2e, 0x46, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x03, 0x46, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x05, 0x61,
- 0x77, 0x61, 0x69, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x79, 0x74,
- 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x77, 0x61, 0x69, 0x74, 0x48, 0x00, 0x52,
- 0x05, 0x41, 0x77, 0x61, 0x69, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f,
- 0x66, 0x6f, 0x72, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x79, 0x74, 0x68,
- 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6f, 0x72, 0x48,
- 0x00, 0x52, 0x08, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6f, 0x72, 0x12, 0x3c, 0x0a, 0x0c, 0x69,
- 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x1e, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x49,
- 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x00, 0x52, 0x0b, 0x49, 0x6d,
- 0x70, 0x6f, 0x72, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x06, 0x0a, 0x04, 0x6e, 0x6f, 0x64,
- 0x65, 0x22, 0x1b, 0x0a, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2f,
- 0x0a, 0x05, 0x41, 0x77, 0x61, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e,
- 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
- 0x47, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
- 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x74, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x61, 0x74, 0x74, 0x72, 0x22, 0x99, 0x01, 0x0a, 0x09, 0x41, 0x6e, 0x6e,
- 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x28, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e,
- 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
- 0x12, 0x30, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73,
- 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f,
- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d,
- 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x49, 0x0a, 0x03, 0x41, 0x72, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x61,
- 0x72, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x12, 0x30, 0x0a,
- 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e,
- 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
- 0x63, 0x0a, 0x09, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x04,
- 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x79, 0x74,
- 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x52, 0x04, 0x61, 0x72, 0x67,
- 0x73, 0x12, 0x31, 0x0a, 0x0c, 0x6b, 0x77, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x61, 0x72, 0x67,
- 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e,
- 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x52, 0x0a, 0x6b, 0x77, 0x6f, 0x6e, 0x6c, 0x79,
- 0x61, 0x72, 0x67, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x08, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6f,
- 0x72, 0x12, 0x28, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e,
- 0x6f, 0x64, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x69,
- 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68,
- 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x69, 0x74, 0x65,
- 0x72, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64,
- 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xa3, 0x01, 0x0a, 0x10, 0x41, 0x73, 0x79, 0x6e,
- 0x63, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x29, 0x0a, 0x04, 0x41, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
- 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x75,
- 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x24, 0x0a, 0x04, 0x62,
- 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68,
- 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64,
- 0x79, 0x12, 0x2a, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
- 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x22, 0x76, 0x0a,
- 0x06, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x2a, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65,
- 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
- 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67,
- 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
- 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43,
- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x83, 0x01, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x24,
- 0x0a, 0x04, 0x66, 0x75, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70,
- 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04,
- 0x66, 0x75, 0x6e, 0x63, 0x12, 0x24, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e,
- 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x2f, 0x0a, 0x08, 0x6b, 0x65,
- 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70,
- 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72,
- 0x64, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x22, 0xd4, 0x01, 0x0a, 0x08,
- 0x43, 0x6c, 0x61, 0x73, 0x73, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x05,
- 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
- 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x62,
- 0x61, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73,
- 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e,
- 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72,
- 0x64, 0x73, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
- 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x38, 0x0a, 0x0e, 0x64, 0x65, 0x63, 0x6f,
- 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
- 0x64, 0x65, 0x52, 0x0e, 0x64, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x6c, 0x69,
- 0x73, 0x74, 0x22, 0x1d, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a,
- 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78,
- 0x74, 0x22, 0x87, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x65, 0x12, 0x24, 0x0a,
- 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
- 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6c,
- 0x65, 0x66, 0x74, 0x12, 0x22, 0x0a, 0x03, 0x6f, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
- 0x64, 0x65, 0x52, 0x03, 0x6f, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61,
- 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70,
- 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0b,
- 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x22, 0x54, 0x0a, 0x08, 0x43,
- 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x03, 0x73, 0x74, 0x72, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x12,
- 0x0a, 0x03, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x03, 0x69,
- 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
- 0x48, 0x00, 0x52, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x22, 0x56, 0x0a, 0x04, 0x44, 0x69, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x6b, 0x65, 0x79,
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e,
- 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12,
- 0x28, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64,
- 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x2e, 0x0a, 0x04, 0x45, 0x78, 0x70,
- 0x72, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
- 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7b, 0x0a, 0x03, 0x46, 0x6f, 0x72,
- 0x12, 0x28, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f,
- 0x64, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x69, 0x74,
- 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
- 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x69, 0x74, 0x65, 0x72,
- 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10,
- 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
- 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x9e, 0x01, 0x0a, 0x0b, 0x46, 0x75, 0x6e, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x41, 0x72,
- 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
- 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52,
- 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74,
- 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x2a, 0x0a, 0x07, 0x72,
- 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70,
- 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07,
- 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x22, 0x7b, 0x0a, 0x02, 0x49, 0x66, 0x12, 0x24, 0x0a,
- 0x04, 0x74, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
- 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74,
- 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e,
- 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x29, 0x0a, 0x07, 0x6f, 0x72, 0x5f,
- 0x65, 0x6c, 0x73, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74,
- 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x6f, 0x72,
- 0x65, 0x6c, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x06, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x26,
- 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e,
- 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52,
- 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x62, 0x0a, 0x0a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
- 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x05,
- 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79,
- 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e,
- 0x61, 0x6d, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x39, 0x0a, 0x0b, 0x49, 0x6d,
- 0x70, 0x6f, 0x72, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x07, 0x69, 0x6d, 0x70,
- 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74,
- 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x69, 0x6d,
- 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22, 0x04, 0x0a, 0x02, 0x49, 0x73, 0x22, 0x43, 0x0a, 0x07, 0x4b,
- 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e,
- 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x22, 0x2e, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x62, 0x6f,
- 0x64, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f,
- 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79,
- 0x22, 0x16, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x06, 0x0a, 0x04, 0x50, 0x61, 0x73, 0x73,
- 0x22, 0x30, 0x0a, 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68,
- 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x22, 0x5b, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12,
- 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10,
- 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65,
- 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x63, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2e,
- 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x22,
- 0x2f, 0x0a, 0x05, 0x59, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e,
- 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b,
- 0x79, 0x6c, 0x65, 0x63, 0x6f, 0x6e, 0x72, 0x6f, 0x79, 0x2f, 0x73, 0x71, 0x6c, 0x63, 0x2f, 0x69,
- 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x2f, 0x61,
- 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_python_ast_proto_rawDescOnce sync.Once
- file_python_ast_proto_rawDescData = file_python_ast_proto_rawDesc
- )
- func file_python_ast_proto_rawDescGZIP() []byte {
- file_python_ast_proto_rawDescOnce.Do(func() {
- file_python_ast_proto_rawDescData = protoimpl.X.CompressGZIP(file_python_ast_proto_rawDescData)
- })
- return file_python_ast_proto_rawDescData
- }
- var file_python_ast_proto_msgTypes = make([]protoimpl.MessageInfo, 31)
- var file_python_ast_proto_goTypes = []interface{}{
- (*Node)(nil), // 0: python.ast.Node
- (*Alias)(nil), // 1: python.ast.Alias
- (*Await)(nil), // 2: python.ast.Await
- (*Attribute)(nil), // 3: python.ast.Attribute
- (*AnnAssign)(nil), // 4: python.ast.AnnAssign
- (*Arg)(nil), // 5: python.ast.Arg
- (*Arguments)(nil), // 6: python.ast.Arguments
- (*AsyncFor)(nil), // 7: python.ast.AsyncFor
- (*AsyncFunctionDef)(nil), // 8: python.ast.AsyncFunctionDef
- (*Assign)(nil), // 9: python.ast.Assign
- (*Call)(nil), // 10: python.ast.Call
- (*ClassDef)(nil), // 11: python.ast.ClassDef
- (*Comment)(nil), // 12: python.ast.Comment
- (*Compare)(nil), // 13: python.ast.Compare
- (*Constant)(nil), // 14: python.ast.Constant
- (*Dict)(nil), // 15: python.ast.Dict
- (*Expr)(nil), // 16: python.ast.Expr
- (*For)(nil), // 17: python.ast.For
- (*FunctionDef)(nil), // 18: python.ast.FunctionDef
- (*If)(nil), // 19: python.ast.If
- (*Import)(nil), // 20: python.ast.Import
- (*ImportFrom)(nil), // 21: python.ast.ImportFrom
- (*ImportGroup)(nil), // 22: python.ast.ImportGroup
- (*Is)(nil), // 23: python.ast.Is
- (*Keyword)(nil), // 24: python.ast.Keyword
- (*Module)(nil), // 25: python.ast.Module
- (*Name)(nil), // 26: python.ast.Name
- (*Pass)(nil), // 27: python.ast.Pass
- (*Return)(nil), // 28: python.ast.Return
- (*Subscript)(nil), // 29: python.ast.Subscript
- (*Yield)(nil), // 30: python.ast.Yield
- }
- var file_python_ast_proto_depIdxs = []int32{
- 11, // 0: python.ast.Node.class_def:type_name -> python.ast.ClassDef
- 20, // 1: python.ast.Node.import:type_name -> python.ast.Import
- 21, // 2: python.ast.Node.import_from:type_name -> python.ast.ImportFrom
- 25, // 3: python.ast.Node.module:type_name -> python.ast.Module
- 1, // 4: python.ast.Node.alias:type_name -> python.ast.Alias
- 4, // 5: python.ast.Node.ann_assign:type_name -> python.ast.AnnAssign
- 26, // 6: python.ast.Node.name:type_name -> python.ast.Name
- 29, // 7: python.ast.Node.subscript:type_name -> python.ast.Subscript
- 3, // 8: python.ast.Node.attribute:type_name -> python.ast.Attribute
- 14, // 9: python.ast.Node.constant:type_name -> python.ast.Constant
- 9, // 10: python.ast.Node.assign:type_name -> python.ast.Assign
- 12, // 11: python.ast.Node.comment:type_name -> python.ast.Comment
- 16, // 12: python.ast.Node.expr:type_name -> python.ast.Expr
- 10, // 13: python.ast.Node.call:type_name -> python.ast.Call
- 18, // 14: python.ast.Node.function_def:type_name -> python.ast.FunctionDef
- 5, // 15: python.ast.Node.arg:type_name -> python.ast.Arg
- 6, // 16: python.ast.Node.arguments:type_name -> python.ast.Arguments
- 8, // 17: python.ast.Node.async_function_def:type_name -> python.ast.AsyncFunctionDef
- 27, // 18: python.ast.Node.pass:type_name -> python.ast.Pass
- 15, // 19: python.ast.Node.dict:type_name -> python.ast.Dict
- 19, // 20: python.ast.Node.if:type_name -> python.ast.If
- 13, // 21: python.ast.Node.compare:type_name -> python.ast.Compare
- 28, // 22: python.ast.Node.return:type_name -> python.ast.Return
- 23, // 23: python.ast.Node.is:type_name -> python.ast.Is
- 24, // 24: python.ast.Node.keyword:type_name -> python.ast.Keyword
- 30, // 25: python.ast.Node.yield:type_name -> python.ast.Yield
- 17, // 26: python.ast.Node.for:type_name -> python.ast.For
- 2, // 27: python.ast.Node.await:type_name -> python.ast.Await
- 7, // 28: python.ast.Node.async_for:type_name -> python.ast.AsyncFor
- 22, // 29: python.ast.Node.import_group:type_name -> python.ast.ImportGroup
- 0, // 30: python.ast.Await.value:type_name -> python.ast.Node
- 0, // 31: python.ast.Attribute.value:type_name -> python.ast.Node
- 26, // 32: python.ast.AnnAssign.target:type_name -> python.ast.Name
- 0, // 33: python.ast.AnnAssign.annotation:type_name -> python.ast.Node
- 0, // 34: python.ast.Arg.annotation:type_name -> python.ast.Node
- 5, // 35: python.ast.Arguments.args:type_name -> python.ast.Arg
- 5, // 36: python.ast.Arguments.kw_only_args:type_name -> python.ast.Arg
- 0, // 37: python.ast.AsyncFor.target:type_name -> python.ast.Node
- 0, // 38: python.ast.AsyncFor.iter:type_name -> python.ast.Node
- 0, // 39: python.ast.AsyncFor.body:type_name -> python.ast.Node
- 6, // 40: python.ast.AsyncFunctionDef.Args:type_name -> python.ast.Arguments
- 0, // 41: python.ast.AsyncFunctionDef.body:type_name -> python.ast.Node
- 0, // 42: python.ast.AsyncFunctionDef.returns:type_name -> python.ast.Node
- 0, // 43: python.ast.Assign.targets:type_name -> python.ast.Node
- 0, // 44: python.ast.Assign.value:type_name -> python.ast.Node
- 0, // 45: python.ast.Call.func:type_name -> python.ast.Node
- 0, // 46: python.ast.Call.args:type_name -> python.ast.Node
- 24, // 47: python.ast.Call.keywords:type_name -> python.ast.Keyword
- 0, // 48: python.ast.ClassDef.bases:type_name -> python.ast.Node
- 0, // 49: python.ast.ClassDef.keywords:type_name -> python.ast.Node
- 0, // 50: python.ast.ClassDef.body:type_name -> python.ast.Node
- 0, // 51: python.ast.ClassDef.decorator_list:type_name -> python.ast.Node
- 0, // 52: python.ast.Compare.left:type_name -> python.ast.Node
- 0, // 53: python.ast.Compare.ops:type_name -> python.ast.Node
- 0, // 54: python.ast.Compare.comparators:type_name -> python.ast.Node
- 0, // 55: python.ast.Dict.keys:type_name -> python.ast.Node
- 0, // 56: python.ast.Dict.values:type_name -> python.ast.Node
- 0, // 57: python.ast.Expr.value:type_name -> python.ast.Node
- 0, // 58: python.ast.For.target:type_name -> python.ast.Node
- 0, // 59: python.ast.For.iter:type_name -> python.ast.Node
- 0, // 60: python.ast.For.body:type_name -> python.ast.Node
- 6, // 61: python.ast.FunctionDef.Args:type_name -> python.ast.Arguments
- 0, // 62: python.ast.FunctionDef.body:type_name -> python.ast.Node
- 0, // 63: python.ast.FunctionDef.returns:type_name -> python.ast.Node
- 0, // 64: python.ast.If.test:type_name -> python.ast.Node
- 0, // 65: python.ast.If.body:type_name -> python.ast.Node
- 0, // 66: python.ast.If.or_else:type_name -> python.ast.Node
- 0, // 67: python.ast.Import.names:type_name -> python.ast.Node
- 0, // 68: python.ast.ImportFrom.names:type_name -> python.ast.Node
- 0, // 69: python.ast.ImportGroup.imports:type_name -> python.ast.Node
- 0, // 70: python.ast.Keyword.value:type_name -> python.ast.Node
- 0, // 71: python.ast.Module.body:type_name -> python.ast.Node
- 0, // 72: python.ast.Return.value:type_name -> python.ast.Node
- 26, // 73: python.ast.Subscript.value:type_name -> python.ast.Name
- 0, // 74: python.ast.Subscript.slice:type_name -> python.ast.Node
- 0, // 75: python.ast.Yield.value:type_name -> python.ast.Node
- 76, // [76:76] is the sub-list for method output_type
- 76, // [76:76] is the sub-list for method input_type
- 76, // [76:76] is the sub-list for extension type_name
- 76, // [76:76] is the sub-list for extension extendee
- 0, // [0:76] is the sub-list for field type_name
- }
- func init() { file_python_ast_proto_init() }
- func file_python_ast_proto_init() {
- if File_python_ast_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_python_ast_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Node); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Alias); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Await); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Attribute); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AnnAssign); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Arg); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Arguments); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AsyncFor); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AsyncFunctionDef); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Assign); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Call); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ClassDef); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Comment); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Compare); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Constant); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Dict); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Expr); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*For); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FunctionDef); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*If); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Import); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ImportFrom); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ImportGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Is); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Keyword); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Module); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Name); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Pass); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Return); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Subscript); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_python_ast_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Yield); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_python_ast_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*Node_ClassDef)(nil),
- (*Node_Import)(nil),
- (*Node_ImportFrom)(nil),
- (*Node_Module)(nil),
- (*Node_Alias)(nil),
- (*Node_AnnAssign)(nil),
- (*Node_Name)(nil),
- (*Node_Subscript)(nil),
- (*Node_Attribute)(nil),
- (*Node_Constant)(nil),
- (*Node_Assign)(nil),
- (*Node_Comment)(nil),
- (*Node_Expr)(nil),
- (*Node_Call)(nil),
- (*Node_FunctionDef)(nil),
- (*Node_Arg)(nil),
- (*Node_Arguments)(nil),
- (*Node_AsyncFunctionDef)(nil),
- (*Node_Pass)(nil),
- (*Node_Dict)(nil),
- (*Node_If)(nil),
- (*Node_Compare)(nil),
- (*Node_Return)(nil),
- (*Node_Is)(nil),
- (*Node_Keyword)(nil),
- (*Node_Yield)(nil),
- (*Node_For)(nil),
- (*Node_Await)(nil),
- (*Node_AsyncFor)(nil),
- (*Node_ImportGroup)(nil),
- }
- file_python_ast_proto_msgTypes[14].OneofWrappers = []interface{}{
- (*Constant_Str)(nil),
- (*Constant_Int)(nil),
- (*Constant_None)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_python_ast_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 31,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_python_ast_proto_goTypes,
- DependencyIndexes: file_python_ast_proto_depIdxs,
- MessageInfos: file_python_ast_proto_msgTypes,
- }.Build()
- File_python_ast_proto = out.File
- file_python_ast_proto_rawDesc = nil
- file_python_ast_proto_goTypes = nil
- file_python_ast_proto_depIdxs = nil
- }
|