com.vaadin.sass.internal.parser.function
Class ListNthFunctionGenerator
java.lang.Object
com.vaadin.sass.internal.parser.function.AbstractFunctionGenerator
com.vaadin.sass.internal.parser.function.ListNthFunctionGenerator
- All Implemented Interfaces:
- SCSSFunctionGenerator
public class ListNthFunctionGenerator
- extends AbstractFunctionGenerator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListNthFunctionGenerator
public ListNthFunctionGenerator()
computeForArgumentList
protected 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.