Skip to main content

Crate parsentry_parser

Crate parsentry_parser 

Source
Expand description

Tree-sitter based code parser and security pattern matcher.

This crate provides:

  • Code parsing using tree-sitter grammars
  • Security pattern matching for vulnerability detection

Structs§

CodeParser
Tree-sitter based code parser.
Context
Context containing definitions and references from parsed code.
Definition
A code definition (function, class, method, etc.)
LanguagePatterns
Language-specific patterns configuration.
PatternConfig
Configuration for a security pattern.
PatternMatch
A matched security pattern.
Query
A set of patterns that match nodes in a syntax tree.
QueryCursor
A stateful object for executing a Query on a syntax Tree.
SecurityRiskPatterns
Security risk pattern matcher.

Enums§

PatternQuery
Query type for pattern matching.

Traits§

StreamingIterator
An interface for dealing with streaming iterators.