PHP 8.2.31
Preview: syntax_error.rb Size: 585 B
/proc/thread-self/root/opt/alt/ruby26/lib64/ruby/2.6.0/psych/syntax_error.rb

# frozen_string_literal: true
require 'psych/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 2024-03-03 22:47:37
Edit Download
json DIR
- drwxr-xr-x 2024-03-03 22:47:37
Edit Download
nodes DIR
- drwxr-xr-x 2024-03-03 22:47:37
Edit Download
visitors DIR
- drwxr-xr-x 2024-03-03 22:47:37
Edit Download
1.91 KB lrw-r--r-- 2023-07-26 15:03:15
Edit Download
2.05 KB lrw-r--r-- 2023-07-26 15:03:15
Edit Download
359 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download
264 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download
7.20 KB lrw-r--r-- 2023-07-26 15:03:15
Edit Download
2.35 KB lrw-r--r-- 2023-07-26 15:03:15
Edit Download
75 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download
1.67 KB lrw-r--r-- 2023-07-26 15:03:15
Edit Download
4.24 KB lrw-r--r-- 2023-07-26 15:03:15
Edit Download
74 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download
923 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download
667 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download
585 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download
2.98 KB lrw-r--r-- 2023-07-26 15:03:15
Edit Download
222 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download
236 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download
190 B lrw-r--r-- 2023-07-26 15:03:15
Edit Download

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