com.vaadin.sass.internal.parser.function
Class PercentageFunctionGenerator
java.lang.Object
com.vaadin.sass.internal.parser.function.AbstractFunctionGenerator
com.vaadin.sass.internal.parser.function.AbstractSingleParameterFunctionGenerator
com.vaadin.sass.internal.parser.function.PercentageFunctionGenerator
- All Implemented Interfaces:
- SCSSFunctionGenerator
public class PercentageFunctionGenerator
- extends AbstractSingleParameterFunctionGenerator
PercentageFunctionGenerator is used for converting values into percentages
with rounding.
- Author:
- Vaadin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentageFunctionGenerator
public PercentageFunctionGenerator()
computeForParam
protected LexicalUnitImpl computeForParam(String functionName,
LexicalUnitImpl firstParam)
- 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.firstParam - The only parameter of the function.
- Returns:
Copyright © 2013–2014 Vaadin. All rights reserved.