Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad TupleLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad NameLoad body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad AttributeLoad NameLoad attr Str Return TupleLoad NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad AttributeLoad NameLoad attr Str orelse If BoolOpAnd CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Num Call NameLoad NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list If NameLoad body Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad If NameLoad body Assert Call NameLoad NameLoad NameLoad Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list
N/A N/A 
This module deals with interpreting the parse tree as Python
would have done, in the compiler.

For now this only covers parse tree to value conversion of
compile-time values.
 __future__ absolute_import Nodes * ExprNodes * Errors CompileError EmptyScope N/A object N/A lookup N/A N/A self name N/A N/A N/A None N/A N/A N/A empty_scope N/A EmptyScope interpret_compiletime_options N/A N/A optlist optdict type_env type_args N/A None N/A N/A N/A 
    Tries to interpret a list of compile time option nodes.
    The result will be a tuple (optlist, optdict) but where
    all expression nodes have been interpreted. The result is
    in the form of tuples (value, pos).

    optlist is a list of nodes, while optdict is a DictNode (the
    result optdict is a dict)

    If type_env is set, all type nodes will be analysed and the resulting
    type set. Otherwise only interpretateable ExprNodes
    are allowed, other nodes raises errors.

    A CompileError will be raised if there are problems.
     interpret N/A N/A node ix N/A N/A N/A N/A ix type_args N/A N/A type_env N/A N/A type N/A N/A node analyse_as_type type_env N/A N/A type N/A N/A N/A CompileError N/A node pos Invalid type. N/A N/A type N/A node pos N/A N/A N/A CompileError N/A node pos Type not allowed here. N/A N/A N/A N/A N/A N/A sys version_info N/A 0 3 N/A isinstance node StringNode N/A N/A node unicode_value None N/A N/A N/A N/A node unicode_value N/A node pos N/A N/A N/A N/A node compile_time_value empty_scope N/A node pos N/A N/A optlist N/A N/A optlist N/A N/A interpret x ix N/A N/A ix x N/A enumerate optlist N/A optdict N/A N/A N/A isinstance optdict DictNode N/A new_optdict N/A N/A item N/A optdict key_value_pairs N/A N/A N/A new_key dummy N/A interpret N/A item key None N/A N/A new_optdict N/A new_key N/A interpret N/A item value N/A N/A item key value N/A optdict new_optdict N/A N/A optlist new_optdict N/A