toggle menu
protobuf-kotlin
0.5.0
common
switch theme
search in API
protobuf-kotlin-protoscope
/
pro.felixo.protobuf.protoscope
/
Token
Token
sealed
class
Token
Represents a Protoscope token.
Inheritors
OpenBrace
OpenGroupBrace
CloseBrace
Tag
StringLiteral
BooleanLiteral
IntegerLiteral
FloatLiteral
BytesLiteral
LongForm
Members
Types
Boolean
Literal
Link copied to clipboard
data
class
BooleanLiteral
(
val
value
:
Boolean
)
:
Token
Bytes
Literal
Link copied to clipboard
data
class
BytesLiteral
(
val
bytes
:
ByteArray
)
:
Token
Close
Brace
Link copied to clipboard
data
object
CloseBrace
:
Token
Float
Literal
Link copied to clipboard
data
class
FloatLiteral
(
val
value
:
Double
,
val
isDouble
:
Boolean
)
:
Token
Integer
Literal
Link copied to clipboard
data
class
IntegerLiteral
(
val
value
:
Long
,
val
type
:
Token.IntegerLiteral.Type
)
:
Token
Long
Form
Link copied to clipboard
data
class
LongForm
(
val
extraBytes
:
Int
)
:
Token
Open
Brace
Link copied to clipboard
data
object
OpenBrace
:
Token
Open
Group
Brace
Link copied to clipboard
data
object
OpenGroupBrace
:
Token
String
Literal
Link copied to clipboard
data
class
StringLiteral
(
val
text
:
String
)
:
Token
Tag
Link copied to clipboard
data
class
Tag
(
val
number
:
Int
,
val
type
:
Int
?
)
:
Token