public class ColorExpression extends Expression
| Constructor and Description |
|---|
ColorExpression(HiddenTokenAwareTree token,
int red,
int green,
int blue) |
ColorExpression(HiddenTokenAwareTree token,
String value) |
| Modifier and Type | Method and Description |
|---|---|
ColorExpression |
clone() |
int |
getBlue() |
List<? extends ASTCssNode> |
getChilds()
WARNING: it is up to the programmer to keep parent and childs getters
and setters consistent.
|
int |
getGreen() |
int |
getRed() |
ASTCssNodeType |
getType() |
String |
getValue() |
void |
setValue(String value) |
String |
toString() |
addOpeningComments, addTrailingComments, configureParentToAllChilds, getCharPositionInSourceLine, getOpeningComments, getOrphanComments, getParent, getSourceLine, getTrailingComments, getUnderlyingStructure, isFaulty, setOpeningComments, setOrphanComments, setParent, setTrailingComments, setUnderlyingStructurepublic ColorExpression(HiddenTokenAwareTree token, String value)
public ColorExpression(HiddenTokenAwareTree token, int red, int green, int blue)
public String getValue()
public void setValue(String value)
public int getRed()
public int getGreen()
public int getBlue()
public List<? extends ASTCssNode> getChilds()
ASTCssNodegetChilds in class ASTCssNodepublic ASTCssNodeType getType()
getType in class ASTCssNodepublic ColorExpression clone()
clone in class ExpressionCopyright © 2012-2013. All Rights Reserved.