import com.vaadin.sass.ScssStylesheet;
import com.vaadin.sass.parser.LexicalUnitImpl;
import com.vaadin.sass.tree.ForNode;
-import com.vaadin.sass.tree.MixinDefNode;
import com.vaadin.sass.tree.VariableNode;
import com.vaadin.sass.tree.WhileNode;
import com.vaadin.sass.tree.controldirective.EachDefNode;
void endMixinDirective(String name, Collection<VariableNode> args);
- MixinDefNode mixinDirective(String name, String args, String body);
-
void debugDirective();
ForNode forDirective(String var, String from, String to, boolean exclusive,
nodeStack.peek().appendChild(node);
}
- @Override
- public MixinDefNode mixinDirective(String name, String args, String body) {
- MixinDefNode node = new MixinDefNode(name, args, body);
- return node;
- }
-
@Override
public void startNestedProperties(String name) {
NestPropertiesNode node = new NestPropertiesNode(name);
private String name;
private ArrayList<VariableNode> arglist;
- private String args;
private String body;
public MixinDefNode(String name, Collection<VariableNode> args) {
}
}
- public MixinDefNode(String name, String args, String body) {
- this.name = name;
- this.args = args;
- this.body = body;
- }
-
@Override
public String toString() {
- return "Mixin Definition Node: {name: " + name + ", args: " + args
- + ", body: " + body + "}";
+ return "Mixin Definition Node: {name: " + name + ", args: "
+ + arglist.size() + ", body: " + body + "}";
}
public String getName() {