DartdocSyntheticOption<T > class
abstract
Implemented types
Implementers
Properties
defaultsTo
→ T?
This is the value returned if we couldn't find one otherwise.
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
help
→ String
Text string for help passed on in command line options.
final inherited
isDir
→ bool
Set to true if this option represents the name of a directory.
no setter inherited
isFile
→ bool
Set to true if this option represents the name of a file.
no setter inherited
isGlob
→ bool
Set to true if this option represents a glob.
no setter inherited
keys
→ Iterable <String >
All object names starting at the root.
no setter inherited
mustExist
→ bool
Set to true if DartdocOption subclasses should validate that the
directory or file exists. Does not imply validation of defaultsTo ,
and requires that one of isDir or isFile is set.
final inherited
name
→ String
The name of this option, not including the names of any parents.
final inherited
optionIs
→ OptionKind
final inherited
parent
↔ DartdocOption
To avoid accessing early, call add on the option's parent before
looking up unless this is a DartdocOptionRoot .
late final inherited
resourceProvider
→ ResourceProvider
final inherited
root
→ DartdocOptionRoot
The DartdocOptionRoot containing this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
add (DartdocOption <Object ? > option )
→ void
Adds a DartdocOption to the children of this DartdocOption.
inherited
addAll (Iterable <DartdocOption <Object ? > > options )
→ void
Adds a list of dartdoc options to the children of this DartdocOption.
inherited
getValueAs <U extends Object ? > (String name , Folder dir )
→ U
Get the immediate child of this node named name
and its value at dir
.
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseArguments (List <String > arguments )
→ void
Call this with argv to set up the argument overrides. Applies to all
children.
inherited
toString ()
→ String
A string representation of this object.
inherited
traverse (void visit (DartdocOption <Object ? > option ) )
→ void
Apply the function visit
to this
and all children.
inherited
valueAt (Folder dir )
→ T?
Return the calculated value of this option, given the directory as
context.
override
valueAtCurrent ()
→ dynamic
Calls valueAt with the working directory at the start of the program.
inherited