yql_res_expr_nodes.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "NodeRootType": "TExprBase",
  3. "NodeBuilderBase": "TNodeBuilderBase",
  4. "ListBuilderBase": "TListBuilderBase",
  5. "FreeArgCallableBase": "TFreeArgCallable",
  6. "FreeArgBuilderBase": "TFreeArgCallableBuilderBase",
  7. "Nodes": [
  8. {
  9. "Name": "TResultDataSink",
  10. "Base": "TCallable",
  11. "Definition": "Custom",
  12. "Builder": {"Generate": "None"},
  13. "Match": {"Type": "Callable", "Name": "DataSink"},
  14. "Children": [
  15. {"Index": 0, "Name": "Category", "Type": "TCoAtom"}
  16. ]
  17. },
  18. {
  19. "Name": "TResBase",
  20. "Base": "TCallable",
  21. "Match": {"Type": "CallableBase"},
  22. "Builder": {"Generate": "None"},
  23. "Children": [
  24. {"Index": 0, "Name": "World", "Type": "TExprBase"},
  25. {"Index": 1, "Name": "DataSink", "Type": "TResultDataSink"}
  26. ]
  27. },
  28. {
  29. "Name": "TResWriteBase",
  30. "Base": "TResBase",
  31. "Match": {"Type": "CallableBase"},
  32. "Builder": {"Generate": "None"},
  33. "Children": [
  34. {"Index": 2, "Name": "Key", "Type": "TCoKey"},
  35. {"Index": 3, "Name": "Data", "Type": "TExprBase"},
  36. {"Index": 4, "Name": "Settings", "Type": "TCoNameValueTupleList"}
  37. ]
  38. },
  39. {
  40. "Name": "TResWrite",
  41. "Base": "TResWriteBase",
  42. "Match": {"Type": "Callable", "Name": "ResWrite!"}
  43. },
  44. {
  45. "Name": "TResTransientBase",
  46. "Base": "TResWriteBase",
  47. "Match": {"Type": "CallableBase"},
  48. "Builder": {"Generate": "None"},
  49. "Children": [
  50. {"Index": 5, "Name": "DelegatedSource", "Type": "TCoAtom"}
  51. ]
  52. },
  53. {
  54. "Name": "TResFill",
  55. "Base": "TResTransientBase",
  56. "Match": {"Type": "Callable", "Name": "ResFill!"}
  57. },
  58. {
  59. "Name": "TResPull",
  60. "Base": "TResTransientBase",
  61. "Match": {"Type": "Callable", "Name": "ResPull!"}
  62. },
  63. {
  64. "Name": "TResIf",
  65. "Base": "TResBase",
  66. "Match": {"Type": "Callable", "Name": "ResIf!"},
  67. "Children": [
  68. {"Index": 2, "Name": "Condition", "Type": "TExprBase"},
  69. {"Index": 3, "Name": "Then", "Type": "TExprBase"},
  70. {"Index": 4, "Name": "Else", "Type": "TExprBase"},
  71. {"Index": 5, "Name": "DelegatedSource", "Type": "TCoAtom"},
  72. {"Index": 6, "Name": "Settings", "Type": "TCoNameValueTupleList"}
  73. ]
  74. },
  75. {
  76. "Name": "TResOrPullBase",
  77. "Base": "TCallable",
  78. "Match": {"Type": "CallableBase"},
  79. "Builder": {"Generate": "None"},
  80. "Children": [
  81. {"Index": 0, "Name": "Input", "Type": "TExprBase"},
  82. {"Index": 1, "Name": "BytesLimit", "Type": "TCoAtom"},
  83. {"Index": 2, "Name": "RowsLimit", "Type": "TCoAtom"},
  84. {"Index": 3, "Name": "FormatDetails", "Type": "TCoAtom"},
  85. {"Index": 4, "Name": "Settings", "Type": "TCoNameValueTupleList"},
  86. {"Index": 5, "Name": "Format", "Type": "TCoAtom"},
  87. {"Index": 6, "Name": "PublicId", "Type": "TCoAtom"},
  88. {"Index": 7, "Name": "Discard", "Type": "TCoAtom"},
  89. {"Index": 8, "Name": "Origin", "Type": "TExprBase"}
  90. ]
  91. },
  92. {
  93. "Name": "TResult",
  94. "Base": "TResOrPullBase",
  95. "Match": {"Type": "Callable", "Name": "Result"}
  96. },
  97. {
  98. "Name": "TPull",
  99. "Base": "TResOrPullBase",
  100. "Match": {"Type": "Callable", "Name": "Pull"}
  101. },
  102. {
  103. "Name": "TResFor",
  104. "Base": "TResBase",
  105. "Match": {"Type": "Callable", "Name": "ResFor!"},
  106. "Children": [
  107. {"Index": 2, "Name": "Items", "Type": "TExprBase"},
  108. {"Index": 3, "Name": "Iter", "Type": "TCoLambda"},
  109. {"Index": 4, "Name": "Else", "Type": "TCoLambda"},
  110. {"Index": 5, "Name": "DelegatedSource", "Type": "TCoAtom"},
  111. {"Index": 6, "Name": "Settings", "Type": "TCoNameValueTupleList"},
  112. {"Index": 7, "Name": "Total", "Type": "TCoAtom"},
  113. {"Index": 8, "Name": "Current", "Type": "TCoAtom"},
  114. {"Index": 9, "Name": "Active", "Type": "TExprBase"}
  115. ]
  116. }
  117. ]
  118. }