character

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Other    uint8 = iota // Ký tự lạ, không hợp lệ
	Space                 // ' ', \t, \n, \r
	Alpha                 // a-z, A-Z, _, $
	Digit                 // 0-9
	Operator              // + - * / % = ! < > & | . ? : , ; ( ) [ ] { }
	Quote                 // " '
)

Các hằng số định nghĩa loại ký tự (Byte-sized cho bộ nhớ tối ưu)

Variables

View Source
var Table = [256]uint8{}

Table tra cứu nhanh cho 256 ký tự ASCII. Việc dùng mảng cố định giúp CPU truy cập O(1) cực nhanh.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL