ex_yarn v0.4.1 ExYarn.Parser View Source
Main module for parsing lockfiles (intended for internal use only)
This module receives the lockfile as input, passes it over to ExYarn.Parser.Token
for tokenization and parses the resulting token list to generate the map
reprsenting the lockfile's contents.
Link to this section Summary
Functions
The module's entrypoint
Link to this section Types
Specs
t() :: %ExYarn.Parser{ comments: [String.t()], current_token: ExYarn.Token.t() | nil, indent: integer(), result: map(), tokens: [ExYarn.Token.t()] }
The parser's state. Intended for internal use only.