struct Noir::TreeSitterGoRouteExtractor::RouterBuilder

Overview

A Gin "router-builder" helper — func F(rg *gin.RouterGroup) {...} — whose body registers routes onto the passed-in group. #param is the group parameter's name; #start_row/#end_row bound the declaration so the caller can suppress the (prefix-less) routes the whole-file pass would otherwise emit for it.

Defined in:

miniparsers/go_route_extractor_ts.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(param : String, start_row : Int32, end_row : Int32) #

[View source]

Instance Method Detail

def end_row : Int32 #

[View source]
def param : String #

[View source]
def start_row : Int32 #

[View source]