struct

Noir::CHttpSupport::Unit

Inherits Struct < Value < Object

Comment-stripped source, its string constants (name => expression), its newline offsets and the function bodies looked up so far.

Constructors

new(source : String, defines : Hash(String, String), newlines : Array(Int32), bodies : Hash(String, Tuple(String, Int32) | Nil) = {} of String => Tuple(String, Int32) | ::Nil)
Source

Instance methods

bodies
clone
Source
copy_with(source _source = @source, defines _defines = @defines, newlines _newlines = @newlines, bodies _bodies = @bodies)
Source
defines
newlines
source