crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
12d673c7
ROOT
/
new
/
detector
/
evaluator
/
evaluator.go
Search
History
229 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
evaluator
lang
:
languagetypes.Language
detectorSet
:
types.DetectorSet
detectionCache
:
map[langtree.NodeID]map[string][]*types.Detection
executingDetectors
:
map[langtree.NodeID][]string
fileName
:
string
New
( lang languagetypes.Language, detectorSet types.DetectorSet, tree *langtree.Tree, fileName string, )
:
types.Evaluator
*evaluator
FileName
()
:
string
ForTree
( rootNode *langtree.Node, detectorType string, followFlow bool, )
:
([]*types.Detection, error)
ForNode
( node *langtree.Node, detectorType string, followFlow bool, )
:
([]*types.Detection, error)
nonUnifiedNodeDetections
( node *langtree.Node, detectorType string, )
:
([]*types.Detection, error)
TreeHas
(rootNode *langtree.Node, detectorType string)
:
(bool, error)
NodeHas
(node *langtree.Node, detectorType string)
:
(bool, error)
detectAtNode
(node *langtree.Node, detectorType string)
:
error
withCycleProtection
(node *tree.Node, detectorType string, body func() error)
:
error
All occurrences
Please wait...
Page is in error, reload to recover