com.vaadin.sass.internal.parser.function
Class ListLengthFunctionGenerator

java.lang.Object
  extended by com.vaadin.sass.internal.parser.function.AbstractFunctionGenerator
      extended by com.vaadin.sass.internal.parser.function.ListLengthFunctionGenerator
All Implemented Interfaces:
SCSSFunctionGenerator

public class ListLengthFunctionGenerator
extends AbstractFunctionGenerator


Constructor Summary
ListLengthFunctionGenerator()
           
 
Method Summary
 SassListItem compute(LexicalUnitImpl function)
          Computes the value of the function.
 
Methods inherited from class com.vaadin.sass.internal.parser.function.AbstractFunctionGenerator
getFunctionNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListLengthFunctionGenerator

public ListLengthFunctionGenerator()
Method Detail

compute

public SassListItem compute(LexicalUnitImpl function)
Description copied from interface: SCSSFunctionGenerator
Computes the value of the function. The parameters should be evaluated before this method is called. Both the input and the output of the method should be separate from any chain of lexical units.

Parameters:
function - Function lexical unit to print its state
Returns:
SassListItem the value of the function


Copyright © 2013–2014 Vaadin. All rights reserved.