org.cssless.css.ast.MultiValueNode Maven / Gradle / Ivy
package org.cssless.css.ast;
public class MultiValueNode extends ContainerValueNode {
public MultiValueNode(int index, int line, int column) {
super(null, index, line, column);
}
public MultiValueNode(ValueNode... children) {
super(null, children);
}
@Override
public CssNodeType getNodeType() {
return CssNodeType.MULTI_VALUE;
}
@Override
public String getValue() {
throw new IllegalStateException("Value of MultiValueNode cannot be accessed directly as a String.");
}
@Override
public void setValue(String value) {
// ignore
}
}