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

Public Member Functions

def visit_primitive_node
 
- Public Member Functions inherited from TableFunctionsFactory_transformers.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 TableFunctionsFactory_transformers.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 241 of file TableFunctionsFactory_transformers.py.

Member Function Documentation

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

Definition at line 242 of file TableFunctionsFactory_transformers.py.

243  def visit_primitive_node(self, primitive_node):
244  """
245  * Rename nodes using util.translate_map as dictionary
246  int -> Int32
247  float -> Float
248  """
249  t = primitive_node.type
250  return primitive_node.copy(util.translate_map.get(t, t))
251 

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