less library

Classes

AbstractFileManager
Anonymous
Apply
@apply(--mixin-name); directive
Assignment
Assignments are argument entities for calls. They are present in ie filter properties as shown below. [...]
AtRule
Directive such as [...]
Attribute
Base64String
BiMap<K, V>
BmpImage
BooleanFunctions
Call
A function call node.
Candidate
Charcode
Special character definition
Chunker
Split the input to easy the parser process. In this version is not used.
Color
RGB Colors: #rgb #rgba #rrggbb #rrggbbaa
ColorBlend
ColorFunctions
Combinator
Comment
CommentPointer
Data about the Comment found
CompareNode
Condition
Contexts
CSSVisitorUtils
DataUriFunctions
DebugInfo
Debug coordinates Example: new LessDebugIngo({lineNumber: 30, fileName: 'file.less'});
Declaration
a css rule/declaration 'name: value;' such as: [...]
DefaultFunc
DefineMethod
Annotation class for exceptions to method definition
DetachedRuleset
Dimension
A number with a unit
DirectiveBase
Base class for AtRule/Directive and Media
Element
A Selector Element [...]
Entities
Entities are tokens which can be found inside an Expression
Environment
Expression
Extend
ExtendFinderVisitor
FileFileManager
File loader
FileInfo
File Information
FileLoaded
return type for loadFile
FunctionBase
Implements the way to call a method by string
FunctionCaller
FunctionRegistry
Manages the custom functions defined by plugins
FunctionRegistryItem
Item defining a method in the function registry
GifImage
HSLType
HSVType
IgnitionVisitor
Visitor to run after parse input file, before imports
ImageDimension
ImageSize
Calculate the size (width * height) from a file image
ImageSizeFunctions
Import
ImportantRule
ImportDetector
Map<String, bool> used for recursionDetector and onceFileDetectionMap
ImportOptions
Manages the options in: @import (options) "..."; Example: options = new ImportOptions(); options'less' = true; options.less = true;
ImportVisitor
JavaScript
JoinSelectorVisitor
JpgImage
JsEvalNodeMixin
Keyword
Less
LessOptions
ListFunctions
MakeImportantNode
MatchConditionNode
MatchSelector
MathFunctions
MathHelper
Media
MergeRulesMixin
Implements the mergeRules method used to group rules in the same declaration
Mixin
Process Mixins
MixinArgs
MixinCall
MixinDefinition
MixinFound
MixinReturner
Arguments definition for a mixin
MoreList
List functions
MoreRegExp
NamespaceValue
Negative
Node
Base class for all tree nodes
Nodeset
When a method returns List instead Node as required by the interface, Nodeset let encapsulate the List and return Node, as Nodeset.rules
NumberFunctions
OperateNode<T>
Operation
Options
@options "--flags" directive @plugin (args) "plugin-name"
OutputRulesetMixin
PackageResolver
A class that defines how to resolve package: URIs. [...]
PackageResolverProvider
Package Resolver provider
Paren
ParseNode
Used after initial parsing to create nodes on the fly
Parser
A relatively straight-forward predictive parser. There is no tokenization/lexing stage, the input is parsed in one sweep. [...]
ParserInput
Input Management
Parsers
Here in, the parsing rules/functions [...]
ParserStatus
What happend in the parser?
ParseTree
ParseUntilReturnItem
Each item returned by $parseUntil
Plugin
Base clase for Plugin definition
PluginLoader
PluginManager
PluginOptions
Base class for cmd options
PngImage
ProcessExtendsVisitor
Processor
Base class for plugin PreProcessors and PostProcessors
ProcessorItem
Property
PsdImage
Quoted
A string, which supports escaping ~, " and ' [...]
RenderResult
Result type for ParseTree
Ruleset
Selector
Selectors such as body, h1, ...
SetTreeVisibilityVisitor
SilentNode
SourceMapOptions
StringFunctions
SvgFunctions
SvgImage
SyncPackageResolver
A class that defines how to resolve package: URIs. [...]
TestChar
Test character against a String or RegExp bool new TestChar(string, regExp).test(character)
ToCSSVisitor
TransformTree
TreeApi
TypesFunctions
UnicodeDescriptor
Unit
URL
UrlFileManager
URL loader
UrlParts
Value
  • Variable
    VariableCall
    VariableDefinition
    GlobalVariables & ModifyVariables item definition
    VariableImport
    Contents the importNode with variables in the name, for delayed processing [...]
    VariableMixin
  • VisibilityInfo
    VisitArgs
    Visitor
    VisitorBase
    WebpImage

    Constants

    defineMethodListArguments → const DefineMethod
    const DefineMethod(listArguments: true)
    defineMethodSkip → const DefineMethod
    const DefineMethod(skip: true)

    Properties

    debugCounter int
    read / write

    Functions

    isNotEmpty(dynamic value) bool
    Resolves null as empty. Return false if null. Supports String, List, Map.
    isType(dynamic value, String type, { bool isList: false, bool isListList: false }) bool
    check type Example: isType(ctxSelectors, 'Selector', isListList: true);
    negate<T extends num>(T value) → T
    -value int | double. Considers null value.
    numToString(num n) String
    Convert n to String, without decimal .0 if possible if n == 0.1 returns '0.1' if n == 0.0 returns '0'

    Exceptions / Errors

    ParserInputException
    Handling unexpected characters