toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.util
/
CharReaderStrReader
Char
Reader
Str
Reader
class
CharReaderStrReader
(
val
reader
:
CharReader
)
:
BaseStrReader
Members
Constructors
Char
Reader
Str
Reader
Link copied to clipboard
constructor
(
reader
:
CharReader
)
Properties
deque
Link copied to clipboard
val
deque
:
CharDeque
eof
Link copied to clipboard
open
override
val
eof
:
Boolean
has
More
Link copied to clipboard
val
hasMore
:
Boolean
pos
Link copied to clipboard
open
override
var
pos
:
Int
reader
Link copied to clipboard
val
reader
:
CharReader
Functions
clone
Link copied to clipboard
open
override
fun
clone
(
)
:
BaseStrReader
end
Buffering
Link copied to clipboard
open
override
fun
endBuffering
(
start
:
Int
)
:
String
ensure
Link copied to clipboard
fun
ensure
(
count
:
Int
)
match
Identifier
Link copied to clipboard
fun
matchIdentifier
(
)
:
String
?
match
Single
Or
Double
Quote
String
Link copied to clipboard
fun
matchSingleOrDoubleQuoteString
(
)
:
String
?
match
While
Link copied to clipboard
inline
fun
matchWhile
(
check
:
(
Char
)
->
Boolean
)
:
String
peek
Link copied to clipboard
open
override
fun
peek
(
count
:
Int
)
:
String
peek
Char
Link copied to clipboard
open
fun
peekChar
(
)
:
Char
peek
Offset
Link copied to clipboard
open
override
fun
peekOffset
(
offset
:
Int
)
:
Char
read
Link copied to clipboard
fun
read
(
count
:
Int
)
:
String
read
Char
Link copied to clipboard
open
fun
readChar
(
)
:
Char
read
Expect
Link copied to clipboard
fun
readExpect
(
expected
:
String
)
:
String
read
Until
Link copied to clipboard
open
fun
readUntil
(
char
:
Char
)
:
String
?
skip
Link copied to clipboard
open
override
fun
skip
(
count
:
Int
)
:
BaseStrReader
skip
Expect
Link copied to clipboard
fun
skipExpect
(
expected
:
Char
)
skip
Spaces
Link copied to clipboard
open
fun
skipSpaces
(
)
:
BaseStrReader
skip
Until
Link copied to clipboard
inline
fun
skipUntil
(
filter
:
(
Char
)
->
Boolean
)
skip
While
Link copied to clipboard
inline
fun
skipWhile
(
filter
:
(
Char
)
->
Boolean
)
slice
Link copied to clipboard
inline
fun
slice
(
action
:
(
)
->
Unit
)
:
String
start
Buffering
Link copied to clipboard
open
override
fun
startBuffering
(
)
:
Int
try
Expect
Link copied to clipboard
fun
tryExpect
(
str
:
Char
)
:
Boolean
fun
tryExpect
(
str
:
String
,
consume
:
Boolean
=
true
)
:
Boolean
try
Lit
Link copied to clipboard
open
override
fun
tryLit
(
lit
:
String
,
consume
:
Boolean
)
:
String
?
try
Read
Link copied to clipboard
fun
tryRead
(
str
:
String
)
:
Boolean