TokenStringLiteral constructor

TokenStringLiteral({
  1. required String lexeme,
  2. required int line,
  3. required int column,
  4. required int offset,
  5. Token? previous,
  6. Token? next,
  7. required String startMark,
  8. required String endMark,
})

Implementation

TokenStringLiteral(
    {required super.lexeme,
    required super.line,
    required super.column,
    required super.offset,
    super.previous,
    super.next,
    required this.startMark,
    required this.endMark})
    : _literal = lexeme.substring(1, lexeme.length - 1);