executor

package
v0.0.0-...-7d4ac07 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	Compile() models.Result
	Execute(io string) models.Result
}

func GetExecutor

func GetExecutor(langId customenums.LangEnum, src string, limits models.Limit) Executor

type SandboxExecutor

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

func NewSandboxExecutor

func NewSandboxExecutor(src string, sett compilers.Compiler, limits models.Limit) *SandboxExecutor

func (*SandboxExecutor) Clear

func (sdb *SandboxExecutor) Clear()

func (*SandboxExecutor) Compile

func (sdb *SandboxExecutor) Compile() models.Result

func (*SandboxExecutor) Execute

func (sdb *SandboxExecutor) Execute(io string) models.Result

Jump to

Keyboard shortcuts

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