ProcessExtendsVisitor class

Inheritance

Constructors

ProcessExtendsVisitor()

Properties

allExtendsStack ↔ List<List<Extend>>
read / write
extendChainCount ↔ int
read / write
extendIndices ↔ Map<String, bool>
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

checkExtendsForNonMatched(List<Extend> extendList) → void
doExtendChaining(List<Extend> extendsList, List<Extend> extendsListTarget, [ int iterationCount = 0 ]) → List<Extend>
Chaining is different from normal extension.. if we extend an extend then we are not just copying, altering and pasting the selector we would do normally, but we are also adding an extend with the same target selector this means this new extend can then go and alter other extends [...]
extendSelector(List<MatchSelector> matches, List<Selector> selectorPath, Selector replacementSelector, { bool isVisible: false }) → List<Selector>
For a set of matches, replace each match with the replacement selector
findMatch(Extend extend, List<Selector> haystackSelectorPath) → List<MatchSelector>
Look through the haystack selector path to try and find the needle - extend.selector [...]
isElementValuesEqual(dynamic elementValue1, dynamic elementValue2) → bool
Compares two elements [...]
run(Ruleset root) Ruleset
override
visitAtRule(AtRule atRuleNode, VisitArgs visitArgs) → void
visitAtRuleOut(AtRule atRuleNode) → void
visitDeclaration(Declaration declarationNode, VisitArgs visitArgs) → void
visitFtn(Node node) → Function
func visitor.visit distribuitor
override
visitFtnOut(Node node) → Function
funcOut visitor.visit distribuitor
override
visitMedia(Media mediaNode, VisitArgs visitArgs) → void
visitMediaOut(Media mediaNode) → void
visitMixinDefinition(MixinDefinition mixinDefinitionNode, VisitArgs visitArgs) → void
visitRuleset(Ruleset rulesetNode, VisitArgs visitArgs) → void
visitSelector(Selector selectorNode, VisitArgs visitArgs) → void
error({int index, String type, String message, String filename }) → void
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