Exemplo n.º 1
0
 public static SpanConstructor CodeTransition(
     this SpanFactory self,
     string content,
     VBSymbolType type
     )
 {
     return(self.Span(SpanKind.Transition, content, type).Accepts(AcceptedCharacters.None));
 }
Exemplo n.º 2
0
 public static SpanConstructor Comment(
     this SpanFactory self,
     string content,
     VBSymbolType type
     )
 {
     return(self.Span(SpanKind.Comment, content, type));
 }
Exemplo n.º 3
0
 public static SpanConstructor MetaCode(
     this SpanFactory self,
     string content,
     VBSymbolType type
     )
 {
     return(self.Span(SpanKind.MetaCode, content, type));
 }
Exemplo n.º 4
0
 public static SpanConstructor MetaCode(this SpanFactory self, string content, VBSymbolType type)
 {
     return self.Span(SpanKind.MetaCode, content, type);
 }
Exemplo n.º 5
0
 public static SpanConstructor CodeTransition(this SpanFactory self, string content, VBSymbolType type)
 {
     return self.Span(SpanKind.Transition, content, type).Accepts(AcceptedCharacters.None);
 }
Exemplo n.º 6
0
 public static SpanConstructor CodeTransition(this SpanFactory self, VBSymbolType type)
 {
     return self.Span(SpanKind.Transition, SyntaxConstants.TransitionString, type).Accepts(AcceptedCharacters.None);
 }
Exemplo n.º 7
0
 public SpanConstructor Span(SpanKind kind, string content, VBSymbolType type)
 {
     return CreateSymbolSpan(kind, content, st => new VBSymbol(st, content, type));
 }
Exemplo n.º 8
0
 public static SpanConstructor Comment(this SpanFactory self, string content, VBSymbolType type)
 {
     return self.Span(SpanKind.Comment, content, type);
 }
Exemplo n.º 9
0
 public static SpanConstructor CodeTransition(this SpanFactory self, VBSymbolType type)
 {
     return(self.Span(SpanKind.Transition, SyntaxConstants.TransitionString, type)
            .Accepts(AcceptedCharacters.None));
 }
Exemplo n.º 10
0
 public SpanConstructor Span(SpanKind kind, string content, VBSymbolType type)
 {
     return(CreateSymbolSpan(kind, content, st => new VBSymbol(st, content, type)));
 }