class_docstr: For `Jasmin <http://jasmin.sourceforge.net/>`_ assembly code.
  
  .. versionadded:: 2.0
class_docstr_tok: ["For","`","Jasmin","<","http",":","\/\/jasmin.sourceforge.net\/",">","`","_","assembly","code",".","..","versionadded",":",":","2.0"]
code: def analyse_text(text):
      score = 0
      if re.search(r"^\s*\.class\s", text, re.MULTILINE):
          score += 0.5
          if re.search(r"^\s*[a-z]+_[a-z]+\b", text, re.MULTILINE):
              score += 0.3
      if re.search(
          r"^\s*\.(attribute|bytecode|debug|deprecated|enclosing|"
          r"inner|interface|limit|set|signature|stack)\b",
          text,
          re.MULTILINE,
      ):
          score += 0.6
      return score
  
imports: import re
  from pygments.lexer import Lexer, RegexLexer, include, bygroups, using, this, combined, default, words
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
  from pygments.util import shebang_matches
  from pygments import unistring
label_desc: Use image node_id 1 for calling the JasminLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: score