logic

package
v0.0.0-...-fa720cf Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchesCondition

func MatchesCondition(trav gdbi.Traveler, cond *gripql.HasCondition) bool

func MatchesHasExpression

func MatchesHasExpression(trav gdbi.Traveler, stmt *gripql.HasExpression) bool

Types

type Jump

type Jump struct {
	Mark string
	Stmt *gripql.HasExpression
	Emit bool
	// contains filtered or unexported fields
}

func (*Jump) GetJumpOutput

func (s *Jump) GetJumpOutput() chan gdbi.Traveler

func (*Jump) Init

func (s *Jump) Init()

func (*Jump) Process

func (s *Jump) Process(ctx context.Context, man gdbi.Manager, in gdbi.InPipe, out gdbi.OutPipe) context.Context

type JumpMark

type JumpMark struct {
	Name string
	// contains filtered or unexported fields
}

MarkJump creates mark where jump instruction can send travelers

func (*JumpMark) AddInput

func (s *JumpMark) AddInput(in chan gdbi.Traveler)

func (*JumpMark) Process

func (s *JumpMark) Process(ctx context.Context, man gdbi.Manager, in gdbi.InPipe, out gdbi.OutPipe) context.Context

Process runs Selector

Jump to

Keyboard shortcuts

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