class Analyzer::Python::DjangoNinja::RouterEdge

Overview

An <api>.add_router(prefix, target) edge, resolved lazily. dotted marks a "news.api.router" string target (versus a router variable reference).

Defined in:

analyzer/analyzers/python/django_ninja.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(prefix : String, target : String, dotted : Bool, source_file : String, base : String) #

[View source]

Instance Method Detail

def base : String #

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

[View source]
def child_key : String | Nil #

[View source]
def child_key=(child_key : String | Nil) #

[View source]
def dotted=(dotted : Bool) #

[View source]
def dotted? : Bool #

[View source]
def prefix : String #

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

[View source]
def source_file : String #

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

[View source]
def target : String #

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

[View source]