decode

package
v0.0.0-...-a8a07f9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

ex12.9 is a token-based API for decoding s-expressions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(r io.Reader) *Decoder

func (*Decoder) Token

func (d *Decoder) Token() (Token, error)

type EndList

type EndList struct{}

func (EndList) String

func (s EndList) String() string

type Int

type Int int

func (Int) String

func (i Int) String() string

type StartList

type StartList struct{}

func (StartList) String

func (s StartList) String() string

type String

type String string

type Symbol

type Symbol string

type Token

type Token interface{}

Jump to

Keyboard shortcuts

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