class Noir::JSRouteExtractor

Overview

JSRouteExtractor provides a unified interface for extracting routes from JavaScript files

Defined in:

miniparsers/js_route_extractor.cr

Class Method Summary

Class Method Detail

def self.extract_params_from_context(content : String, pattern : JSRoutePattern, endpoint : Endpoint) #

[View source]
def self.extract_routes(file_path : String) : Array(Endpoint) #

[View source]