Skip to content

options ​

Classes ​

ClassDescription
CategoryConfigurationA configuration class that can interpret category definitions from a YAML map.
CategoryDefinitionDefines the attributes of a category in the options file, corresponding to the 'categories' keyword in the options file, and populated by the CategoryConfiguration class.
DartdocGeneratorOptionContextHelper class that consolidates option contexts for instantiating generators.
DartdocOption<T extends Object?>An abstract class for interacting with dartdoc options.
DartdocOptionArgFile<T>A DartdocOption that works with command line arguments and dartdoc_options files.
DartdocOptionArgOnly<T>A DartdocOption that only exists as a command line argument. --help is a good example.
DartdocOptionArgSynth<T>A class that defaults to a value computed from a closure, but can be overridden on the command line.
DartdocOptionContextAn DartdocOptionSet wrapped in nice accessors specific to Dartdoc, which automatically passes in the right directory for a given context.
DartdocOptionContextBaseAll DartdocOptionContext mixins should implement this, as well as any other DartdocOptionContext mixins they use for calculating synthetic options.
DartdocOptionFileOnly<T>
DartdocOptionFileSynth<T>A class that defaults to a value computed from a closure, but can be overridden by a file.
DartdocOptionRootThis is a DartdocOptionSet used as a root node.
DartdocOptionSetA DartdocOption that only contains other DartdocOptions and is not an option itself.
DartdocOptionSyntheticOnly<T>A synthetic option takes a closure at construction time that computes the value of the configuration option based on other configuration options. Does not protect against closures that self-reference. If mustExist and isDir or isFile is set, computed values will be resolved to canonical paths.
DartdocProgramOptionContext

Exceptions ​

Exception
DartdocFileMissing
DartdocOptionError

Enums ​

EnumDescription
OptionKindAn enum to specify the multiple different kinds of data an option might represent.

Mixins ​

Mixin
DartdocSyntheticOption<T>

Functions ​

FunctionDescription
createDartdocOptionsInstantiate dartdoc's configuration file and options parser with the given command line arguments.
createDartdocProgramOptions
parseOptions

Constants ​

Constant
compileArgsTagName

Typedefs ​

Typedef
ConvertYamlToType<T>
OptionGenerator