class_docstr: For GDScript source code.
class_docstr_tok: ["For","GDScript","source","code","."]
code: def innerstring_rules(ttype):
      return [
          # the old style '%s' % (...) string formatting
          (
              r"%(\(\w+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?"
              "[hlL]?[E-GXc-giorsux%]",
              String.Interpol,
          ),
          # backslashes, quotes and formatting signs must be parsed one at a time
          (r'[^\\\'"%\n]+', ttype),
          (r'[\'"\\]', ttype),
          # unhandled string formatting sign
          (r"%", ttype),
          # newlines are an error (use "nl" state)
      ]
  
imports: import re
  from pygments.lexer import RegexLexer, include, bygroups, default, words, combined
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
label_desc: Use image node_id 1 for calling the GDScriptLexer obj's underlying member method code with example usage: obj.innerstring_rules(ttype) and returns: list