Skip to main content

Module unicode_chars

Module unicode_chars 

Source
Expand description

Characters and their corresponding confusables were collected from https://www.unicode.org/Public/security/10.0.0/confusables.txt

Re-exportsยง

use rustc_span::BytePos; ๐Ÿ”’
use rustc_span::Pos; ๐Ÿ”’
use rustc_span::Span; ๐Ÿ”’
use rustc_span::kw; ๐Ÿ”’
use super::Lexer; ๐Ÿ”’
use crate::diagnostics::TokenSubstitution; ๐Ÿ”’
use crate::token; ๐Ÿ”’

Constantsยง

ASCII_ARRAY ๐Ÿ”’

Staticsยง

UNICODE_ARRAY ๐Ÿ”’

Functionsยง

check_for_substitution ๐Ÿ”’
peek_delimited ๐Ÿ”’
Extract string if found at current position with given delimiters