action

package
v0.0.0-...-58ee2e9 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Evaluate(input EqlInput) (val.EqlValue, error)
}

func GetActSpec

func GetActSpec(ctx antlr.IActionSpecContext, store mem.Mem) Action

type EqlInput

type EqlInput [][]string

func (EqlInput) Get

func (e EqlInput) Get(row int, col int) string

func (EqlInput) Set

func (e EqlInput) Set(row int, col int, value string)

type Statement

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

func NewStatement

func NewStatement(ctx antlr.IStatementContext, input EqlInput, mem mem.Mem) *Statement

func (*Statement) Evaluate

func (s *Statement) Evaluate() (val.EqlValue, error)

Jump to

Keyboard shortcuts

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