GenericTestDoubleIncludes

Includes intended for the test double.

Filtered according to the user.

State diagram in plantuml: @startuml [*] -> Waiting Waiting: Initialize pool

Waiting -> SymbolInclude: Add Waiting --> RootInclude: Add root Waiting --> UserInclude: Add user Waiting --> Finalize: Done

UserInclude: Static pool from CLI

SymbolInclude: Temp pool of includes SymbolInclude --> SymbolInclude: Add SymbolInclude --> Process: Done SymbolInclude --> RootInclude: Clear pool, add root

RootInclude: Temp pool of includes RootInclude --> RootInclude: Add RootInclude --> Process: Done

Process: Temp pool to permanent pool Process --> Waiting

Finalize: strip includes Finalize: Data ready to be used @enduml

Constructors

this
this()
Undocumented in source.
this
this(Regex!char strip_incl)
Undocumented in source.

Members

Functions

finalize
void finalize()
Undocumented in source.
forceIncludes
void forceIncludes(string[] in_incls)

Replace buffer of includes with argument.

includes
auto includes()
Undocumented in source.
includesWithPayload
auto includesWithPayload()
Undocumented in source.
process
void process()
Undocumented in source.
put
void put(string fname, LocationType type, PayloadT kind)
Undocumented in source.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(Writer w)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Include
struct Include
Undocumented in source.

Parameters

PayloadT

extra data associated with a particulare file such as the language.

Meta