com.vaadin.sass.internal.visitor
Class BlockNodeHandler
java.lang.Object
com.vaadin.sass.internal.visitor.BlockNodeHandler
public class BlockNodeHandler
- extends Object
Handle nesting of blocks by moving child blocks to their parent, updating
their selector lists while doing so. Also parent selectors (&) are
handled here.
Sample SASS code (from www.sass-lang.com):
table.hl {
margin: 2em 0;
td.ln {
text-align: right;
}
}
Note that nested properties are handled by NestedNodeHandler, not
here.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockNodeHandler
public BlockNodeHandler()
traverse
public static void traverse(BlockNode node)
Copyright © 2013–2014 Vaadin. All rights reserved.