(self, version)
Initializer.

        Args:
          version: The PICO-8 data version from the game file header.
Initializer.
Initializer .
def __init__(self, version):
        """Initializer.

        Args:
          version: The PICO-8 data version from the game file header.
        """
        self._version = version
        self._tokens = []
        self._cur_lineno = 0
        self._cur_charno = 0

        # If inside a string literal (else None):
        # * the pos of the start of the string
        self._in_string_lineno = None
        self._in_string_charno = None
        # * a list of chars
        self._in_string = None
        # * the starting delimiter, either " or '
        self._in_string_delim = None

        # If inside a multiline comment (else None):
        # * the lines of comment, as an array of str (possibly empty)
        self._in_multiline_comment = None
        # * the pos of the start of the multiline comment
        self._in_multiline_comment_lineno = None
        self._in_multiline_comment_charno = None

        # If inside a multiline string (else None):
        # * the lines of string, as an array of str (possibly empty)
        self._in_multiline_string = None
        # The equals signs in [===...[, to match with closing delim.
        self._in_multiline_string_delim = None
        # * the pos of the start of the multiline comment
        self._in_multiline_string_lineno = None
        self._in_multiline_string_charno = None
def __init__ ( self , version ) : self . _version = version self . _tokens = [ ] self . _cur_lineno = 0 self . _cur_charno = 0 # If inside a string literal (else None): # * the pos of the start of the string self . _in_string_lineno = None self . _in_string_charno = None # * a list of chars self . _in_string = None # * the starting delimiter, either " or ' self . _in_string_delim = None # If inside a multiline comment (else None): # * the lines of comment, as an array of str (possibly empty) self . _in_multiline_comment = None # * the pos of the start of the multiline comment self . _in_multiline_comment_lineno = None self . _in_multiline_comment_charno = None # If inside a multiline string (else None): # * the lines of string, as an array of str (possibly empty) self . _in_multiline_string = None # The equals signs in [===...[, to match with closing delim. self . _in_multiline_string_delim = None # * the pos of the start of the multiline comment self . _in_multiline_string_lineno = None self . _in_multiline_string_charno = None