public static SpanConstructor MetaMarkup(this SpanFactory self, string content) { return(self.Span(SpanKindInternal.MetaCode, content, markup: true)); }
public static SpanConstructor MetaMarkup(this SpanFactory self, string content, HtmlTokenType type) { return(self.Span(SpanKindInternal.MetaCode, content, type)); }
public static SpanConstructor MarkupTransition(this SpanFactory self) { return(self .Span(SpanKindInternal.Transition, SyntaxConstants.TransitionString, markup: true) .Accepts(AcceptedCharactersInternal.None)); }
public static SpanConstructor MarkupTransition(this SpanFactory self, string content, HtmlTokenType type) { return(self.Span(SpanKindInternal.Transition, content, type).Accepts(AcceptedCharactersInternal.None)); }
public static SpanConstructor CodeTransition(this SpanFactory self, string content) { return(self.Span(SpanKindInternal.Transition, content, markup: false).Accepts(AcceptedCharactersInternal.None)); }
public static SpanConstructor CodeTransition(this SpanFactory self, CSharpTokenType type) { return(self .Span(SpanKindInternal.Transition, SyntaxConstants.TransitionString, type) .Accepts(AcceptedCharactersInternal.None)); }
public static SpanConstructor CodeMarkup(this SpanFactory self, params string[] content) { return(self .Span(SpanKindInternal.Code, content, markup: true) .AsCodeMarkup()); }
public static UnclassifiedCodeSpanConstructor Code(this SpanFactory self, string content) { return(new UnclassifiedCodeSpanConstructor( self.Span(SpanKindInternal.Code, content, markup: false))); }
public static SpanConstructor Markup(this SpanFactory self, params string[] content) { return(self.Span(SpanKindInternal.Markup, content, markup: true).With(new MarkupChunkGenerator())); }
public static SpanConstructor Comment(this SpanFactory self, string content, HtmlTokenType type) { return(self.Span(SpanKindInternal.Comment, content, type)); }
public static SpanConstructor MetaCode(this SpanFactory self, string content, SyntaxKind type) { return(self.Span(SpanKindInternal.MetaCode, content, type)); }
public static SpanConstructor MetaCode(this SpanFactory self, string content, CSharpSymbolType type) { return(self.Span(SpanKindInternal.MetaCode, content, type)); }
public static SpanConstructor CodeTransition(this SpanFactory self, string content, CSharpSymbolType type) { return(self.Span(SpanKindInternal.Transition, content, type).Accepts(AcceptedCharactersInternal.None)); }