using System; using System.Collections.Generic; using System.IO; namespace mustache { /// /// Defines a tag that cannot contain inner text. /// public abstract class InlineTagDefinition : TagDefinition { /// /// Initializes a new instance of an InlineTagDefinition. /// /// The name of the tag being defined. protected InlineTagDefinition(string tagName) : base(tagName) { } /// /// Initializes a new instance of an InlineTagDefinition. /// /// The name of the tag being defined. /// Specifies whether the tag is a built-in tag. internal InlineTagDefinition(string tagName, bool isBuiltin) : base(tagName, isBuiltin) { } /// /// Gets or sets whether the tag can have content. /// /// True if the tag can have a body; otherwise, false. protected override bool GetHasContent() { return false; } /// /// Gets the parameter that is used to create a child context. /// /// The parameter that is used to create a child context. public override TagParameter GetChildContextParameter() { return null; } } }