struct Analyzer::Javascript::RouteHelperScanner::HelperRoute

Overview

One route recovered from a call site. #args and #path_arg let the analyzer walk the handler arguments for callees.

Defined in:

analyzer/analyzers/javascript/express/route_helper_scanner.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(method : String, url : String, line : Int32, args : Array(Tuple(String, Int32)), path_arg : Int32) #

[View source]

Instance Method Detail

def args : Array(Tuple(String, Int32)) #

def clone #

[View source]
def copy_with(method _method = @method, url _url = @url, line _line = @line, args _args = @args, path_arg _path_arg = @path_arg) #

[View source]
def line : Int32 #

def method : String #

def path_arg : Int32 #

def url : String #