stringliteral

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package stringliteral decodes TypeRB source String literals independently of the selected target language.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Text

func Text(raw string) (string, error)

Text decodes one literal segment between interpolation expressions.

func Unquote

func Unquote(raw string) (string, error)

Unquote accepts the existing quoted-literal escapes plus \# in double-quoted Strings. Pairwise scanning preserves backslash parity and never interprets decoded text as interpolation source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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