class_docstr: Lexer for Prolog files.
docstr: Competes with IDL and Visual Prolog on *.pro
docstr_tok: ["Competes","with","IDL","and","Visual","Prolog","on","*",".pro"]
code: def analyse_text(text):
      """Competes with IDL and Visual Prolog on *.pro"""
      if ":-" in text:
          # Visual Prolog also uses :-
          return 0.5
      else:
          return 0
  
file_path: catboost/contrib/python/Pygments/py3/pygments/lexers/prolog.py
imports: import re
  from pygments.lexer import RegexLexer, bygroups
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation
label_desc: Use image node_id 1 for calling the PrologLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: int, int