FunctionRegistry class
Manages the custom functions defined by plugins
Constructors
- FunctionRegistry.inherit(FunctionRegistry base)
-
factory
Properties
- base ↔ FunctionRegistry
-
read / write
-
cache
↔ List<
FunctionBase> -
read / write
-
data
↔ List<
FunctionBase> -
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
add(
List< FunctionBase> functions) → void -
add the @plugin
functions
-
get(
) → List< FunctionBase> - Return the full list of functions, traversing the tree until the root
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
resetCache(
) → void - Forces reevaluate the cache next time
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Properties
-
globalFunctions
↔ List<
FunctionBase> -
read / write
Static Methods
-
foundInherit(
List< Node> frames) → FunctionRegistry -
Search in context.frames the first FunctionRegistry != null
frames
is VariableMixin = Directive | Media | MixinDefinition | Ruleset