struct Noir::TreeSitterKotlinKtorRouteExtractor::RawResource

Overview

A @Resource-annotated class collected from a single file, before cross-class path composition. #lexical_name is the dotted name as it would be referenced (Articles.New); #ctor_param_types are the simple type names of its primary-constructor properties, one of which (when it names another resource, e.g. root: Root / parent: ArticlesResource) is the path-composition parent.

Defined in:

miniparsers/kotlin_ktor_route_extractor_ts.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(simple_name : String, lexical_name : String, own_path : String, ctor_param_types : Array(String)) #

[View source]

Instance Method Detail

def ctor_param_types : Array(String) #

[View source]
def lexical_name : String #

[View source]
def own_path : String #

[View source]
def simple_name : String #

[View source]