Module spdx::lexer[][src]

Expand description

Contains types for lexing an SPDX license expression

Structs

Lexer

Allows iteration through an SPDX license expression, yielding a token or a ParseError.

LexerToken

A wrapper around a particular token that includes the span of the characters in the original string, for diagnostic purposes

Enums

ParseMode

Available modes when parsing SPDX expressions

Token

A single token in an SPDX license expression