class Ven::Parselet::PString

Overview

Reads a string into QString.

Defined in:

ven/parselet/nud.cr

Constant Summary

ESCAPES = {"\\$" => "$", "\\e" => "\e", "\\n" => "\n", "\\r" => "\r", "\\t" => "\t", "\\\"" => "\"", "\\\\" => "\\"}

Escaped escape codes and what they should be unescaped into.

Instance Method Summary

Instance methods inherited from class Ven::Parselet::Nud

parse(tag : QTag, token : Word) parse, parse!(parser : Reader, tag : QTag, token : Word) parse!

Instance methods inherited from class Ven::Parselet::Share

block(opening = true, semicolon : Bool = false) block, die(message : String) die, led(precedence = @precedence) led, precedence : Precedence precedence, semicolon : Bool semicolon, symbol(tag, token = nil) : QSymbol symbol

Constructor methods inherited from class Ven::Parselet::Share

new(precedence : Ven::Precedence = Precedence::ZERO) new

Instance Method Detail

def parse(tag, token) #

[View source]