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

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

public class ListJoinFunctionGenerator
extends ListFunctionGenerator


Constructor Summary
ListJoinFunctionGenerator()
           
 
Method Summary
protected  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.ListFunctionGenerator
asList, getAutoSeparator, getAutoSeparator, getSeparator
 
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

ListJoinFunctionGenerator

public ListJoinFunctionGenerator()
Method Detail

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.