OmniSciDB  ca0c39ec8f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
generate_TableFunctionsFactory_init.FixRowMultiplierPosArgTransformer Class Reference
+ Inheritance diagram for generate_TableFunctionsFactory_init.FixRowMultiplierPosArgTransformer:
+ Collaboration diagram for generate_TableFunctionsFactory_init.FixRowMultiplierPosArgTransformer:

Public Member Functions

def visit_primitive_node
 
- Public Member Functions inherited from generate_TableFunctionsFactory_init.AstTransformer
def visit_udtf_node
 
def visit_composed_node
 
def visit_arg_node
 
def visit_primitive_node
 
def visit_template_node
 
def visit_annotation_node
 
- Public Member Functions inherited from generate_TableFunctionsFactory_init.AstVisitor
def visit_udtf_node
 
def visit_composed_node
 
def visit_arg_node
 
def visit_primitive_node
 
def visit_annotation_node
 
def visit_template_node
 

Detailed Description

Definition at line 810 of file generate_TableFunctionsFactory_init.py.

Member Function Documentation

def generate_TableFunctionsFactory_init.FixRowMultiplierPosArgTransformer.visit_primitive_node (   self,
  primitive_node 
)
* Fix kUserSpecifiedRowMultiplier without a pos arg

Definition at line 811 of file generate_TableFunctionsFactory_init.py.

812  def visit_primitive_node(self, primitive_node):
813  """
814  * Fix kUserSpecifiedRowMultiplier without a pos arg
815  """
816  t = primitive_node.type
817 
818  if primitive_node.is_output_buffer_sizer():
819  pos = PrimitiveNode(str(primitive_node.get_parent(ArgNode).arg_pos + 1))
820  node = ComposedNode(t, inner=[pos])
821  return node
822 
823  return primitive_node
824 

The documentation for this class was generated from the following file: