ToCSSVisitor class

Inheritance
Mixed in types

Constructors

ToCSSVisitor(Contexts context)

Properties

charset ↔ bool
read / write
utils CSSVisitorUtils
read / write
hashCode → int
The hash code for this object.
read-only, inherited
isPreEvalVisitor ↔ bool
read / write, inherited
isPreVisitor ↔ bool
read / write, inherited
isReplacing ↔ bool
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

checkValidNodes(List<Node> rules, { bool isRoot }) → void
Check for errors in root
run(Ruleset root) Ruleset
override
visitAnonymous(Anonymous anonymousNode, VisitArgs visitArgs) Anonymous
visitAtRule(AtRule atRuleNode, VisitArgs visitArgs) Node
visitAtRuleWithBody(AtRule atRuleNode, VisitArgs visitArgs) Node
visitAtRuleWithoutBody(AtRule atRuleNode, VisitArgs visitArgs) Node
visitComment(Comment commentNode, VisitArgs visitArgs) Comment
visitDeclaration(Declaration declNode, VisitArgs visitArgs) Declaration
Eliminates for output: @variable && no visible nodes
visitExtend(Extend extendNode, VisitArgs visitArgs) → void
visitFtn(Node node) → Function
func visitor.visit distribuitor
override
visitFtnOut(Node node) → Function
funcOut visitor.visit distribuitor
override
visitImport(Import importNode, VisitArgs visitArgs) Import
visitMedia(Media mediaNode, VisitArgs visitArgs) Media
visitMixinDefinition(MixinDefinition mixinNode, VisitArgs visitArgs) → void
mixin definitions do not get eval'd - this means they keep state so we have to clear that state here so it isn't used if toCSS is called twice
visitOptions(Options optionsNode, VisitArgs visitArgs) Options
visitRuleset(Ruleset rulesetNode, VisitArgs visitArgs) → dynamic
return Node | List
error({int index, String type String message String filename }) → void
inherited
mergeRules(List<Node> rules) → void
Mix rules according: transform+: rotate(90deg), skew(30deg) !important; transform+: scale(2,4); to transform: rotate(90deg), skew(30deg), scale(2,4) !important; [...]
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
visit(dynamic node) → dynamic
inherited
visitArray<T>(List<T> nodes, { bool nonReplacing: false }) → List<T>
inherited

Operators

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