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

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

public class TypeOfFunctionGenerator
extends AbstractFunctionGenerator


Constructor Summary
TypeOfFunctionGenerator()
           
 
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

TypeOfFunctionGenerator

public TypeOfFunctionGenerator()
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.