Rebuilds structure for AST and resets internal data.

def _reset(self):
        """ Rebuilds structure for AST and resets internal data.
            """

        self._filename = None
        self._block_map = {}
        self._ast = []
        self._ast.append(None)  # header
        self._ast.append([])    # options list
        self._ast.append([])