toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.template.util
/
KorteListReader
Korte
List
Reader
class
KorteListReader
<
T
>
(
val
list
:
List
<
T
>
,
val
ctx
:
T
?
=
null
)
Members
Members & Extensions
Constructors
Korte
List
Reader
Link copied to clipboard
constructor
(
list
:
List
<
T
>
,
ctx
:
T
?
=
null
)
Types
Out
Of
Bounds
Exception
Link copied to clipboard
class
OutOfBoundsException
(
val
list
:
KorteListReader
<
*
>
,
val
pos
:
Int
)
:
RuntimeException
Properties
ctx
Link copied to clipboard
val
ctx
:
T
?
=
null
eof
Link copied to clipboard
val
eof
:
Boolean
has
More
Link copied to clipboard
val
hasMore
:
Boolean
list
Link copied to clipboard
val
list
:
List
<
T
>
position
Link copied to clipboard
var
position
:
Int
size
Link copied to clipboard
val
size
:
Int
Functions
expect
Link copied to clipboard
fun
KorteListReader
<
KorteExprNode.Token
>
.
expect
(
vararg
types
:
String
)
:
KorteExprNode.Token
expect
End
Link copied to clipboard
fun
KorteListReader
<
KorteExprNode.Token
>
.
expectEnd
(
)
expect
Peek
Link copied to clipboard
fun
KorteListReader
<
KorteExprNode.Token
>
.
expectPeek
(
vararg
types
:
String
)
:
KorteExprNode.Token
parse
Expr
Link copied to clipboard
fun
KorteListReader
<
KorteExprNode.Token
>
.
parseExpr
(
)
:
KorteExprNode
parse
Id
Link copied to clipboard
fun
KorteListReader
<
KorteExprNode.Token
>
.
parseId
(
)
:
String
parse
Id
List
Link copied to clipboard
fun
KorteListReader
<
KorteExprNode.Token
>
.
parseIdList
(
)
:
List
<
String
>
peek
Link copied to clipboard
fun
peek
(
)
:
T
peek
Or
Null
Link copied to clipboard
fun
peekOrNull
(
)
:
T
?
prev
Link copied to clipboard
fun
prev
(
)
:
T
prev
Or
Context
Link copied to clipboard
fun
prevOrContext
(
)
:
T
read
Link copied to clipboard
fun
read
(
)
:
T
skip
Link copied to clipboard
fun
skip
(
count
:
Int
=
1
)
:
KorteListReader
<
T
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
try
Peek
Link copied to clipboard
fun
tryPeek
(
ahead
:
Int
)
:
T
?
try
Prev
Link copied to clipboard
fun
tryPrev
(
)
:
T
?
try
Read
Link copied to clipboard
fun
tryRead
(
)
:
T
?
try
Read
Link copied to clipboard
fun
KorteListReader
<
KorteExprNode.Token
>
.
tryRead
(
vararg
types
:
String
)
:
KorteExprNode.Token
?