Module beamui.core.parseutils

Import line

import beamui.core.parseutils;

Functions

NameDescription
getPairedBracket(ch) Returns the paired bracket for the , if it's one of ()[]{}, otherwise returns 0
isAlNum(ch)
isBracket(ch) Returns true if the char is a ()[]{} bracket
isClosingBracket(ch) Returns true if the char is a closing bracket
isLowerWordChar(ch) Returns true whether ch is a lower alphabetic unicode char or _
isOpeningBracket(ch) Returns true if the char is an opening bracket
isPunct(ch)
isWordChar(ch) Returns true whether ch is an alphabetic unicode char or _
parseHexDigit(ch) Decodes hex digit (0..9, a..f, A..F), returns uint.max if invalid
parseList4(value, items) Parse 4 comma delimited integers NOT USED
parseLong(v, defValue)
parseULong(v, defValue)

Structs

NameDescription
BracketStack Basic stack to count matching brackets

Aliases

NameTypeDescription
isDigit isNumber Returns true whether char is a digit
isUpperWordChar isUpper Returns true whether char is an upper alphabetic unicode char