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

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

public class RoundFunctionGenerator
extends AbstractSingleParameterFunctionGenerator


Constructor Summary
RoundFunctionGenerator()
           
 
Method Summary
protected  LexicalUnitImpl computeForParam(String functionName, LexicalUnitImpl param)
          Compute the value of the function.
 
Methods inherited from class com.vaadin.sass.internal.parser.function.AbstractSingleParameterFunctionGenerator
compute
 
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

RoundFunctionGenerator

public RoundFunctionGenerator()
Method Detail

computeForParam

protected LexicalUnitImpl computeForParam(String functionName,
                                          LexicalUnitImpl param)
Description copied from class: AbstractSingleParameterFunctionGenerator
Compute the value of the function. This method must not modify firstParam. If necessary, the implementation should copy the parameter before making modifications.

Specified by:
computeForParam in class AbstractSingleParameterFunctionGenerator
Parameters:
functionName - The name of the function whose value is to be computed.
param - The only parameter of the function.
Returns:


Copyright © 2013–2014 Vaadin. All rights reserved.