Config class

Provides configurations to other modules.

Handles validation, extraction of confiurations from yaml file.

Constructors

Config.fromYaml(YamlMap map)
Create config from Yaml map.
factory

Properties

allocate String?
Name of the memory allocator function.
no setter
commentType → CommentType
Extracted Doc comment type.
no setter
compilerOpts List<String>
CommandLine Arguments to pass to clang_compiler.
no setter
dartBool bool
If dart bool should be generated for C booleans.
no setter
deallocate String?
Name of the memory deallocator function.
no setter
enumClassDecl → Declaration
Declaration config for Enums.
no setter
exposeFunctionTypedefs → Includer
no setter
functionDecl → Declaration
Declaration config for Functions.
no setter
globals → Declaration
Declaration config for Globals.
no setter
hashCode int
The hash code for this object.
no setterinherited
headers → Headers
no setter
libclangDylib String
Location for llvm/lib folder.
no setter
macroDecl → Declaration
Declaration config for Macro constants.
no setter
output String
output file name.
no setter
preamble String?
Header of the generated bindings.
no setter
reallocate String?
Name of the memory reallocator function.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sort bool
If generated bindings should be sorted alphabetically.
no setter
structDecl → Declaration
Declaration config for Structs.
no setter
structDependencies → CompoundDependencies
Whether structs that are dependencies should be included.
no setter
structPackingOverride → StructPackingOverride
Holds config for how struct packing should be overriden.
no setter
typedefNativeTypeMappings Map<String, SupportedNativeType>
Stores typedef name to NativeType mappings specified by user.
no setter
typedefs → Declaration
Declaration config for Typedefs.
no setter
unionDecl → Declaration
Declaration config for Unions.
no setter
unionDependencies → CompoundDependencies
Whether unions that are dependencies should be included.
no setter
unnamedEnumConstants → Declaration
Declaration config for Unnamed enum constants.
no setter
useDartHandle bool
If Dart_Handle should be mapped with Handle/Object.
no setter
useSupportedTypedefs bool
If typedef of supported types(int8_t) should be directly used.
no setter
wrapperDocComment String?
Doc comment for the wrapper class.
no setter
wrapperName String
Name of the wrapper class.
no setter

Methods

addCompilerOpts(String compilerOpts, {bool highPriority = false}) → void
Add compiler options for clang. If highPriority is true these are added to the front of the list.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited