struct Noir::TreeSitterHelidonSeExtractor::Route

Defined in:

miniparsers/helidon_se_extractor_ts.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(class_name : String, verb : String, path : String, line : Int32, query_params : Array(String), header_params : Array(String), cookie_params : Array(String), body_type : Nil | String, has_body : Bool, callees : Array(Tuple(String, Int32)), protocol : String = "http") #

[View source]

Instance Method Detail

def body_type : String | Nil #

[View source]
def callees : Array(Tuple(String, Int32)) #

1-hop callees out of the handler body; #path is attached by the analyzer. Each tuple is (callee_name, line_1_based).


[View source]
def class_name : String #

[View source]
def cookie_params : Array(String) #

[View source]
def has_body? : Bool #

[View source]
def header_params : Array(String) #

[View source]
def line : Int32 #

[View source]
def path : String #

[View source]
def protocol : String #

[View source]
def query_params : Array(String) #

[View source]
def verb : String #

[View source]