executor

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: ./commander.go

Generated by this command:

mockgen -package=executor -source=./commander.go -destination=./commander_mock.go

Package executor is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: ./filer.go

Generated by this command:

mockgen -package=executor -source=./filer.go -destination=./filer_mock.go

Package executor is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: ./import_path_resolver.go

Generated by this command:

mockgen -package=executor -source=./import_path_resolver.go -destination=./import_path_resolver_mock.go

Package executor is a generated GoMock package.

Index

Constants

View Source
const GO_MOD_FILE_NAME = "go.mod"
View Source
const GO_MOD_FILE_PERMISSION = 0644
View Source
const GO_MOD_NAME = "gonsole_session_src"
View Source
const GO_SUM_FILE_NAME = "go.sum"
View Source
const SESSION_SRC_DIR_PERMISSION = 0755
View Source
const SESSION_SRC_FILE_PATH = "gonsole_session_src/session_src.go"

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

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

Executor はREPLセッション内でのコード実行を担う go-promptのExecutorインターフェースを実装する

func NewExecutor

func NewExecutor(declRegistry *declregistry.DeclRegistry, symbolIndex *symbols.SymbolIndex) (*Executor, error)

NewExecutor はExecutorのインスタンスを生成する

func (*Executor) Execute

func (e *Executor) Execute(input string)

Execute は入力されたコードを実行する

type Mockcommander

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

Mockcommander is a mock of commander interface.

func NewMockcommander

func NewMockcommander(ctrl *gomock.Controller) *Mockcommander

NewMockcommander creates a new mock instance.

func (*Mockcommander) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockcommanderMockRecorder

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

MockcommanderMockRecorder is the mock recorder for Mockcommander.

type Mockfiler

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

Mockfiler is a mock of filer interface.

func NewMockfiler

func NewMockfiler(ctrl *gomock.Controller) *Mockfiler

NewMockfiler creates a new mock instance.

func (*Mockfiler) EXPECT

func (m *Mockfiler) EXPECT() *MockfilerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockfilerMockRecorder

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

MockfilerMockRecorder is the mock recorder for Mockfiler.

type MockimportPathResolver

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

MockimportPathResolver is a mock of importPathResolver interface.

func NewMockimportPathResolver

func NewMockimportPathResolver(ctrl *gomock.Controller) *MockimportPathResolver

NewMockimportPathResolver creates a new mock instance.

func (*MockimportPathResolver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockimportPathResolverMockRecorder

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

MockimportPathResolverMockRecorder is the mock recorder for MockimportPathResolver.

Jump to

Keyboard shortcuts

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