Skip to content

vtf iodata chars

srccircumflex edited this page Apr 24, 2023 · 4 revisions

↑ vtf-iodata

chars

The module contains the ordinal types for "non-functional" inputs.

├── ASCII
│      └── Space
├── UTF8
└── Pasted

Module contents

Functions

chars.Eval(x) -> Char | Type[Char]

Return a Char object or type from a representative sting.

raises: ValueError(exception) on errors with the original exception as argument.

Objects

Datatypes

class chars.Char(str)

The base class for characters.

Derivatives:

__repr__() -> str

special

staticmethod eval(x) -> Char

Create a Char object from a representative sting of a Char object.

raises: ValueError(exception) on errors with the original exception as argument.

class chars.ASCII(Char)

ASCII Character (Range 0x21 - 0x7e)

Derivatives:

class chars.Pasted(Char)

Pasted content when bracketed paste mode is active.

Activated by:
# Resources:
; xterm/Bracketed-Paste-Mode : xterm/CSI/DECPM/Bracketed-Paste-Mode

class chars.Space(ASCII)

  • 0x09 : Tab -> "t"
  • 0x0a : Linefeed -> "n"
  • 0x0d : Return -> "n"
  • 0x20 : Space -> " "

Note: replaces "r" to "n"

class chars.UTF8(Char)

UTF8 Sequence (Sequence start in range 0xc2 - 0xf4)

Date: 07 Nov 2022
Version: 0.1
Author: Adrian Hoefflin [srccircumflex]
Doc-Generator: "pyiStructure-RSTGenerator" <prototype>
Clone this wiki locally