nl_tokens: Route ===== constructor ----------- create a route that can be used for matching ### required arguments ** name ** : name for this route ** pattern ** : pattern for this route ### optional arguments ** method ** : specify HTTP method for this route
pl_tokens: function Route ( args ) { this . name = args . name ; this . method = args . method ; var pattern = args . pattern ; this . <mask> = RoutePattern . fromString ( pattern ) ; }