public class ContainerNode extends CssNode
| Modifier | Constructor and Description |
|---|---|
protected |
ContainerNode(CssNode... children) |
|
ContainerNode(int index,
int line,
int column) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendChild(CssNode child) |
int |
childCount() |
boolean |
containsVariable(String name) |
boolean |
equals(Object arg) |
protected CssNode |
filterChild(CssNode child) |
List<CssNode> |
getChildren() |
CssNode |
getFirstChild() |
CssNode |
getLastChild() |
CssNodeType |
getNodeType() |
LessVariableDeclarationNode |
getVariable(String name) |
Collection<LessVariableDeclarationNode> |
getVariables() |
boolean |
hasChildren() |
int |
hashCode() |
boolean |
hasVariables() |
void |
putVariable(LessVariableDeclarationNode value) |
boolean |
removeChild(CssNode oldChild) |
boolean |
replaceChild(CssNode newChild,
CssNode oldChild) |
public ContainerNode(int index,
int line,
int column)
protected ContainerNode(CssNode... children)
public CssNodeType getNodeType()
getNodeType in class CssNodepublic boolean hasChildren()
public int childCount()
public CssNode getFirstChild()
public CssNode getLastChild()
public void appendChild(CssNode child)
public boolean removeChild(CssNode oldChild)
public boolean hasVariables()
public Collection<LessVariableDeclarationNode> getVariables()
public boolean containsVariable(String name)
public void putVariable(LessVariableDeclarationNode value)
public LessVariableDeclarationNode getVariable(String name)
Copyright © 2014. All rights reserved.