|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.sass.internal.parser.function.AbstractSingleParameterFunctionGenerator
public abstract class AbstractSingleParameterFunctionGenerator
AbstractSingleParameterFunctionGenerator is used as a base class for implementing Sass functions that take exactly one single value parameter. A single value parameter is of type LexicalUnitImpl.
| Constructor Summary | |
|---|---|
AbstractSingleParameterFunctionGenerator(String functionName)
|
|
| Method Summary | |
|---|---|
SassListItem |
compute(LexicalUnitImpl function)
Computes the value of the function. |
protected abstract LexicalUnitImpl |
computeForParam(LexicalUnitImpl firstParam)
Compute the value of the function. |
String |
getFunctionName()
Returns function name handled by this generator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSingleParameterFunctionGenerator(String functionName)
| Method Detail |
|---|
public String getFunctionName()
SCSSFunctionGeneratornull and is used if there is no dedicated generator
for given function.
getFunctionName in interface SCSSFunctionGeneratorpublic SassListItem compute(LexicalUnitImpl function)
SCSSFunctionGenerator
compute in interface SCSSFunctionGeneratorfunction - Function lexical unit to print its state
protected abstract LexicalUnitImpl computeForParam(LexicalUnitImpl firstParam)
firstParam -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||