TypesFunctions class

Inheritance

Constructors

TypesFunctions()

Properties

context Contexts
read / write, inherited
currentFileInfo FileInfo
read / write, inherited
hashCode → int
The hash code for this object.
read-only, inherited
index ↔ int
read / write, inherited
less TreeApi
read / write, inherited
name ↔ String
read / write, inherited
registry ↔ Map<String, FunctionRegistryItem>
Method registry: { 'externalName': {'name': internalName, 'listArguments': false} }
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getUnit(Dimension n) Anonymous
get-unit Returns units of a number. [...]
@DefineMethod(name: 'get-unit')
iscolor(Node n) Keyword
Returns true if a value is a color, false otherwise. [...]
isem(Node n) Keyword
Returns true if a value is an em value, false otherwise. [...]
iskeyword(Node n) Keyword
Returns true if a value is a keyword, false otherwise. [...]
isnumber(Node n) Keyword
Returns true if a value is a number, false otherwise. [...]
ispercentage(Node n) Keyword
Returns true if a value is a percentage value, false otherwise. [...]
ispixel(Node n) Keyword
Returns true if a value is a number in pixels, false otherwise. [...]
isruleset(Node n) Keyword
Returns true if a value is a ruleset, false otherwise. [...]
isstring(Node n) Keyword
Returns true if a value is a string, false otherwise. [...]
isunit(Node n, dynamic unit) Keyword
Returns true if a value is a number in specified units, false otherwise. [...]
isurl(Node n) Keyword
Returns true if a value is a url, false otherwise. [...]
rem(Node fontSize, [ Node baseFont ]) Dimension
Converts from px, pt or em to rem units [...]
unit(Node val, [ Node unit ]) Dimension
Remove or change the unit of a dimension [...]
call(List<Node> args) → dynamic
Call the last valid name of method
inherited
init(Contexts context, int index, FileInfo currentFileInfo) → void
Config functions with the necessarry information for processing
inherited
isValid(String name) → bool
Check if name is a method name available
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited