BlockToken.cs 383 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Larkdown.Parser.Lexer
  5. {
  6. class BlockToken
  7. {
  8. public BlockTokenType Type { get; }
  9. public int Indentation { get; }
  10. public string Content { get; }
  11. public BlockToken(BlockTokenType type, int indent, string content)
  12. {
  13. Type = type;
  14. Indentation = indent;
  15. Content = content;
  16. }
  17. }
  18. }