analyzer

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComplexityMeasure

type ComplexityMeasure struct {
	RelativeFitness        int64
	NumMatches             int64
	NumMultiPartQueryParts int64
}

func QueryComplexity

func QueryComplexity(query *cypher.RegularQuery) (ComplexityMeasure, error)

type ComplexityVisitor

type ComplexityVisitor struct {
	walk.Visitor[cypher.SyntaxNode]
	// contains filtered or unexported fields
}

func NewComplexityVisitor

func NewComplexityVisitor() *ComplexityVisitor

func (*ComplexityVisitor) Enter

func (s *ComplexityVisitor) Enter(node cypher.SyntaxNode)

func (*ComplexityVisitor) Exit

func (s *ComplexityVisitor) Exit(node cypher.SyntaxNode)

Jump to

Keyboard shortcuts

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