REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.83 KB
Close
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/RubyLex/BufferedReader/cdesc-BufferedReader.yaml
Text
Base64
--- !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(<<-A, <<-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 <<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
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 10
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cdesc-BufferedReader.yaml
1.83 KB
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
column-i.yaml
183 B
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
divert_read_from-i.yaml
210 B
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
getc-i.yaml
179 B
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
getc_already_read-i.yaml
205 B
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
get_read-i.yaml
187 B
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
new-c.yaml
184 B
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
peek-i.yaml
181 B
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
peek_equal-i.yaml
194 B
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ungetc-i.yaml
185 B
lrw-r--r--
2023-07-26 13:47:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).