public static SpanConstructor MetaMarkup(this SpanFactory self, string content, HtmlSymbolType type) { return(self.Span(SpanKind.MetaCode, content, type)); }
public static SpanConstructor Comment(this SpanFactory self, string content, CSharpSymbolType type) { return(self.Span(SpanKind.Comment, content, type)); }
public static SpanConstructor MarkupTransition(this SpanFactory self, string content, HtmlSymbolType type) { return(self.Span(SpanKind.Transition, content, type).Accepts(AcceptedCharacters.None)); }
public static SpanConstructor MetaMarkup(this SpanFactory self, string content) { return(self.Span(SpanKind.MetaCode, content, markup: true)); }
public static SpanConstructor CodeTransition(this SpanFactory self, CSharpSymbolType type) { return(self.Span(SpanKind.Transition, SyntaxConstants.TransitionString, type).Accepts(AcceptedCharacters.None)); }
public static SpanConstructor MarkupTransition(this SpanFactory self) { return(self.Span(SpanKind.Transition, SyntaxConstants.TransitionString, markup: true).Accepts(AcceptedCharacters.None)); }
public static SpanConstructor CodeTransition(this SpanFactory self, string content) { return(self.Span(SpanKind.Transition, content, markup: false).Accepts(AcceptedCharacters.None)); }
public static UnclassifiedCodeSpanConstructor Code(this SpanFactory self, string content) { return(new UnclassifiedCodeSpanConstructor( self.Span(SpanKind.Code, content, markup: false))); }
public static SpanConstructor EmptyHtml(this SpanFactory self) { return(self.Span(SpanKind.Markup, new HtmlSymbol(self.LocationTracker.CurrentLocation, String.Empty, HtmlSymbolType.Unknown)) .With(new MarkupCodeGenerator())); }
public static UnclassifiedCodeSpanConstructor EmptyCSharp(this SpanFactory self) { return(new UnclassifiedCodeSpanConstructor( self.Span(SpanKind.Code, new CSharpSymbol(self.LocationTracker.CurrentLocation, String.Empty, CSharpSymbolType.Unknown)))); }
public static SpanConstructor Markup(this SpanFactory self, params string[] content) { return(self.Span(SpanKind.Markup, content, markup: true).With(new MarkupCodeGenerator())); }