object

package
v0.0.0-...-300a937 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DocIDsObj = "DOCIDS"

DocIDsObj is literal of document ids object.

View Source
const ErrorObj = "ERROR"

ErrorObj is literal of error object.

View Source
const WordObj = "STRING"

WordObj is literal of string object.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocIDs

type DocIDs struct {
	Value *list.List
}

func (*DocIDs) Inspect

func (s *DocIDs) Inspect() string

Inspect returns string representation of object.

func (*DocIDs) Type

func (s *DocIDs) Type() Type

Type returns type of object.

type Error

type Error struct {
	Message string
}

Error is type for errors handling.

func (*Error) Inspect

func (e *Error) Inspect() string

Inspect returns string representation of object.

func (*Error) Type

func (e *Error) Type() Type

Type returns type of object.

type Object

type Object interface {
	Type() Type
	Inspect() string
}

Object interface.

type Type

type Type string

Type is type of object which represented with string.

type Word

type Word struct {
	Value string
}

Word is type for string expressions.

func (*Word) Inspect

func (s *Word) Inspect() string

Inspect returns string representation of object.

func (*Word) Type

func (s *Word) Type() Type

Type returns type of object.

Jump to

Keyboard shortcuts

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