diff options
author | Marc Englund <marc@vaadin.com> | 2012-10-12 17:07:26 +0300 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2012-10-15 16:02:20 +0300 |
commit | 16452cbb7fff0441cde4d2d303297e83e8c58ce1 (patch) | |
tree | d4abc1e23a8ee4a23b9c9fdf97172e3e1845ed49 /theme-compiler/src/com/vaadin/sass/handler/SCSSDocumentHandlerImpl.java | |
parent | 6075149eb323d9d63414e917b5b9d43519682217 (diff) | |
download | vaadin-framework-16452cbb7fff0441cde4d2d303297e83e8c58ce1.tar.gz vaadin-framework-16452cbb7fff0441cde4d2d303297e83e8c58ce1.zip |
list append and contains for #9380
Originally c/76 (I413452d08b48a0fa21d027064ce2d35e687129cd) by Seba; received missing file, and fixed
Change-Id: Ib814b13c6ce7bb6f29bdab2ee65274c1fade099e
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); + } } |