using System; using System.IO; namespace Mustache { /// /// Applies the values of an object to the format plan, generating a string. /// internal interface IGenerator { /// /// Generates the text when applying the format plan. /// /// The text writer to send all text to. /// The current lexical scope of the keys. /// The data associated to the context. /// A function to apply after a substitution is made. /// The generated text. void GetText(TextWriter writer, Scope keyScope, Scope contextScope, Action postProcessor); } }