public class Variable extends Expression
ASTCssNode.Visibility| Constructor and Description |
|---|
Variable(HiddenTokenAwareTree underlyingStructure,
String name) |
Variable(HiddenTokenAwareTree underlyingStructure,
String name,
boolean hasInterpolatedForm) |
Variable(HiddenTokenAwareTree underlyingStructure,
String name,
boolean hasInterpolatedForm,
boolean collector) |
| Modifier and Type | Method and Description |
|---|---|
Variable |
clone() |
List<? extends ASTCssNode> |
getChilds()
WARNING: it is up to the programmer to keep parent and childs getters and
setters consistent.
|
String |
getName() |
ASTCssNodeType |
getType() |
boolean |
hasInterpolatedForm() |
boolean |
isCollector() |
void |
setCollector(boolean collector) |
void |
setInterpolatedForm(boolean has) |
void |
setName(String name) |
String |
toString() |
getScope, hasScope, setScope, splitByCommaaddOpeningComments, addTrailingComment, addTrailingComments, addVisibilityBlocks, configureParentToAllChilds, getOpeningComments, getOrphanComments, getParent, getSource, getSourceColumn, getSourceLine, getTrailingComments, getUnderlyingStructure, getVisibility, getVisibilityBlocks, hasParent, hasVisibilityBlock, isFaulty, setOpeningComments, setOrphanComments, setParent, setTrailingComments, setUnderlyingStructure, setVisibility, setVisibilityBlockspublic Variable(HiddenTokenAwareTree underlyingStructure, String name)
public Variable(HiddenTokenAwareTree underlyingStructure, String name, boolean hasInterpolatedForm)
public Variable(HiddenTokenAwareTree underlyingStructure, String name, boolean hasInterpolatedForm, boolean collector)
public String getName()
public void setName(String name)
public boolean hasInterpolatedForm()
public void setInterpolatedForm(boolean has)
public boolean isCollector()
public void setCollector(boolean collector)
@NotAstProperty public List<? extends ASTCssNode> getChilds()
ASTCssNodegetChilds in class ASTCssNodepublic ASTCssNodeType getType()
getType in class ASTCssNodepublic String toString()
toString in class ASTCssNodepublic Variable clone()
clone in interface PubliclyCloneableclone in class ExpressionCopyright © 2012–2016. All rights reserved.