HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Fields
hi::v1::lexer_config Struct Reference

Data Fields

bool zero_starts_octal = false
 A zero starts in octal number.
 
char number_group_separator = no_capture
 The character used to seperate groups of numbers.
 
bool escape_by_quote_doubling = false
 Escaping quotes within a string may be done using quote doubling.
 

Field Documentation

◆ escape_by_quote_doubling

bool hi::v1::lexer_config::escape_by_quote_doubling = false

Escaping quotes within a string may be done using quote doubling.

◆ number_group_separator

char hi::v1::lexer_config::number_group_separator = no_capture

The character used to seperate groups of numbers.

This character is the character that will be ignored by a language if it apears in a integer or floating point literal.

For C and C++ this is the quote character, some other languages use an underscore. If the language does not support group separator set this to no_capture.

◆ zero_starts_octal

bool hi::v1::lexer_config::zero_starts_octal = false

A zero starts in octal number.

By default a zero starts a decimal number, but some languages like C and C++ start an octal number with zero.


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