toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shasambly.shasp
/
com.shakelang.shake.shasambly.shasp.lexer.token
/
ShasPTokenInputStream
Shas
PToken
Input
Stream
interface
ShasPTokenInputStream
:
TokenInputStream
<
ShasPTokenType
,
ShasPToken
>
(
source
)
A
ShasPTokenInputStream
provides the
ShasPToken
s for a Parser. It is created by a Lexer
Inheritors
ShasPTokenBasedInputStream
OnDemandLexingShasPTokenInputStream
Members
Properties
actual
Link copied to clipboard
abstract
val
actual
:
ShasPToken
actual
End
Link copied to clipboard
open
val
actualEnd
:
Int
actual
Has
Value
Link copied to clipboard
open
val
actualHasValue
:
Boolean
actual
Start
Link copied to clipboard
open
val
actualStart
:
Int
actual
Type
Link copied to clipboard
open
val
actualType
:
ShasPTokenType
actual
Value
Link copied to clipboard
open
val
actualValue
:
String
?
map
Link copied to clipboard
abstract
val
map
:
PositionMap
position
Link copied to clipboard
abstract
val
position
:
Int
size
Link copied to clipboard
abstract
val
size
:
Int
source
Link copied to clipboard
abstract
val
source
:
String
Functions
has
Link copied to clipboard
abstract
fun
has
(
num
:
Int
)
:
Boolean
has
Next
Link copied to clipboard
open
operator
fun
hasNext
(
)
:
Boolean
next
Link copied to clipboard
open
operator
fun
next
(
)
:
ShasPToken
next
Type
Link copied to clipboard
open
fun
nextType
(
)
:
ShasPTokenType
next
Value
Link copied to clipboard
open
fun
nextValue
(
)
:
String
?
peek
Link copied to clipboard
open
fun
peek
(
)
:
ShasPToken
abstract
fun
peek
(
offset
:
Int
)
:
ShasPToken
peek
End
Link copied to clipboard
open
fun
peekEnd
(
)
:
Int
open
fun
peekEnd
(
offset
:
Int
)
:
Int
peek
Has
Value
Link copied to clipboard
open
fun
peekHasValue
(
)
:
Boolean
open
fun
peekHasValue
(
offset
:
Int
)
:
Boolean
peek
Start
Link copied to clipboard
open
fun
peekStart
(
)
:
Int
open
fun
peekStart
(
offset
:
Int
)
:
Int
peek
Type
Link copied to clipboard
open
fun
peekType
(
)
:
ShasPTokenType
open
fun
peekType
(
offset
:
Int
)
:
ShasPTokenType
peek
Value
Link copied to clipboard
open
fun
peekValue
(
)
:
String
?
open
fun
peekValue
(
offset
:
Int
)
:
String
?
skip
Link copied to clipboard
abstract
fun
skip
(
)
abstract
fun
skip
(
amount
:
Int
)