コード例 #1
0
    def __init__(self):
        """Initialize the PyStochCompiler.

        This initializes the SourceGenerator, and creates a new list
        for pystoch identifiers (in order to avoid hash collisions).

        """

        super(PyStochCompiler, self).__init__(' ' * 4, False)
        self.idens = []
        self.inloop = False
        self.inclass = False
        self.infunc = False
        self.line = IntegerStack()