visitor library

Classes

AngleTerm
AttributeSelector
BAD_HEX_VALUE
Type to signal a bad hex value for HexColorTerm.value.
BinaryExpression
BorderExpression
BoxExpression
CalcTerm
CharsetDirective
ChTerm
ClassSelector
CommentDefinition
ContentDirective
To support Sass @content.
CssComment
CssPrinter
Visitor that produces a formatted string representation of the CSS tree.
DartStyleExpression
Declaration
DeclarationGroup
Directive
DocumentDirective
ElementSelector
EmTerm
Expression
The base type for expressions.
Expressions
ExtendDeclaration
ExTerm
FontExpression
FontFaceDirective
FractionTerm
FreqTerm
FunctionTerm
GroupTerm
HeightExpression
HexColorTerm
HostDirective
Identifier
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
IdSelector
IE8Term
A "\9" was encountered at the end of the expression and before a semi-colon. This is an IE trick to ignore a property or value except by IE 8 and older browsers.
ImportDirective
IncludeDirective
To support consuming a Sass mixin @include.
IncludeMixinAtDeclaration
Node for usage of @include mixin(args,...) found in a declaration group instead of at a ruleset (toplevel) e.g., [...]
ItemTerm
KeyFrameBlock
KeyFrameDirective
LengthTerm
LiteralTerm
MarginExpression
MarginGroup
MediaDirective
MediaExpression
MediaExpression grammar: [...]
MediaQuery
MediaQuery grammar: [...]
MixinDeclarationDirective
MixinDefinition
MixinRulesetDirective
Support a Sass @mixin. See http://sass-lang.com for description.
NamespaceDirective
NamespaceSelector
Negation
NegationSelector
NoOp
NumberTerm
OperatorComma
OperatorMinus
OperatorPlus
OperatorSlash
PaddingExpression
PageDirective
PercentageTerm
PseudoClassFunctionSelector
PseudoClassSelector
PseudoElementFunctionSelector
PseudoElementSelector
RemTerm
ResolutionTerm
RuleSet
Selector
SelectorExpression
SelectorGroup
SimpleSelector
SimpleSelectorSequence
StyleSheet
StyletDirective
SupportsCondition
SupportsConditionInParens
SupportsConjunction
SupportsDirective
SupportsDisjunction
SupportsNegation
ThisOperator
TimeTerm
TopLevelProduction
TreeNode
The base type for all nodes in a CSS abstract syntax tree.
TreeOutput
Simple class to provide a textual dump of trees for debugging.
UnaryExpression
UnicodeRangeTerm
UnitTerm
UriTerm
VarDefinition
VarDefinitionDirective
To support Less syntax @name: expression
VarUsage
ViewportDirective
ViewportTerm
Visitor
Base vistor class for the style sheet AST.
VisitorBase
WidthExpression
Wildcard

Functions

treeToDebugString(StyleSheet styleSheet, [bool useSpan = false]) → String
Helper function to dump the CSS AST.