$32 GRAYBYTE WORDPRESS FILE MANAGER $66

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/RubyLex/BufferedReader/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/RubyLex/BufferedReader//cdesc-BufferedReader.yaml
--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: line_num
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: Read an input stream character by character. We allow for unlimited ungetting of characters just read.
- !ruby/struct:SM::Flow::P 
  body: We simplify the implementation greatly by reading the entire input into a buffer initially, and then simply traversing it using pointers.
- !ruby/struct:SM::Flow::P 
  body: "We also have to allow for the <em>here document diversion</em>. This little gem comes about when the lexer encounters a here document. At this point we effectively need to split the input stream into two parts: one to read the body of the here document, the other to read the rest of the input line where the here document was initially encountered. For example, we might have"
- !ruby/struct:SM::Flow::VERB 
  body: "  do_something(&lt;&lt;-A, &lt;&lt;-B)\n    stuff\n    for\n  A\n    stuff\n    for\n  B\n"
- !ruby/struct:SM::Flow::P 
  body: When the lexer encounters the &lt;&lt;A, it reads until the end of the line, and keeps it around for later. It then reads the body of the here document. Once complete, it needs to read the rest of the original line, but then skip the here document body.
constants: []

full_name: RubyLex::BufferedReader
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: column
- !ruby/object:RI::MethodSummary 
  name: divert_read_from
- !ruby/object:RI::MethodSummary 
  name: get_read
- !ruby/object:RI::MethodSummary 
  name: getc
- !ruby/object:RI::MethodSummary 
  name: getc_already_read
- !ruby/object:RI::MethodSummary 
  name: peek
- !ruby/object:RI::MethodSummary 
  name: peek_equal
- !ruby/object:RI::MethodSummary 
  name: ungetc
name: BufferedReader
superclass: Object


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
cdesc-BufferedReader.yaml
1.835 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
column-i.yaml
0.179 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
divert_read_from-i.yaml
0.205 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
get_read-i.yaml
0.183 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
getc-i.yaml
0.175 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
getc_already_read-i.yaml
0.2 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
0.18 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
peek-i.yaml
0.177 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
peek_equal-i.yaml
0.189 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ungetc-i.yaml
0.181 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF