noteparser

package
v0.0.0-...-cb39c03 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TNoteStart tokenizer.TokenKey = iota + 1
	TColon
	TArrowOpen
	TArrowClose
	TCurlyOpen
	TCurlyClose
	TSquareOpen
	TSquareClose
	TComma
	TDoubleQuote

	TVersionPrefix
	TWhitespace
	TUnderscore
	TControlChars

	TBinary
	TTail
)

define custom tokens keys

Variables

View Source
var (
	CONTROL_CHAR_NEW_LINE_1 = "\x01\x00\x00"
	CONTROL_CHAR_NEW_LINE_2 = "D\x01\x00\x00"
	CONTROL_CHAR_NEW_LINE_3 = "\x7f\x00\x00\x00"
	CONTROL_CHAR_NEW_LINE_4 = "}\x00\x00\x00"
	CONTROL_CHAR_NEW_LINE_5 = "\x04\x00\x00"
	CONTROL_CHAR_NEW_LINE_6 = "=\x00\x00\x00"
)
View Source
var (
	BINARY_VALUE_1 = "\xef\xbf\xbd"
	BINARY_END     = "b?"
)

Functions

func BomTest

func BomTest()

func NewNoteParser

func NewNoteParser() *noteParser

NewNoteParser create and configure new tokenizer for Note.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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