def __init__( self, name, base_classes, body_stmts ): PepValue.__init__( self ) self.name = name self.base_classes = base_classes self.body_stmts = body_stmts assert( len( self.body_stmts ) > 0 ) # TODO: not just assert self.namespace = None
def __init__( self, variable_type, variable_name, iterator, body_stmts ): PepValue.__init__( self ) self.variable_type = variable_type self.variable_name = variable_name self.iterator = iterator self.body_stmts = body_stmts
def __init__( self, clazz, name ): type_isinstance( PepTypeMatcher, clazz ) type_is( str, name ) PepValue.__init__( self ) self.clazz = clazz self.name = name self.namespace = self.clazz.runtime_namespace( self, False )
def __init__( self ): PepValue.__init__( self ) self.namespace = { "argv" : PepSysArgv(), "copyright": PepString( "Copyright (C) 2010-2012 Andy Balaam and the Pepper developers" ), }
def __init__( self, str_int ): PepValue.__init__( self ) self.value = str( str_int )
def __init__(self, var, mod_value): PepValue.__init__(self) self.var = var self.mod_value = mod_value
def __init__( self, expression, body_stmts ): PepValue.__init__( self ) self.expression = expression self.body_stmts = body_stmts
def __init__( self, value ): PepValue.__init__( self ) self.value = value
def __init__(self, body_stmts): PepValue.__init__(self) self.body_stmts = body_stmts
def __init__( self, initial_list ): PepValue.__init__( self ) self._list = initial_list
def __init__( self, user_function, args, namespace_name ): PepValue.__init__( self ) # TODO: check arg types self.user_function = user_function self.args = args self.namespace_name = namespace_name
def __init__( self, ret_type, name, arg_types_and_names ): PepValue.__init__( self ) self.ret_type = ret_type self.name = name self.arg_types_and_names = arg_types_and_names
def __init__( self, instance, args, init_fn ): PepValue.__init__( self ) # TODO: check arg types self.instance = instance self.args = args self.init_fn = init_fn
def __init__( self, begin, end, step ): PepValue.__init__( self ) self.begin = begin self.end = end self.step = step
def __init__( self, items ): PepValue.__init__( self ) self.items = items
def __init__( self, clazz ): PepValue.__init__( self ) self.clazz = clazz self.namespace = PepInstanceNamespace( self, self.clazz.get_namespace() )
def __init__( self ): PepValue.__init__( self )
def __init__( self, return_type, arg_types ): PepValue.__init__( self ) self.return_type = return_type self.arg_types = arg_types
def __init__( self, name, base_classes, body_stmts ): PepValue.__init__( self ) self.name = name self.base_classes = base_classes self.body_stmts = body_stmts
def __init__( self, userclass ): PepValue.__init__( self ) self.userclass = userclass