class

Noir::GoRequestParamExtractor::Resolver

Inherits Reference < Object

Lookups across packages for the walk: a helper called through an imported package (request.QueryBoolParam(r, "force", false)), the string constants a package declares (paramTagsAdd = "a"), and the struct a decoded body fills.

Constants

CONST_LINE = /\A(?:const\s+)?([A-Za-z_]\w*)(?:\s+string)?\s*=\s*"((?:[^"\\]|\\.)*)"\s*(?:\/\/.*)?\z/

Constructors

new(bodies : Noir::GoCalleeExtractor::LazyPackageBodies, file_contents : Hash(String, String), import_dirs : Hash(String, String))
Source

Instance methods

bodies
Source
constants(dir : String) : Hash(String, String)

The string constants declared in the package at dir, by name.

Source
imported_function(file : String, qualifier : String, name : String) : Noir::GoCalleeExtractor::FunctionBody | Nil

The function qualifier.name names from file when qualifier is an import of a scanned package.

Source
structs
Source