Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
_markerlib.markers.ASTWhitelist Class Reference
Inheritance diagram for _markerlib.markers.ASTWhitelist:

Public Member Functions

def __init__
 
def visit
 
def visit_Attribute
 

Public Attributes

 statement
 

Static Public Attributes

tuple ALLOWED = (ast.Compare, ast.BoolOp, ast.Attribute, ast.Name, ast.Load, ast.Str)
 

Constructor & Destructor Documentation

def _markerlib.markers.ASTWhitelist.__init__ (   self,
  statement 
)

Member Function Documentation

def _markerlib.markers.ASTWhitelist.visit (   self,
  node 
)
Ensure statement only contains allowed nodes.
def _markerlib.markers.ASTWhitelist.visit_Attribute (   self,
  node 
)
Flatten one level of attribute access.

Member Data Documentation

tuple _markerlib.markers.ASTWhitelist.ALLOWED = (ast.Compare, ast.BoolOp, ast.Attribute, ast.Name, ast.Load, ast.Str)
static
_markerlib.markers.ASTWhitelist.statement

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

Copyright 2014 Google Inc. All rights reserved.