⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
RDoc
/
Parser
/
Edit File: cdesc-Parser.ri
U:RDoc::NormalClass[iI"Parser:ETI"RDoc::Parser;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"RA parser is simple a class that subclasses RDoc::Parser and implements #scan ;TI"3to fill in an RDoc::TopLevel with parsed data.;To:RDoc::Markup::BlankLine o; ;[ I"PThe initialize method takes an RDoc::TopLevel to fill with parsed content, ;TI"Rthe name of the file to be parsed, the content of the file, an RDoc::Options ;TI"Oobject and an RDoc::Stats object to inform the user of parsed items. The ;TI"Fscan method is then called to parse the file and must return the ;TI"NRDoc::TopLevel object. By calling super these items will be set for you.;T@o; ;[I"RIn order to be used by RDoc the parser needs to register the file extensions ;TI"Fit can parse. Use ::parse_files_matching to register extensions.;T@o:RDoc::Markup::Verbatim;[I"require 'rdoc' ;TI" ;TI",class RDoc::Parser::Xyz < RDoc::Parser ;TI"% parse_files_matching /\.xyz$/ ;TI" ;TI"D def initialize top_level, file_name, content, options, stats ;TI" super ;TI" ;TI"* # extra initialization if needed ;TI" end ;TI" ;TI" def scan ;TI"- # parse file and fill in @top_level ;TI" end ;TI"end;T:@format0: @fileI"lib/rdoc/parser.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[ I"parsers;TI"R;T:publicTI"lib/rdoc/parser.rb;T[ I"file_name;T@3;F@4[ [ [[I" class;T[[;[[I"alias_extension;T@4[I"binary?;T@4[I"can_parse;T@4[I"can_parse_by_name;T@4[I"check_modeline;T@4[I"for;T@4[I"new;T@4[I"parse_files_matching;T@4[I"remove_modeline;T@4[I"use_markup;T@4[I" zip?;T@4[:protected[ [:private[ [I" instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@/I"lib/rdoc/parser/c.rb;TI"!lib/rdoc/parser/changelog.rb;TI" lib/rdoc/parser/markdown.rb;TI"lib/rdoc/parser/rd.rb;TI"(lib/rdoc/parser/ripper_state_lex.rb;TI"lib/rdoc/parser/ruby.rb;TI""lib/rdoc/parser/ruby_tools.rb;TI"lib/rdoc/parser/simple.rb;TI"lib/rdoc/parser/text.rb;TI"lib/rdoc/top_level.rb;T@/cRDoc::TopLevel
Simpan