|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.sass.internal.visitor.BlockNodeHandler
public class BlockNodeHandler
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.
| Constructor Summary | |
|---|---|
BlockNodeHandler()
|
|
| Method Summary | |
|---|---|
static void |
traverse(BlockNode node)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockNodeHandler()
| Method Detail |
|---|
public static void traverse(BlockNode node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||