Rizin
unix-like reverse engineering framework and cli tools
Lexer Struct Reference

#include <lexer.h>

Public Attributes

TSLexer data
 
Length current_position
 
Length token_start_position
 
Length token_end_position
 
TSRangeincluded_ranges
 
const char * chunk
 
TSInput input
 
TSLogger logger
 
uint32_t included_range_count
 
uint32_t current_included_range_index
 
uint32_t chunk_start
 
uint32_t chunk_size
 
uint32_t lookahead_size
 
bool did_get_column
 
char debug_buffer [TREE_SITTER_SERIALIZATION_BUFFER_SIZE]
 

Detailed Description

Definition at line 13 of file lexer.h.

Member Data Documentation

◆ chunk

const char* Lexer::chunk

Definition at line 20 of file lexer.h.

◆ chunk_size

uint32_t Lexer::chunk_size

Definition at line 27 of file lexer.h.

◆ chunk_start

uint32_t Lexer::chunk_start

Definition at line 26 of file lexer.h.

◆ current_included_range_index

uint32_t Lexer::current_included_range_index

Definition at line 25 of file lexer.h.

◆ current_position

Length Lexer::current_position

Definition at line 15 of file lexer.h.

◆ data

TSLexer Lexer::data

Definition at line 14 of file lexer.h.

Referenced by test_group_name.GroupTest::run().

◆ debug_buffer

char Lexer::debug_buffer[TREE_SITTER_SERIALIZATION_BUFFER_SIZE]

Definition at line 31 of file lexer.h.

◆ did_get_column

bool Lexer::did_get_column

Definition at line 29 of file lexer.h.

◆ included_range_count

uint32_t Lexer::included_range_count

Definition at line 24 of file lexer.h.

◆ included_ranges

TSRange* Lexer::included_ranges

Definition at line 19 of file lexer.h.

◆ input

TSInput Lexer::input

Definition at line 21 of file lexer.h.

◆ logger

TSLogger Lexer::logger

Definition at line 22 of file lexer.h.

◆ lookahead_size

uint32_t Lexer::lookahead_size

Definition at line 28 of file lexer.h.

◆ token_end_position

Length Lexer::token_end_position

Definition at line 17 of file lexer.h.

◆ token_start_position

Length Lexer::token_start_position

Definition at line 16 of file lexer.h.


The documentation for this struct was generated from the following file: