Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReachabilityJava ¶
type ReachabilityJava struct {
// contains filtered or unexported fields
}
func NewJavaReachableDetector ¶
func NewJavaReachableDetector() (*ReachabilityJava, error)
NewJavaReachableDetector creates a new JavaReachableDetector instance that once instantiated can be used to parse Java files. You should call Close() on the instance once you're finished parsing.
func (*ReachabilityJava) Close ¶
func (r *ReachabilityJava) Close()
Close closes all hanging tree-sitter related resources. This should only be called once you're finished parsing all Java files.
func (*ReachabilityJava) Detect ¶
func (r *ReachabilityJava) Detect(ctx context.Context, dir string, path string, detectionResults models.DetectionResults, advisoriesToCheck []models.AdvisoryToCheck) error
Click to show internal directories.
Click to hide internal directories.