code: def analysis_error(message: str, tkn: lexer.Token) -> SyntaxError:
      # To do -- support file and line output
      # Construct a SyntaxError instance from message and token
      return lexer.make_syntax_error(
          message, tkn.filename, tkn.line, tkn.column, ""
      )
  
imports: from dataclasses import dataclass, field
  import lexer
  import parser
  from typing import Optional
label_desc: Use image node_id 1 for calling a global function with example usage: analysis_error(message, tkn) and returns: lexer