parser

package
v0.0.0-...-1c9a717 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser interface {
	// Parse reads a transmission from a player and returns an intermediate representation (IR) of the transmitted request.
	// The IR's type must be determined by reflection. The boolean return value is true if the transmission was parsed into a valid IR
	// and false otherwise. If the return value is false, the IR must be nil.
	Parse(string) (any, bool)
}

func New

func New() Parser

Jump to

Keyboard shortcuts

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