PHP 8.2.31
Preview: syntax_error.rb Size: 588 B
//proc/thread-self/root/opt/alt/ruby33/share/ruby/psych/syntax_error.rb

# frozen_string_literal: true
require_relative 'exception'

module Psych
  class SyntaxError < Psych::Exception
    attr_reader :file, :line, :column, :offset, :problem, :context

    def initialize file, line, col, offset, problem, context
      err      = [problem, context].compact.join ' '
      filename = file || '<unknown>'
      message  = "(%s): %s at line %d column %d" % [filename, err, line, col]

      @file    = file
      @line    = line
      @column  = col
      @offset  = offset
      @problem = problem
      @context = context
      super(message)
    end
  end
end

Directory Contents

Dirs: 4 × Files: 17

Name Size Perms Modified Actions
handlers DIR
- drwxr-xr-x 2026-04-30 07:09:18
Edit Download
json DIR
- drwxr-xr-x 2026-04-30 07:09:18
Edit Download
nodes DIR
- drwxr-xr-x 2026-04-30 07:09:18
Edit Download
visitors DIR
- drwxr-xr-x 2026-04-30 07:09:18
Edit Download
2.01 KB lrw-r--r-- 2026-04-07 13:52:15
Edit Download
2.05 KB lrw-r--r-- 2026-04-07 13:52:15
Edit Download
362 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download
726 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download
7.20 KB lrw-r--r-- 2026-04-07 13:52:15
Edit Download
2.38 KB lrw-r--r-- 2026-04-07 13:52:15
Edit Download
75 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download
2.03 KB lrw-r--r-- 2026-04-07 13:52:15
Edit Download
4.69 KB lrw-r--r-- 2026-04-07 13:52:15
Edit Download
74 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download
923 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download
667 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download
588 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download
3.02 KB lrw-r--r-- 2026-04-07 13:52:15
Edit Download
187 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download
254 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download
190 B lrw-r--r-- 2026-04-07 13:52:15
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).