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

Public Member Functions

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

Only overload the methods you need

Definition at line 645 of file generate_TableFunctionsFactory_init.py.

Member Function Documentation

def generate_TableFunctionsFactory_init.AstTransformer.visit_annotation_node (   self,
  annotation_node 
)

Definition at line 675 of file generate_TableFunctionsFactory_init.py.

676  def visit_annotation_node(self, annotation_node):
677  return copy.copy(annotation_node)
678 
def generate_TableFunctionsFactory_init.AstTransformer.visit_arg_node (   self,
  arg_node 
)

Definition at line 662 of file generate_TableFunctionsFactory_init.py.

663  def visit_arg_node(self, arg_node):
664  arg_node = copy.copy(arg_node)
665  arg_node.type = arg_node.type.accept(self)
666  if arg_node.annotations:
667  arg_node.annotations = [a.accept(self) for a in arg_node.annotations]
668  return arg_node
def generate_TableFunctionsFactory_init.AstTransformer.visit_composed_node (   self,
  composed_node 
)

Definition at line 657 of file generate_TableFunctionsFactory_init.py.

658  def visit_composed_node(self, composed_node):
659  c = copy.copy(composed_node)
660  c.inner = [i.accept(self) for i in c.inner]
661  return c
def generate_TableFunctionsFactory_init.AstTransformer.visit_primitive_node (   self,
  primitive_node 
)

Definition at line 669 of file generate_TableFunctionsFactory_init.py.

670  def visit_primitive_node(self, primitive_node):
671  return copy.copy(primitive_node)
def generate_TableFunctionsFactory_init.AstTransformer.visit_template_node (   self,
  template_node 
)

Definition at line 672 of file generate_TableFunctionsFactory_init.py.

673  def visit_template_node(self, template_node):
674  return copy.copy(template_node)
def generate_TableFunctionsFactory_init.AstTransformer.visit_udtf_node (   self,
  udtf_node 
)

Definition at line 648 of file generate_TableFunctionsFactory_init.py.

649  def visit_udtf_node(self, udtf_node):
650  udtf = copy.copy(udtf_node)
651  udtf.inputs = [arg.accept(self) for arg in udtf.inputs]
652  udtf.outputs = [arg.accept(self) for arg in udtf.outputs]
653  if udtf.templates:
654  udtf.templates = [t.accept(self) for t in udtf.templates]
655  udtf.annotations = [annot.accept(self) for annot in udtf.annotations]
656  return udtf

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