Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Enum

TokenType

Public Enum
std.json.Scanner.TokenType
pub const TokenType = enum

This is only used in peekNextTokenType() and gives a categorization based on the first byte of the next token that will be emitted from a next*() call.

File

json/Scanner.zig:1529
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
pub const TokenType = enum {
    object_begin,
    object_end,
    array_begin,
    array_end,
    true,
    false,
    null,
    number,
    string,
    end_of_document,
}