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

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

public class SaturationModificationFunctionGenerator
extends AbstractFunctionGenerator


Constructor Summary
SaturationModificationFunctionGenerator()
           
 
Method Summary
 SassListItem computeForArgumentList(LexicalUnitImpl function, FormalArgumentList actualArguments)
          Computes the value of the function with the given argument list.
 
Methods inherited from class com.vaadin.sass.internal.parser.function.AbstractFunctionGenerator
checkForUnsetParameters, compute, createArgumentList, createArgumentList, createArgumentList, getArguments, getFunctionNames, getParam, getParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaturationModificationFunctionGenerator

public SaturationModificationFunctionGenerator()
Method Detail

computeForArgumentList

public SassListItem computeForArgumentList(LexicalUnitImpl function,
                                           FormalArgumentList actualArguments)
Description copied from class: AbstractFunctionGenerator
Computes the value of the function with the given argument list. This method is called by compute(), which also forms the parameter list actualArguments by replacing the formal arguments of the function with their actual values.

Specified by:
computeForArgumentList in class AbstractFunctionGenerator
Parameters:
function - The function to be evaluated. The function object can be used to determine which function to evaluate when a function generator implements several Sass functions. It is also used to obtain line and column numbers for error messages.
actualArguments - The argument list of the function, obtained by replacing all formal arguments with the corresponding values of the actual argument list of the function.
Returns:
The value of the function.


Copyright © 2013–2015 Vaadin. All rights reserved.