Interpreter

package
v0.0.0-...-f967d7f Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test()

Types

type Compare

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

func (Compare) Interpret

func (c Compare) Interpret() int

type Contain

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

func (Contain) Interpret

func (c Contain) Interpret() int

type Context

type Context string

type Expression

type Expression interface {
	Interpret() int
}

func CreateExpression

func CreateExpression(choice, a, b Context) Expression

Jump to

Keyboard shortcuts

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