toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.util
/
BaseStrReader
Base
Str
Reader
abstract
class
BaseStrReader
Inheritors
CharReaderStrReader
StrReader
Members
Constructors
Base
Str
Reader
Link copied to clipboard
constructor
(
)
Properties
eof
Link copied to clipboard
abstract
val
eof
:
Boolean
has
More
Link copied to clipboard
val
hasMore
:
Boolean
pos
Link copied to clipboard
abstract
val
pos
:
Int
Functions
clone
Link copied to clipboard
abstract
fun
clone
(
)
:
BaseStrReader
end
Buffering
Link copied to clipboard
abstract
fun
endBuffering
(
start
:
Int
)
:
String
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
abstract
fun
peek
(
count
:
Int
)
:
String
peek
Char
Link copied to clipboard
open
fun
peekChar
(
)
:
Char
peek
Offset
Link copied to clipboard
abstract
fun
peekOffset
(
offset
:
Int
=
0
)
:
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
abstract
fun
skip
(
count
:
Int
=
1
)
:
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
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
abstract
fun
tryLit
(
lit
:
String
,
consume
:
Boolean
=
true
)
:
String
?
try
Read
Link copied to clipboard
fun
tryRead
(
str
:
String
)
:
Boolean