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

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 825 of file generate_TableFunctionsFactory_init.py.

Member Function Documentation

def generate_TableFunctionsFactory_init.RenameNodesTransformer.visit_primitive_node (   self,
  primitive_node 
)
* Rename nodes using translate_map as dictionary
    int -> Int32
    float -> Float

Definition at line 826 of file generate_TableFunctionsFactory_init.py.

827  def visit_primitive_node(self, primitive_node):
828  """
829  * Rename nodes using translate_map as dictionary
830  int -> Int32
831  float -> Float
832  """
833  t = primitive_node.type
834  return primitive_node.copy(translate_map.get(t, t))
835 

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