Skip to content

Commit

Permalink
doc: added info to LexicalDesc
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed Jan 1, 2025
1 parent 1be4032 commit a4ab0c0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ package parsley.token.descriptions
/** This class describes the aggregation of a bunch of different
* sub-configurations for lexing a specific language.
*
* @note Documentation for the parameters is found in the `copy` or companion `apply`.
*
* @param nameDesc the description of name-like lexemes
* @param symbolDesc the description of specific symbolic lexemes
* @param numericDesc the description of numeric literals
Expand All @@ -34,7 +36,9 @@ final class LexicalDesc private (val nameDesc: NameDesc,
new LexicalDesc(nameDesc, symbolDesc, numericDesc, textDesc, spaceDesc)
}

/** This object contains any preconfigured lexical definitions.
/** This object contains any preconfigured lexical definitions and
* a way of constructing a complete description.
*
* @since 4.0.0
*/
object LexicalDesc {
Expand Down

0 comments on commit a4ab0c0

Please sign in to comment.