struct

Noir::GoRequestParamExtractor::Context

Inherits Struct < Value < Object

What a body is read with: the file it is declared in, its lines (for a decode target's declaration) and the names that stand for strings in it (package constants, and a helper's parameters bound to the literal its caller passes). requests names the body's *http.Request parameters, when known: a header read off anything else (resp.Header.Get(...)) is not a request input. queries names the locals holding the parsed query (values := r.URL.Query()).

Constructors

new(resolver : Resolver | Nil, file : String | Nil, lines : Array(String), bindings : Hash(String, String), requests : Set(String) | Nil = nil, queries : Set(String) = Set(String).new)
Source

Instance methods

bindings
clone
Source
copy_with(resolver _resolver = @resolver, file _file = @file, lines _lines = @lines, bindings _bindings = @bindings, requests _requests = @requests, queries _queries = @queries)
Source
file
lines
queries
requests
resolver