jacket
Search the docs
/
API
Tools
Playground
0.31.0
executable_formats module
← executable_formats
Lexer
set_input_from_string
set_input_from_file
peek_next_character
eat_character
unwind_one_character
starts_identifier
continues_identifier
starts_number
is_non_newline_whitespace
get_decimal_digit
get_hex_digit
get_and_eat_remainder_of_line
eat_until_newline
set_end_of_token
get_unused_token
parse_ident
check_for_keyword
make_ident_or_keyword
make_one_character_token
check_for_equals
make_string_constant
count_herestring_lines
eat_input_due_to_block_comment
compose_new_token
peek_token
peek_next_token
eat_token
get_last_token
has_a_big_exponent
report_parse_error
report_detail
On this page
See also
std
/
executable_formats
/
peek_token
peek_token
procedure · 1 overload
Source
peek_token
:: (lexer: *
Lexer
, lookahead_index:
s32
) -> *
Token
Parameters
lexer
:
*
Lexer
lookahead_index
:
s32
Returns
*
Token
See also
eat_input_due_to_block_comment
compose_new_token
peek_next_token
eat_token