diff options
Diffstat (limited to 'theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java')
-rw-r--r-- | theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java b/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java index 4acbc8d4d6..333ca0319b 100644 --- a/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java +++ b/theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java @@ -34,6 +34,8 @@ import com.vaadin.sass.tree.ExtendNode; import com.vaadin.sass.tree.FontFaceNode; import com.vaadin.sass.tree.ForNode; import com.vaadin.sass.tree.ImportNode; +import com.vaadin.sass.tree.ListAppendNode; +import com.vaadin.sass.tree.ListContainsNode; import com.vaadin.sass.tree.ListRemoveNode; import com.vaadin.sass.tree.MediaNode; import com.vaadin.sass.tree.MicrosoftRuleNode; @@ -310,4 +312,20 @@ public class SCSSDocumentHandlerImpl implements SCSSDocumentHandler { separator); nodeStack.peek().appendChild(node); } + + @Override + public void appendDirective(String variable, String list, String append, + String separator) { + ListAppendNode node = new ListAppendNode(variable, list, append, + separator); + nodeStack.peek().appendChild(node); + } + + @Override + public void containsDirective(String variable, String list, + String contains, String separator) { + ListContainsNode node = new ListContainsNode(variable, list, contains, + separator); + nodeStack.peek().appendChild(node); + } } |