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

Public Member Functions

def visit_arg_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

* Move a "require" annotation from inside a cursor to the cursor

Definition at line 451 of file TableFunctionsFactory_transformers.py.

Member Function Documentation

def TableFunctionsFactory_transformers.CursorAnnotationTransformer.visit_arg_node (   self,
  arg_node 
)

Definition at line 456 of file TableFunctionsFactory_transformers.py.

457  def visit_arg_node(self, arg_node):
458  if arg_node.type.is_cursor():
459  for inner in arg_node.type.inner:
460  for ann in inner.annotations:
461  if ann.key == 'require':
462  arg_node.annotations.append(ann)
463  return arg_node
464 

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