Module srclang::compiler::text

Structs

  • Document:
  • Position: Represents a position in the source code.
  • SourceMap: Represents the source map of the program.
  • SourceProgram: Represents the source program text.
  • Span: Represents a span of text.
  • SpanOverlap:
  • Spanned: Represents a spanned piece of code.
  • __PositionData: Internal struct used for interned item
  • __SourceMapConfig:
  • __SpanData: Internal struct used for interned item
  • __SpannedData: Internal struct used for interned item
  • calculate_line_lengths:
  • to_spans:

Functions

  • calculate_line_lengths:
  • cmp_range:
  • to_spans: