|
The Psyche Project
|
The ParseOptions class. More...
#include <ParseOptions.h>
Public Member Functions | |
| const LanguageDialect & | languageDialect () const |
| const LanguageExtensions & | languageExtensions () const |
| ParseOptions () | |
| ParseOptions (LanguageDialect langDialect) | |
| ParseOptions (LanguageDialect langDialect, LanguageExtensions langExts) | |
| ParseOptions & | enable_keywordRecognition (bool enable) |
| bool | isEnabled_keywordRecognition () const |
| enum | CommentMode : std::uint8_t { CommentMode::Discard, CommentMode::KeepAll, CommentMode::KeepOnlyDocumentation } |
| The CommentMode modes. More... | |
| ParseOptions & | setCommentMode (CommentMode commentMode) |
| CommentMode | commentMode () const |
| The CommentMode modes. | |
| enum | AmbiguityMode : std::uint8_t { AmbiguityMode::Diagnose, AmbiguityMode::DisambiguateAlgorithmically, AmbiguityMode::DisambiguateAlgorithmicallyAndHeuristically, AmbiguityMode::DisambiguateHeuristically } |
| The AmbiguityMode modes. More... | |
| ParseOptions & | setAmbiguityMode (AmbiguityMode ambiguityMode) |
| AmbiguityMode | ambiguityMode () const |
| The AmbiguityMode modes. More... | |
The ParseOptions class.
Options of the lexer are also specified through this class.
|
strong |
The AmbiguityMode modes.
|
strong |
| ParseOptions::ParseOptions | ( | ) |
Create ParseOptions.
| ParseOptions::ParseOptions | ( | LanguageDialect | langDialect | ) |
Create ParseOptions.
| ParseOptions::ParseOptions | ( | LanguageDialect | langDialect, |
| LanguageExtensions | langExts | ||
| ) |
Create ParseOptions.
| ParseOptions::AmbiguityMode ParseOptions::ambiguityMode | ( | ) | const |
The AmbiguityMode modes.
| ParseOptions & ParseOptions::enable_keywordRecognition | ( | bool | enable | ) |
Whether to enable the recognition of keywords.
| bool ParseOptions::isEnabled_keywordRecognition | ( | ) | const |
Whether to enable the recognition of keywords.
| const LanguageDialect & ParseOptions::languageDialect | ( | ) | const |
The LanguageDialect of this ParseOptions.
| const LanguageExtensions & ParseOptions::languageExtensions | ( | ) | const |
The LanguageExtensions of this ParseOptions.
| ParseOptions & ParseOptions::setAmbiguityMode | ( | AmbiguityMode | ambiguityMode | ) |
The AmbiguityMode of this ParserOptions.
| ParseOptions & ParseOptions::setCommentMode | ( | CommentMode | commentMode | ) |
The CommentMode of this ParserOptions.
1.8.18