class_docstr: Lexer for VisualProlog grammar
  
  .. versionadded:: 2.17
docstr: No competditors (currently)
docstr_tok: ["No","competditors","(","currently",")"]
code: def analyse_text(text):
      """No competditors (currently)"""
      # These are *really* good indicators
      # end-scope first on line e.g. 'end grammar'
      # section keyword alone on line e.g. 'rules'
      if re.search(
          r"^\s*(end\s+grammar|(nonterminals|startsymbols|terminals|rules|precedence)\s*$)",
          text,
      ):
          return 0.98
      else:
          return 0
  
file_path: catboost/contrib/python/Pygments/py3/pygments/lexers/vip.py
imports: import re
  from pygments.lexer import RegexLexer, inherit, words, include
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Whitespace
label_desc: Use image node_id 1 for calling the VisualPrologGrammarLexer obj's underlying member method code with example usage: obj.analyse_text(text) and returns: int, int