public static SpanConstructor MarkupTransition(this SpanFactory self, HtmlSymbolType type) { return(self .Span(SpanKindInternal.Transition, SyntaxConstants.TransitionString, type) .Accepts(AcceptedCharactersInternal.None)); }
public static SpanConstructor CodeTransition(this SpanFactory self, string content, CSharpSymbolType type) { return(self.Span(SpanKindInternal.Transition, content, type).Accepts(AcceptedCharactersInternal.None)); }
public static SpanConstructor MarkupTransition(this SpanFactory self, string content) { return(self.Span(SpanKindInternal.Transition, content, markup: true).Accepts(AcceptedCharactersInternal.None)); }
public static UnclassifiedCodeSpanConstructor Code(this SpanFactory self, string content) { return(new UnclassifiedCodeSpanConstructor( self.Span(SpanKindInternal.Code, content, markup: false))); }
public static SpanConstructor CodeTransition(this SpanFactory self) { return(self .Span(SpanKindInternal.Transition, SyntaxConstants.TransitionString, markup: false) .Accepts(AcceptedCharactersInternal.None)); }
public static SpanConstructor CodeMarkup(this SpanFactory self, params string[] content) { return(self .Span(SpanKindInternal.Code, content, markup: true) .AsCodeMarkup()); }
public static SpanConstructor CSharpCodeMarkup(this SpanFactory self, string content) { return(self.Code(content) .AsImplicitExpression(CSharpCodeParser.DefaultKeywords, acceptTrailingDot: true) .AsCodeMarkup()); }
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, HtmlSymbolType type) { return(self.Span(SpanKindInternal.Comment, content, type)); }
public static SpanConstructor MetaMarkup(this SpanFactory self, string content, HtmlSymbolType type) { return(self.Span(SpanKindInternal.MetaCode, content, type)); }
public static SpanConstructor MetaMarkup(this SpanFactory self, string content) { return(self.Span(SpanKindInternal.MetaCode, content, markup: true)); }
public BlockFactory(SpanFactory factory) { _factory = factory; }