class Noir::JSRoutePattern

Overview

JSRoutePattern represents a JavaScript framework route pattern

Defined in:

miniparsers/js_parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(method : String, path : String, raw_path : String | Nil = nil, start_pos : Int32 = -1) #

[View source]

Instance Method Detail

def method : String #

[View source]
def params : Array(Param) #

[View source]
def path : String #

[View source]
def path=(path : String) #

[View source]
def push_param(param : Param) #

[View source]
def raw_path : String #

[View source]
def start_pos : Int32 #

[View source]