spdx

Module lexer

source
Expand description

Contains types for lexing an SPDX license expression

Structs§

  • Allows iteration through an SPDX license expression, yielding a token or a ParseError.
  • A wrapper around a particular token that includes the span of the characters in the original string, for diagnostic purposes
  • Parsing configuration for SPDX expression

Enums§

  • A single token in an SPDX license expression