Esempio n. 1
0
 public static CommentSyntax Create(CommentStartToken start, EncodedTextToken value, CommentEndToken end)
 {
     return(new CommentSyntax(start, value, end));
 }
Esempio n. 2
0
 CommentSyntax(CommentStartToken start, EncodedTextToken value, CommentEndToken end)
 {
     Start = start ?? throw new ArgumentNullException(nameof(start));
     Value = value ?? throw new ArgumentNullException(nameof(value));
     End   = end ?? throw new ArgumentNullException(nameof(end));
 }
Esempio n. 3
0
 protected virtual SyntaxToken VisitCommentEnd(CommentEndToken token)
 {
     return(token);
 }