struct Analyzer::Swift::Hummingbird::DslScope

Overview

One nesting level of the DSL. :builder/:group scopes emit routes; :handler (a route's trailing closure) and :other (struct/func/etc. bodies) do not.

Defined in:

analyzer/analyzers/swift/hummingbird.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(kind : Symbol, prefix : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(kind _kind = @kind, prefix _prefix = @prefix) #

[View source]
def kind : Symbol #

def prefix : String #