astnodes.js 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280
  1. /* File automatically generated by asdl_js.py. */
  2. /* ----- expr_context ----- */
  3. /** @constructor */
  4. function Load() {}
  5. /** @constructor */
  6. function Store() {}
  7. /** @constructor */
  8. function Del() {}
  9. /** @constructor */
  10. function AugLoad() {}
  11. /** @constructor */
  12. function AugStore() {}
  13. /** @constructor */
  14. function Param() {}
  15. /* ----- boolop ----- */
  16. /** @constructor */
  17. function And() {}
  18. /** @constructor */
  19. function Or() {}
  20. /* ----- operator ----- */
  21. /** @constructor */
  22. function Add() {}
  23. /** @constructor */
  24. function Sub() {}
  25. /** @constructor */
  26. function Mult() {}
  27. /** @constructor */
  28. function Div() {}
  29. /** @constructor */
  30. function Mod() {}
  31. /** @constructor */
  32. function Pow() {}
  33. /** @constructor */
  34. function LShift() {}
  35. /** @constructor */
  36. function RShift() {}
  37. /** @constructor */
  38. function BitOr() {}
  39. /** @constructor */
  40. function BitXor() {}
  41. /** @constructor */
  42. function BitAnd() {}
  43. /** @constructor */
  44. function FloorDiv() {}
  45. /* ----- unaryop ----- */
  46. /** @constructor */
  47. function Invert() {}
  48. /** @constructor */
  49. function Not() {}
  50. /** @constructor */
  51. function UAdd() {}
  52. /** @constructor */
  53. function USub() {}
  54. /* ----- cmpop ----- */
  55. /** @constructor */
  56. function Eq() {}
  57. /** @constructor */
  58. function NotEq() {}
  59. /** @constructor */
  60. function Lt() {}
  61. /** @constructor */
  62. function LtE() {}
  63. /** @constructor */
  64. function Gt() {}
  65. /** @constructor */
  66. function GtE() {}
  67. /** @constructor */
  68. function Is() {}
  69. /** @constructor */
  70. function IsNot() {}
  71. /** @constructor */
  72. function In_() {}
  73. /** @constructor */
  74. function NotIn() {}
  75. /* ---------------------- */
  76. /* constructors for nodes */
  77. /* ---------------------- */
  78. /** @constructor */
  79. function Module(/* {asdl_seq *} */ body)
  80. {
  81. this.body = body;
  82. return this;
  83. }
  84. /** @constructor */
  85. function Interactive(/* {asdl_seq *} */ body)
  86. {
  87. this.body = body;
  88. return this;
  89. }
  90. /** @constructor */
  91. function Expression(/* {expr_ty} */ body)
  92. {
  93. goog.asserts.assert(body !== null && body !== undefined);
  94. this.body = body;
  95. return this;
  96. }
  97. /** @constructor */
  98. function Suite(/* {asdl_seq *} */ body)
  99. {
  100. this.body = body;
  101. return this;
  102. }
  103. /** @constructor */
  104. function FunctionDef(/* {identifier} */ name, /* {arguments__ty} */ args, /*
  105. {asdl_seq *} */ body, /* {asdl_seq *} */
  106. decorator_list, /* {int} */ lineno, /* {int} */
  107. col_offset, /* {int} */ endlineno, /* {int} */
  108. col_endoffset)
  109. {
  110. goog.asserts.assert(name !== null && name !== undefined);
  111. goog.asserts.assert(args !== null && args !== undefined);
  112. this.name = name;
  113. this.args = args;
  114. this.body = body;
  115. this.decorator_list = decorator_list;
  116. this.lineno = lineno;
  117. this.col_offset = col_offset;
  118. this.endlineno = endlineno;
  119. this.col_endoffset = col_endoffset;
  120. return this;
  121. }
  122. /** @constructor */
  123. function ClassDef(/* {identifier} */ name, /* {asdl_seq *} */ bases, /*
  124. {asdl_seq *} */ body, /* {asdl_seq *} */ decorator_list,
  125. /* {int} */ lineno, /* {int} */ col_offset, /* {int} */
  126. endlineno, /* {int} */ col_endoffset)
  127. {
  128. goog.asserts.assert(name !== null && name !== undefined);
  129. this.name = name;
  130. this.bases = bases;
  131. this.body = body;
  132. this.decorator_list = decorator_list;
  133. this.lineno = lineno;
  134. this.col_offset = col_offset;
  135. this.endlineno = endlineno;
  136. this.col_endoffset = col_endoffset;
  137. return this;
  138. }
  139. /** @constructor */
  140. function Return_(/* {expr_ty} */ value, /* {int} */ lineno, /* {int} */
  141. col_offset, /* {int} */ endlineno, /* {int} */
  142. col_endoffset)
  143. {
  144. this.value = value;
  145. this.lineno = lineno;
  146. this.col_offset = col_offset;
  147. this.endlineno = endlineno;
  148. this.col_endoffset = col_endoffset;
  149. return this;
  150. }
  151. /** @constructor */
  152. function Delete_(/* {asdl_seq *} */ targets, /* {int} */ lineno, /* {int} */
  153. col_offset, /* {int} */ endlineno, /* {int} */
  154. col_endoffset)
  155. {
  156. this.targets = targets;
  157. this.lineno = lineno;
  158. this.col_offset = col_offset;
  159. this.endlineno = endlineno;
  160. this.col_endoffset = col_endoffset;
  161. return this;
  162. }
  163. /** @constructor */
  164. function Assign(/* {asdl_seq *} */ targets, /* {expr_ty} */ value, /* {int} */
  165. lineno, /* {int} */ col_offset, /* {int} */ endlineno, /*
  166. {int} */ col_endoffset)
  167. {
  168. goog.asserts.assert(value !== null && value !== undefined);
  169. this.targets = targets;
  170. this.value = value;
  171. this.lineno = lineno;
  172. this.col_offset = col_offset;
  173. this.endlineno = endlineno;
  174. this.col_endoffset = col_endoffset;
  175. return this;
  176. }
  177. /** @constructor */
  178. function AugAssign(/* {expr_ty} */ target, /* {operator_ty} */ op, /* {expr_ty}
  179. */ value, /* {int} */ lineno, /* {int} */ col_offset,
  180. /* {int} */ endlineno, /* {int} */ col_endoffset)
  181. {
  182. goog.asserts.assert(target !== null && target !== undefined);
  183. goog.asserts.assert(op !== null && op !== undefined);
  184. goog.asserts.assert(value !== null && value !== undefined);
  185. this.target = target;
  186. this.op = op;
  187. this.value = value;
  188. this.lineno = lineno;
  189. this.col_offset = col_offset;
  190. this.endlineno = endlineno;
  191. this.col_endoffset = col_endoffset;
  192. return this;
  193. }
  194. /** @constructor */
  195. function Print(/* {expr_ty} */ dest, /* {asdl_seq *} */ values, /* {bool} */
  196. nl, /* {int} */ lineno, /* {int} */ col_offset, /* {int} */
  197. endlineno, /* {int} */ col_endoffset)
  198. {
  199. this.dest = dest;
  200. this.values = values;
  201. this.nl = nl;
  202. this.lineno = lineno;
  203. this.col_offset = col_offset;
  204. this.endlineno = endlineno;
  205. this.col_endoffset = col_endoffset;
  206. return this;
  207. }
  208. /** @constructor */
  209. function For_(/* {expr_ty} */ target, /* {expr_ty} */ iter, /* {asdl_seq *} */
  210. body, /* {asdl_seq *} */ orelse, /* {int} */ lineno, /*
  211. {int} */ col_offset, /* {int} */ endlineno, /* {int} */
  212. col_endoffset)
  213. {
  214. goog.asserts.assert(target !== null && target !== undefined);
  215. goog.asserts.assert(iter !== null && iter !== undefined);
  216. this.target = target;
  217. this.iter = iter;
  218. this.body = body;
  219. this.orelse = orelse;
  220. this.lineno = lineno;
  221. this.col_offset = col_offset;
  222. this.endlineno = endlineno;
  223. this.col_endoffset = col_endoffset;
  224. return this;
  225. }
  226. /** @constructor */
  227. function While_(/* {expr_ty} */ test, /* {asdl_seq *} */ body, /* {asdl_seq *}
  228. */ orelse, /* {int} */ lineno, /* {int} */ col_offset, /*
  229. {int} */ endlineno, /* {int} */ col_endoffset)
  230. {
  231. goog.asserts.assert(test !== null && test !== undefined);
  232. this.test = test;
  233. this.body = body;
  234. this.orelse = orelse;
  235. this.lineno = lineno;
  236. this.col_offset = col_offset;
  237. this.endlineno = endlineno;
  238. this.col_endoffset = col_endoffset;
  239. return this;
  240. }
  241. /** @constructor */
  242. function If_(/* {expr_ty} */ test, /* {asdl_seq *} */ body, /* {asdl_seq *} */
  243. orelse, /* {int} */ lineno, /* {int} */ col_offset, /* {int}
  244. */ endlineno, /* {int} */ col_endoffset)
  245. {
  246. goog.asserts.assert(test !== null && test !== undefined);
  247. this.test = test;
  248. this.body = body;
  249. this.orelse = orelse;
  250. this.lineno = lineno;
  251. this.col_offset = col_offset;
  252. this.endlineno = endlineno;
  253. this.col_endoffset = col_endoffset;
  254. return this;
  255. }
  256. /** @constructor */
  257. function With_(/* {expr_ty} */ context_expr, /* {expr_ty} */ optional_vars, /*
  258. {asdl_seq *} */ body, /* {int} */ lineno, /* {int} */
  259. col_offset, /* {int} */ endlineno, /* {int} */
  260. col_endoffset)
  261. {
  262. goog.asserts.assert(context_expr !== null && context_expr !== undefined);
  263. this.context_expr = context_expr;
  264. this.optional_vars = optional_vars;
  265. this.body = body;
  266. this.lineno = lineno;
  267. this.col_offset = col_offset;
  268. this.endlineno = endlineno;
  269. this.col_endoffset = col_endoffset;
  270. return this;
  271. }
  272. /** @constructor */
  273. function Raise(/* {expr_ty} */ type, /* {expr_ty} */ inst, /* {expr_ty} */
  274. tback, /* {int} */ lineno, /* {int} */ col_offset, /* {int}
  275. */ endlineno, /* {int} */ col_endoffset)
  276. {
  277. this.type = type;
  278. this.inst = inst;
  279. this.tback = tback;
  280. this.lineno = lineno;
  281. this.col_offset = col_offset;
  282. this.endlineno = endlineno;
  283. this.col_endoffset = col_endoffset;
  284. return this;
  285. }
  286. /** @constructor */
  287. function TryExcept(/* {asdl_seq *} */ body, /* {asdl_seq *} */ handlers, /*
  288. {asdl_seq *} */ orelse, /* {int} */ lineno, /* {int} */
  289. col_offset, /* {int} */ endlineno, /* {int} */
  290. col_endoffset)
  291. {
  292. this.body = body;
  293. this.handlers = handlers;
  294. this.orelse = orelse;
  295. this.lineno = lineno;
  296. this.col_offset = col_offset;
  297. this.endlineno = endlineno;
  298. this.col_endoffset = col_endoffset;
  299. return this;
  300. }
  301. /** @constructor */
  302. function TryFinally(/* {asdl_seq *} */ body, /* {asdl_seq *} */ finalbody, /*
  303. {int} */ lineno, /* {int} */ col_offset, /* {int} */
  304. endlineno, /* {int} */ col_endoffset)
  305. {
  306. this.body = body;
  307. this.finalbody = finalbody;
  308. this.lineno = lineno;
  309. this.col_offset = col_offset;
  310. this.endlineno = endlineno;
  311. this.col_endoffset = col_endoffset;
  312. return this;
  313. }
  314. /** @constructor */
  315. function Assert(/* {expr_ty} */ test, /* {expr_ty} */ msg, /* {int} */ lineno,
  316. /* {int} */ col_offset, /* {int} */ endlineno, /* {int} */
  317. col_endoffset)
  318. {
  319. goog.asserts.assert(test !== null && test !== undefined);
  320. this.test = test;
  321. this.msg = msg;
  322. this.lineno = lineno;
  323. this.col_offset = col_offset;
  324. this.endlineno = endlineno;
  325. this.col_endoffset = col_endoffset;
  326. return this;
  327. }
  328. /** @constructor */
  329. function Import_(/* {asdl_seq *} */ names, /* {int} */ lineno, /* {int} */
  330. col_offset, /* {int} */ endlineno, /* {int} */
  331. col_endoffset)
  332. {
  333. this.names = names;
  334. this.lineno = lineno;
  335. this.col_offset = col_offset;
  336. this.endlineno = endlineno;
  337. this.col_endoffset = col_endoffset;
  338. return this;
  339. }
  340. /** @constructor */
  341. function ImportFrom(/* {identifier} */ module, /* {asdl_seq *} */ names, /*
  342. {int} */ level, /* {int} */ lineno, /* {int} */
  343. col_offset, /* {int} */ endlineno, /* {int} */
  344. col_endoffset)
  345. {
  346. goog.asserts.assert(module !== null && module !== undefined);
  347. this.module = module;
  348. this.names = names;
  349. this.level = level;
  350. this.lineno = lineno;
  351. this.col_offset = col_offset;
  352. this.endlineno = endlineno;
  353. this.col_endoffset = col_endoffset;
  354. return this;
  355. }
  356. /** @constructor */
  357. function Exec(/* {expr_ty} */ body, /* {expr_ty} */ globals, /* {expr_ty} */
  358. locals, /* {int} */ lineno, /* {int} */ col_offset, /* {int}
  359. */ endlineno, /* {int} */ col_endoffset)
  360. {
  361. goog.asserts.assert(body !== null && body !== undefined);
  362. this.body = body;
  363. this.globals = globals;
  364. this.locals = locals;
  365. this.lineno = lineno;
  366. this.col_offset = col_offset;
  367. this.endlineno = endlineno;
  368. this.col_endoffset = col_endoffset;
  369. return this;
  370. }
  371. /** @constructor */
  372. function Global(/* {asdl_seq *} */ names, /* {int} */ lineno, /* {int} */
  373. col_offset, /* {int} */ endlineno, /* {int} */
  374. col_endoffset)
  375. {
  376. this.names = names;
  377. this.lineno = lineno;
  378. this.col_offset = col_offset;
  379. this.endlineno = endlineno;
  380. this.col_endoffset = col_endoffset;
  381. return this;
  382. }
  383. /** @constructor */
  384. function Expr(/* {expr_ty} */ value, /* {int} */ lineno, /* {int} */
  385. col_offset, /* {int} */ endlineno, /* {int} */ col_endoffset)
  386. {
  387. goog.asserts.assert(value !== null && value !== undefined);
  388. this.value = value;
  389. this.lineno = lineno;
  390. this.col_offset = col_offset;
  391. this.endlineno = endlineno;
  392. this.col_endoffset = col_endoffset;
  393. return this;
  394. }
  395. /** @constructor */
  396. function Pass(/* {int} */ lineno, /* {int} */ col_offset, /* {int} */
  397. endlineno, /* {int} */ col_endoffset)
  398. {
  399. this.lineno = lineno;
  400. this.col_offset = col_offset;
  401. this.endlineno = endlineno;
  402. this.col_endoffset = col_endoffset;
  403. return this;
  404. }
  405. /** @constructor */
  406. function Break_(/* {int} */ lineno, /* {int} */ col_offset, /* {int} */
  407. endlineno, /* {int} */ col_endoffset)
  408. {
  409. this.lineno = lineno;
  410. this.col_offset = col_offset;
  411. this.endlineno = endlineno;
  412. this.col_endoffset = col_endoffset;
  413. return this;
  414. }
  415. /** @constructor */
  416. function Continue_(/* {int} */ lineno, /* {int} */ col_offset, /* {int} */
  417. endlineno, /* {int} */ col_endoffset)
  418. {
  419. this.lineno = lineno;
  420. this.col_offset = col_offset;
  421. this.endlineno = endlineno;
  422. this.col_endoffset = col_endoffset;
  423. return this;
  424. }
  425. /** @constructor */
  426. function Debugger_(/* {int} */ lineno, /* {int} */ col_offset, /* {int} */
  427. endlineno, /* {int} */ col_endoffset)
  428. {
  429. this.lineno = lineno;
  430. this.col_offset = col_offset;
  431. this.endlineno = endlineno;
  432. this.col_endoffset = col_endoffset;
  433. return this;
  434. }
  435. /** @constructor */
  436. function BoolOp(/* {boolop_ty} */ op, /* {asdl_seq *} */ values, /* {int} */
  437. lineno, /* {int} */ col_offset, /* {int} */ endlineno, /*
  438. {int} */ col_endoffset)
  439. {
  440. goog.asserts.assert(op !== null && op !== undefined);
  441. this.op = op;
  442. this.values = values;
  443. this.lineno = lineno;
  444. this.col_offset = col_offset;
  445. this.endlineno = endlineno;
  446. this.col_endoffset = col_endoffset;
  447. return this;
  448. }
  449. /** @constructor */
  450. function BinOp(/* {expr_ty} */ left, /* {operator_ty} */ op, /* {expr_ty} */
  451. right, /* {int} */ lineno, /* {int} */ col_offset, /* {int}
  452. */ endlineno, /* {int} */ col_endoffset)
  453. {
  454. goog.asserts.assert(left !== null && left !== undefined);
  455. goog.asserts.assert(op !== null && op !== undefined);
  456. goog.asserts.assert(right !== null && right !== undefined);
  457. this.left = left;
  458. this.op = op;
  459. this.right = right;
  460. this.lineno = lineno;
  461. this.col_offset = col_offset;
  462. this.endlineno = endlineno;
  463. this.col_endoffset = col_endoffset;
  464. return this;
  465. }
  466. /** @constructor */
  467. function UnaryOp(/* {unaryop_ty} */ op, /* {expr_ty} */ operand, /* {int} */
  468. lineno, /* {int} */ col_offset, /* {int} */ endlineno, /*
  469. {int} */ col_endoffset)
  470. {
  471. goog.asserts.assert(op !== null && op !== undefined);
  472. goog.asserts.assert(operand !== null && operand !== undefined);
  473. this.op = op;
  474. this.operand = operand;
  475. this.lineno = lineno;
  476. this.col_offset = col_offset;
  477. this.endlineno = endlineno;
  478. this.col_endoffset = col_endoffset;
  479. return this;
  480. }
  481. /** @constructor */
  482. function Lambda(/* {arguments__ty} */ args, /* {expr_ty} */ body, /* {int} */
  483. lineno, /* {int} */ col_offset, /* {int} */ endlineno, /*
  484. {int} */ col_endoffset)
  485. {
  486. goog.asserts.assert(args !== null && args !== undefined);
  487. goog.asserts.assert(body !== null && body !== undefined);
  488. this.args = args;
  489. this.body = body;
  490. this.lineno = lineno;
  491. this.col_offset = col_offset;
  492. this.endlineno = endlineno;
  493. this.col_endoffset = col_endoffset;
  494. return this;
  495. }
  496. /** @constructor */
  497. function IfExp(/* {expr_ty} */ test, /* {expr_ty} */ body, /* {expr_ty} */
  498. orelse, /* {int} */ lineno, /* {int} */ col_offset, /*
  499. {int} */ endlineno, /* {int} */ col_endoffset)
  500. {
  501. goog.asserts.assert(test !== null && test !== undefined);
  502. goog.asserts.assert(body !== null && body !== undefined);
  503. goog.asserts.assert(orelse !== null && orelse !== undefined);
  504. this.test = test;
  505. this.body = body;
  506. this.orelse = orelse;
  507. this.lineno = lineno;
  508. this.col_offset = col_offset;
  509. this.endlineno = endlineno;
  510. this.col_endoffset = col_endoffset;
  511. return this;
  512. }
  513. /** @constructor */
  514. function Dict(/* {asdl_seq *} */ keys, /* {asdl_seq *} */ values, /* {int} */
  515. lineno, /* {int} */ col_offset, /* {int} */ endlineno, /*
  516. {int} */ col_endoffset)
  517. {
  518. this.keys = keys;
  519. this.values = values;
  520. this.lineno = lineno;
  521. this.col_offset = col_offset;
  522. this.endlineno = endlineno;
  523. this.col_endoffset = col_endoffset;
  524. return this;
  525. }
  526. /** @constructor */
  527. function Set(/* {asdl_seq *} */ elts, /* {int} */ lineno, /* {int} */
  528. col_offset, /* {int} */ endlineno, /* {int} */ col_endoffset)
  529. {
  530. this.elts = elts;
  531. this.lineno = lineno;
  532. this.col_offset = col_offset;
  533. this.endlineno = endlineno;
  534. this.col_endoffset = col_endoffset;
  535. return this;
  536. }
  537. /** @constructor */
  538. function ListComp(/* {expr_ty} */ elt, /* {asdl_seq *} */ generators, /* {int}
  539. */ lineno, /* {int} */ col_offset, /* {int} */
  540. endlineno, /* {int} */ col_endoffset)
  541. {
  542. goog.asserts.assert(elt !== null && elt !== undefined);
  543. this.elt = elt;
  544. this.generators = generators;
  545. this.lineno = lineno;
  546. this.col_offset = col_offset;
  547. this.endlineno = endlineno;
  548. this.col_endoffset = col_endoffset;
  549. return this;
  550. }
  551. /** @constructor */
  552. function SetComp(/* {expr_ty} */ elt, /* {asdl_seq *} */ generators, /* {int}
  553. */ lineno, /* {int} */ col_offset, /* {int} */ endlineno,
  554. /* {int} */ col_endoffset)
  555. {
  556. goog.asserts.assert(elt !== null && elt !== undefined);
  557. this.elt = elt;
  558. this.generators = generators;
  559. this.lineno = lineno;
  560. this.col_offset = col_offset;
  561. this.endlineno = endlineno;
  562. this.col_endoffset = col_endoffset;
  563. return this;
  564. }
  565. /** @constructor */
  566. function DictComp(/* {expr_ty} */ key, /* {expr_ty} */ value, /* {asdl_seq *}
  567. */ generators, /* {int} */ lineno, /* {int} */
  568. col_offset, /* {int} */ endlineno, /* {int} */
  569. col_endoffset)
  570. {
  571. goog.asserts.assert(key !== null && key !== undefined);
  572. goog.asserts.assert(value !== null && value !== undefined);
  573. this.key = key;
  574. this.value = value;
  575. this.generators = generators;
  576. this.lineno = lineno;
  577. this.col_offset = col_offset;
  578. this.endlineno = endlineno;
  579. this.col_endoffset = col_endoffset;
  580. return this;
  581. }
  582. /** @constructor */
  583. function GeneratorExp(/* {expr_ty} */ elt, /* {asdl_seq *} */ generators, /*
  584. {int} */ lineno, /* {int} */ col_offset, /* {int} */
  585. endlineno, /* {int} */ col_endoffset)
  586. {
  587. goog.asserts.assert(elt !== null && elt !== undefined);
  588. this.elt = elt;
  589. this.generators = generators;
  590. this.lineno = lineno;
  591. this.col_offset = col_offset;
  592. this.endlineno = endlineno;
  593. this.col_endoffset = col_endoffset;
  594. return this;
  595. }
  596. /** @constructor */
  597. function Yield(/* {expr_ty} */ value, /* {int} */ lineno, /* {int} */
  598. col_offset, /* {int} */ endlineno, /* {int} */
  599. col_endoffset)
  600. {
  601. this.value = value;
  602. this.lineno = lineno;
  603. this.col_offset = col_offset;
  604. this.endlineno = endlineno;
  605. this.col_endoffset = col_endoffset;
  606. return this;
  607. }
  608. /** @constructor */
  609. function Compare(/* {expr_ty} */ left, /* {asdl_int_seq *} */ ops, /* {asdl_seq
  610. *} */ comparators, /* {int} */ lineno, /* {int} */
  611. col_offset, /* {int} */ endlineno, /* {int} */
  612. col_endoffset)
  613. {
  614. goog.asserts.assert(left !== null && left !== undefined);
  615. this.left = left;
  616. this.ops = ops;
  617. this.comparators = comparators;
  618. this.lineno = lineno;
  619. this.col_offset = col_offset;
  620. this.endlineno = endlineno;
  621. this.col_endoffset = col_endoffset;
  622. return this;
  623. }
  624. /** @constructor */
  625. function Call(/* {expr_ty} */ func, /* {asdl_seq *} */ args, /* {asdl_seq *} */
  626. keywords, /* {expr_ty} */ starargs, /* {expr_ty} */ kwargs,
  627. /* {int} */ lineno, /* {int} */ col_offset, /* {int} */
  628. endlineno, /* {int} */ col_endoffset)
  629. {
  630. goog.asserts.assert(func !== null && func !== undefined);
  631. this.func = func;
  632. this.args = args;
  633. this.keywords = keywords;
  634. this.starargs = starargs;
  635. this.kwargs = kwargs;
  636. this.lineno = lineno;
  637. this.col_offset = col_offset;
  638. this.endlineno = endlineno;
  639. this.col_endoffset = col_endoffset;
  640. return this;
  641. }
  642. /** @constructor */
  643. function Repr(/* {expr_ty} */ value, /* {int} */ lineno, /* {int} */
  644. col_offset, /* {int} */ endlineno, /* {int} */ col_endoffset)
  645. {
  646. goog.asserts.assert(value !== null && value !== undefined);
  647. this.value = value;
  648. this.lineno = lineno;
  649. this.col_offset = col_offset;
  650. this.endlineno = endlineno;
  651. this.col_endoffset = col_endoffset;
  652. return this;
  653. }
  654. /** @constructor */
  655. function Num(/* {object} */ n, /* {int} */ lineno, /* {int} */ col_offset, /*
  656. {int} */ endlineno, /* {int} */ col_endoffset)
  657. {
  658. goog.asserts.assert(n !== null && n !== undefined);
  659. this.n = n;
  660. this.lineno = lineno;
  661. this.col_offset = col_offset;
  662. this.endlineno = endlineno;
  663. this.col_endoffset = col_endoffset;
  664. return this;
  665. }
  666. /** @constructor */
  667. function Str(/* {string} */ s, /* {int} */ lineno, /* {int} */ col_offset, /*
  668. {int} */ endlineno, /* {int} */ col_endoffset)
  669. {
  670. goog.asserts.assert(s !== null && s !== undefined);
  671. this.s = s;
  672. this.lineno = lineno;
  673. this.col_offset = col_offset;
  674. this.endlineno = endlineno;
  675. this.col_endoffset = col_endoffset;
  676. return this;
  677. }
  678. /** @constructor */
  679. function Attribute(/* {expr_ty} */ value, /* {identifier} */ attr, /*
  680. {expr_context_ty} */ ctx, /* {int} */ lineno, /* {int}
  681. */ col_offset, /* {int} */ endlineno, /* {int} */
  682. col_endoffset)
  683. {
  684. goog.asserts.assert(value !== null && value !== undefined);
  685. goog.asserts.assert(attr !== null && attr !== undefined);
  686. goog.asserts.assert(ctx !== null && ctx !== undefined);
  687. this.value = value;
  688. this.attr = attr;
  689. this.ctx = ctx;
  690. this.lineno = lineno;
  691. this.col_offset = col_offset;
  692. this.endlineno = endlineno;
  693. this.col_endoffset = col_endoffset;
  694. return this;
  695. }
  696. /** @constructor */
  697. function Subscript(/* {expr_ty} */ value, /* {slice_ty} */ slice, /*
  698. {expr_context_ty} */ ctx, /* {int} */ lineno, /* {int}
  699. */ col_offset, /* {int} */ endlineno, /* {int} */
  700. col_endoffset)
  701. {
  702. goog.asserts.assert(value !== null && value !== undefined);
  703. goog.asserts.assert(slice !== null && slice !== undefined);
  704. goog.asserts.assert(ctx !== null && ctx !== undefined);
  705. this.value = value;
  706. this.slice = slice;
  707. this.ctx = ctx;
  708. this.lineno = lineno;
  709. this.col_offset = col_offset;
  710. this.endlineno = endlineno;
  711. this.col_endoffset = col_endoffset;
  712. return this;
  713. }
  714. /** @constructor */
  715. function Name(/* {identifier} */ id, /* {expr_context_ty} */ ctx, /* {int} */
  716. lineno, /* {int} */ col_offset, /* {int} */ endlineno, /*
  717. {int} */ col_endoffset)
  718. {
  719. goog.asserts.assert(id !== null && id !== undefined);
  720. goog.asserts.assert(ctx !== null && ctx !== undefined);
  721. this.id = id;
  722. this.ctx = ctx;
  723. this.lineno = lineno;
  724. this.col_offset = col_offset;
  725. this.endlineno = endlineno;
  726. this.col_endoffset = col_endoffset;
  727. return this;
  728. }
  729. /** @constructor */
  730. function List(/* {asdl_seq *} */ elts, /* {expr_context_ty} */ ctx, /* {int} */
  731. lineno, /* {int} */ col_offset, /* {int} */ endlineno, /*
  732. {int} */ col_endoffset)
  733. {
  734. goog.asserts.assert(ctx !== null && ctx !== undefined);
  735. this.elts = elts;
  736. this.ctx = ctx;
  737. this.lineno = lineno;
  738. this.col_offset = col_offset;
  739. this.endlineno = endlineno;
  740. this.col_endoffset = col_endoffset;
  741. return this;
  742. }
  743. /** @constructor */
  744. function Tuple(/* {asdl_seq *} */ elts, /* {expr_context_ty} */ ctx, /* {int}
  745. */ lineno, /* {int} */ col_offset, /* {int} */ endlineno,
  746. /* {int} */ col_endoffset)
  747. {
  748. goog.asserts.assert(ctx !== null && ctx !== undefined);
  749. this.elts = elts;
  750. this.ctx = ctx;
  751. this.lineno = lineno;
  752. this.col_offset = col_offset;
  753. this.endlineno = endlineno;
  754. this.col_endoffset = col_endoffset;
  755. return this;
  756. }
  757. /** @constructor */
  758. function Ellipsis()
  759. {
  760. return this;
  761. }
  762. /** @constructor */
  763. function Slice(/* {expr_ty} */ lower, /* {expr_ty} */ upper, /* {expr_ty} */
  764. step)
  765. {
  766. this.lower = lower;
  767. this.upper = upper;
  768. this.step = step;
  769. return this;
  770. }
  771. /** @constructor */
  772. function ExtSlice(/* {asdl_seq *} */ dims)
  773. {
  774. this.dims = dims;
  775. return this;
  776. }
  777. /** @constructor */
  778. function Index(/* {expr_ty} */ value)
  779. {
  780. goog.asserts.assert(value !== null && value !== undefined);
  781. this.value = value;
  782. return this;
  783. }
  784. /** @constructor */
  785. function comprehension(/* {expr_ty} */ target, /* {expr_ty} */ iter, /*
  786. {asdl_seq *} */ ifs)
  787. {
  788. goog.asserts.assert(target !== null && target !== undefined);
  789. goog.asserts.assert(iter !== null && iter !== undefined);
  790. this.target = target;
  791. this.iter = iter;
  792. this.ifs = ifs;
  793. return this;
  794. }
  795. /** @constructor */
  796. function ExceptHandler(/* {expr_ty} */ type, /* {expr_ty} */ name, /* {asdl_seq
  797. *} */ body, /* {int} */ lineno, /* {int} */
  798. col_offset, /* {int} */ endlineno, /* {int} */
  799. col_endoffset)
  800. {
  801. this.type = type;
  802. this.name = name;
  803. this.body = body;
  804. this.lineno = lineno;
  805. this.col_offset = col_offset;
  806. this.endlineno = endlineno;
  807. this.col_endoffset = col_endoffset;
  808. return this;
  809. }
  810. /** @constructor */
  811. function arguments_(/* {asdl_seq *} */ args, /* {identifier} */ vararg, /*
  812. {identifier} */ kwarg, /* {asdl_seq *} */ defaults)
  813. {
  814. this.args = args;
  815. this.vararg = vararg;
  816. this.kwarg = kwarg;
  817. this.defaults = defaults;
  818. return this;
  819. }
  820. /** @constructor */
  821. function keyword(/* {identifier} */ arg, /* {expr_ty} */ value)
  822. {
  823. goog.asserts.assert(arg !== null && arg !== undefined);
  824. goog.asserts.assert(value !== null && value !== undefined);
  825. this.arg = arg;
  826. this.value = value;
  827. return this;
  828. }
  829. /** @constructor */
  830. function alias(/* {identifier} */ name, /* {identifier} */ asname)
  831. {
  832. goog.asserts.assert(name !== null && name !== undefined);
  833. this.name = name;
  834. this.asname = asname;
  835. return this;
  836. }
  837. Module.prototype._astname = "Module";
  838. Module.prototype._fields = [
  839. "body", function(n) { return n.body; }
  840. ];
  841. Interactive.prototype._astname = "Interactive";
  842. Interactive.prototype._fields = [
  843. "body", function(n) { return n.body; }
  844. ];
  845. Expression.prototype._astname = "Expression";
  846. Expression.prototype._fields = [
  847. "body", function(n) { return n.body; }
  848. ];
  849. Suite.prototype._astname = "Suite";
  850. Suite.prototype._fields = [
  851. "body", function(n) { return n.body; }
  852. ];
  853. FunctionDef.prototype._astname = "FunctionDef";
  854. FunctionDef.prototype._fields = [
  855. "name", function(n) { return n.name; },
  856. "args", function(n) { return n.args; },
  857. "body", function(n) { return n.body; },
  858. "decorator_list", function(n) { return n.decorator_list; }
  859. ];
  860. ClassDef.prototype._astname = "ClassDef";
  861. ClassDef.prototype._fields = [
  862. "name", function(n) { return n.name; },
  863. "bases", function(n) { return n.bases; },
  864. "body", function(n) { return n.body; },
  865. "decorator_list", function(n) { return n.decorator_list; }
  866. ];
  867. Return_.prototype._astname = "Return";
  868. Return_.prototype._fields = [
  869. "value", function(n) { return n.value; }
  870. ];
  871. Delete_.prototype._astname = "Delete";
  872. Delete_.prototype._fields = [
  873. "targets", function(n) { return n.targets; }
  874. ];
  875. Assign.prototype._astname = "Assign";
  876. Assign.prototype._fields = [
  877. "targets", function(n) { return n.targets; },
  878. "value", function(n) { return n.value; }
  879. ];
  880. AugAssign.prototype._astname = "AugAssign";
  881. AugAssign.prototype._fields = [
  882. "target", function(n) { return n.target; },
  883. "op", function(n) { return n.op; },
  884. "value", function(n) { return n.value; }
  885. ];
  886. Print.prototype._astname = "Print";
  887. Print.prototype._fields = [
  888. "dest", function(n) { return n.dest; },
  889. "values", function(n) { return n.values; },
  890. "nl", function(n) { return n.nl; }
  891. ];
  892. For_.prototype._astname = "For";
  893. For_.prototype._fields = [
  894. "target", function(n) { return n.target; },
  895. "iter", function(n) { return n.iter; },
  896. "body", function(n) { return n.body; },
  897. "orelse", function(n) { return n.orelse; }
  898. ];
  899. While_.prototype._astname = "While";
  900. While_.prototype._fields = [
  901. "test", function(n) { return n.test; },
  902. "body", function(n) { return n.body; },
  903. "orelse", function(n) { return n.orelse; }
  904. ];
  905. If_.prototype._astname = "If";
  906. If_.prototype._fields = [
  907. "test", function(n) { return n.test; },
  908. "body", function(n) { return n.body; },
  909. "orelse", function(n) { return n.orelse; }
  910. ];
  911. With_.prototype._astname = "With";
  912. With_.prototype._fields = [
  913. "context_expr", function(n) { return n.context_expr; },
  914. "optional_vars", function(n) { return n.optional_vars; },
  915. "body", function(n) { return n.body; }
  916. ];
  917. Raise.prototype._astname = "Raise";
  918. Raise.prototype._fields = [
  919. "type", function(n) { return n.type; },
  920. "inst", function(n) { return n.inst; },
  921. "tback", function(n) { return n.tback; }
  922. ];
  923. TryExcept.prototype._astname = "TryExcept";
  924. TryExcept.prototype._fields = [
  925. "body", function(n) { return n.body; },
  926. "handlers", function(n) { return n.handlers; },
  927. "orelse", function(n) { return n.orelse; }
  928. ];
  929. TryFinally.prototype._astname = "TryFinally";
  930. TryFinally.prototype._fields = [
  931. "body", function(n) { return n.body; },
  932. "finalbody", function(n) { return n.finalbody; }
  933. ];
  934. Assert.prototype._astname = "Assert";
  935. Assert.prototype._fields = [
  936. "test", function(n) { return n.test; },
  937. "msg", function(n) { return n.msg; }
  938. ];
  939. Import_.prototype._astname = "Import";
  940. Import_.prototype._fields = [
  941. "names", function(n) { return n.names; }
  942. ];
  943. ImportFrom.prototype._astname = "ImportFrom";
  944. ImportFrom.prototype._fields = [
  945. "module", function(n) { return n.module; },
  946. "names", function(n) { return n.names; },
  947. "level", function(n) { return n.level; }
  948. ];
  949. Exec.prototype._astname = "Exec";
  950. Exec.prototype._fields = [
  951. "body", function(n) { return n.body; },
  952. "globals", function(n) { return n.globals; },
  953. "locals", function(n) { return n.locals; }
  954. ];
  955. Global.prototype._astname = "Global";
  956. Global.prototype._fields = [
  957. "names", function(n) { return n.names; }
  958. ];
  959. Expr.prototype._astname = "Expr";
  960. Expr.prototype._fields = [
  961. "value", function(n) { return n.value; }
  962. ];
  963. Pass.prototype._astname = "Pass";
  964. Pass.prototype._fields = [
  965. ];
  966. Break_.prototype._astname = "Break";
  967. Break_.prototype._fields = [
  968. ];
  969. Continue_.prototype._astname = "Continue";
  970. Continue_.prototype._fields = [
  971. ];
  972. Debugger_.prototype._astname = "Debugger";
  973. Debugger_.prototype._fields = [
  974. ];
  975. BoolOp.prototype._astname = "BoolOp";
  976. BoolOp.prototype._fields = [
  977. "op", function(n) { return n.op; },
  978. "values", function(n) { return n.values; }
  979. ];
  980. BinOp.prototype._astname = "BinOp";
  981. BinOp.prototype._fields = [
  982. "left", function(n) { return n.left; },
  983. "op", function(n) { return n.op; },
  984. "right", function(n) { return n.right; }
  985. ];
  986. UnaryOp.prototype._astname = "UnaryOp";
  987. UnaryOp.prototype._fields = [
  988. "op", function(n) { return n.op; },
  989. "operand", function(n) { return n.operand; }
  990. ];
  991. Lambda.prototype._astname = "Lambda";
  992. Lambda.prototype._fields = [
  993. "args", function(n) { return n.args; },
  994. "body", function(n) { return n.body; }
  995. ];
  996. IfExp.prototype._astname = "IfExp";
  997. IfExp.prototype._fields = [
  998. "test", function(n) { return n.test; },
  999. "body", function(n) { return n.body; },
  1000. "orelse", function(n) { return n.orelse; }
  1001. ];
  1002. Dict.prototype._astname = "Dict";
  1003. Dict.prototype._fields = [
  1004. "keys", function(n) { return n.keys; },
  1005. "values", function(n) { return n.values; }
  1006. ];
  1007. Set.prototype._astname = "Set";
  1008. Set.prototype._fields = [
  1009. "elts", function(n) { return n.elts; }
  1010. ];
  1011. ListComp.prototype._astname = "ListComp";
  1012. ListComp.prototype._fields = [
  1013. "elt", function(n) { return n.elt; },
  1014. "generators", function(n) { return n.generators; }
  1015. ];
  1016. SetComp.prototype._astname = "SetComp";
  1017. SetComp.prototype._fields = [
  1018. "elt", function(n) { return n.elt; },
  1019. "generators", function(n) { return n.generators; }
  1020. ];
  1021. DictComp.prototype._astname = "DictComp";
  1022. DictComp.prototype._fields = [
  1023. "key", function(n) { return n.key; },
  1024. "value", function(n) { return n.value; },
  1025. "generators", function(n) { return n.generators; }
  1026. ];
  1027. GeneratorExp.prototype._astname = "GeneratorExp";
  1028. GeneratorExp.prototype._fields = [
  1029. "elt", function(n) { return n.elt; },
  1030. "generators", function(n) { return n.generators; }
  1031. ];
  1032. Yield.prototype._astname = "Yield";
  1033. Yield.prototype._fields = [
  1034. "value", function(n) { return n.value; }
  1035. ];
  1036. Compare.prototype._astname = "Compare";
  1037. Compare.prototype._fields = [
  1038. "left", function(n) { return n.left; },
  1039. "ops", function(n) { return n.ops; },
  1040. "comparators", function(n) { return n.comparators; }
  1041. ];
  1042. Call.prototype._astname = "Call";
  1043. Call.prototype._fields = [
  1044. "func", function(n) { return n.func; },
  1045. "args", function(n) { return n.args; },
  1046. "keywords", function(n) { return n.keywords; },
  1047. "starargs", function(n) { return n.starargs; },
  1048. "kwargs", function(n) { return n.kwargs; }
  1049. ];
  1050. Repr.prototype._astname = "Repr";
  1051. Repr.prototype._fields = [
  1052. "value", function(n) { return n.value; }
  1053. ];
  1054. Num.prototype._astname = "Num";
  1055. Num.prototype._fields = [
  1056. "n", function(n) { return n.n; }
  1057. ];
  1058. Str.prototype._astname = "Str";
  1059. Str.prototype._fields = [
  1060. "s", function(n) { return n.s; }
  1061. ];
  1062. Attribute.prototype._astname = "Attribute";
  1063. Attribute.prototype._fields = [
  1064. "value", function(n) { return n.value; },
  1065. "attr", function(n) { return n.attr; },
  1066. "ctx", function(n) { return n.ctx; }
  1067. ];
  1068. Subscript.prototype._astname = "Subscript";
  1069. Subscript.prototype._fields = [
  1070. "value", function(n) { return n.value; },
  1071. "slice", function(n) { return n.slice; },
  1072. "ctx", function(n) { return n.ctx; }
  1073. ];
  1074. Name.prototype._astname = "Name";
  1075. Name.prototype._fields = [
  1076. "id", function(n) { return n.id; },
  1077. "ctx", function(n) { return n.ctx; }
  1078. ];
  1079. List.prototype._astname = "List";
  1080. List.prototype._fields = [
  1081. "elts", function(n) { return n.elts; },
  1082. "ctx", function(n) { return n.ctx; }
  1083. ];
  1084. Tuple.prototype._astname = "Tuple";
  1085. Tuple.prototype._fields = [
  1086. "elts", function(n) { return n.elts; },
  1087. "ctx", function(n) { return n.ctx; }
  1088. ];
  1089. Load.prototype._astname = "Load";
  1090. Load.prototype._isenum = true;
  1091. Store.prototype._astname = "Store";
  1092. Store.prototype._isenum = true;
  1093. Del.prototype._astname = "Del";
  1094. Del.prototype._isenum = true;
  1095. AugLoad.prototype._astname = "AugLoad";
  1096. AugLoad.prototype._isenum = true;
  1097. AugStore.prototype._astname = "AugStore";
  1098. AugStore.prototype._isenum = true;
  1099. Param.prototype._astname = "Param";
  1100. Param.prototype._isenum = true;
  1101. Ellipsis.prototype._astname = "Ellipsis";
  1102. Ellipsis.prototype._fields = [
  1103. ];
  1104. Slice.prototype._astname = "Slice";
  1105. Slice.prototype._fields = [
  1106. "lower", function(n) { return n.lower; },
  1107. "upper", function(n) { return n.upper; },
  1108. "step", function(n) { return n.step; }
  1109. ];
  1110. ExtSlice.prototype._astname = "ExtSlice";
  1111. ExtSlice.prototype._fields = [
  1112. "dims", function(n) { return n.dims; }
  1113. ];
  1114. Index.prototype._astname = "Index";
  1115. Index.prototype._fields = [
  1116. "value", function(n) { return n.value; }
  1117. ];
  1118. And.prototype._astname = "And";
  1119. And.prototype._isenum = true;
  1120. Or.prototype._astname = "Or";
  1121. Or.prototype._isenum = true;
  1122. Add.prototype._astname = "Add";
  1123. Add.prototype._isenum = true;
  1124. Sub.prototype._astname = "Sub";
  1125. Sub.prototype._isenum = true;
  1126. Mult.prototype._astname = "Mult";
  1127. Mult.prototype._isenum = true;
  1128. Div.prototype._astname = "Div";
  1129. Div.prototype._isenum = true;
  1130. Mod.prototype._astname = "Mod";
  1131. Mod.prototype._isenum = true;
  1132. Pow.prototype._astname = "Pow";
  1133. Pow.prototype._isenum = true;
  1134. LShift.prototype._astname = "LShift";
  1135. LShift.prototype._isenum = true;
  1136. RShift.prototype._astname = "RShift";
  1137. RShift.prototype._isenum = true;
  1138. BitOr.prototype._astname = "BitOr";
  1139. BitOr.prototype._isenum = true;
  1140. BitXor.prototype._astname = "BitXor";
  1141. BitXor.prototype._isenum = true;
  1142. BitAnd.prototype._astname = "BitAnd";
  1143. BitAnd.prototype._isenum = true;
  1144. FloorDiv.prototype._astname = "FloorDiv";
  1145. FloorDiv.prototype._isenum = true;
  1146. Invert.prototype._astname = "Invert";
  1147. Invert.prototype._isenum = true;
  1148. Not.prototype._astname = "Not";
  1149. Not.prototype._isenum = true;
  1150. UAdd.prototype._astname = "UAdd";
  1151. UAdd.prototype._isenum = true;
  1152. USub.prototype._astname = "USub";
  1153. USub.prototype._isenum = true;
  1154. Eq.prototype._astname = "Eq";
  1155. Eq.prototype._isenum = true;
  1156. NotEq.prototype._astname = "NotEq";
  1157. NotEq.prototype._isenum = true;
  1158. Lt.prototype._astname = "Lt";
  1159. Lt.prototype._isenum = true;
  1160. LtE.prototype._astname = "LtE";
  1161. LtE.prototype._isenum = true;
  1162. Gt.prototype._astname = "Gt";
  1163. Gt.prototype._isenum = true;
  1164. GtE.prototype._astname = "GtE";
  1165. GtE.prototype._isenum = true;
  1166. Is.prototype._astname = "Is";
  1167. Is.prototype._isenum = true;
  1168. IsNot.prototype._astname = "IsNot";
  1169. IsNot.prototype._isenum = true;
  1170. In_.prototype._astname = "In";
  1171. In_.prototype._isenum = true;
  1172. NotIn.prototype._astname = "NotIn";
  1173. NotIn.prototype._isenum = true;
  1174. comprehension.prototype._astname = "comprehension";
  1175. comprehension.prototype._fields = [
  1176. "target", function(n) { return n.target; },
  1177. "iter", function(n) { return n.iter; },
  1178. "ifs", function(n) { return n.ifs; }
  1179. ];
  1180. ExceptHandler.prototype._astname = "ExceptHandler";
  1181. ExceptHandler.prototype._fields = [
  1182. "type", function(n) { return n.type; },
  1183. "name", function(n) { return n.name; },
  1184. "body", function(n) { return n.body; }
  1185. ];
  1186. arguments_.prototype._astname = "arguments";
  1187. arguments_.prototype._fields = [
  1188. "args", function(n) { return n.args; },
  1189. "vararg", function(n) { return n.vararg; },
  1190. "kwarg", function(n) { return n.kwarg; },
  1191. "defaults", function(n) { return n.defaults; }
  1192. ];
  1193. keyword.prototype._astname = "keyword";
  1194. keyword.prototype._fields = [
  1195. "arg", function(n) { return n.arg; },
  1196. "value", function(n) { return n.value; }
  1197. ];
  1198. alias.prototype._astname = "alias";
  1199. alias.prototype._fields = [
  1200. "name", function(n) { return n.name; },
  1201. "asname", function(n) { return n.asname; }
  1202. ];