public abstract class ASTCssNode extends Object implements PubliclyCloneable
| Constructor and Description |
|---|
ASTCssNode(HiddenTokenAwareTree underlyingStructure) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOpeningComments(List<Comment> openingComments) |
void |
addTrailingComment(Comment comment) |
void |
addTrailingComments(List<Comment> comments) |
ASTCssNode |
clone() |
void |
configureParentToAllChilds() |
abstract List<? extends ASTCssNode> |
getChilds()
WARNING: it is up to the programmer to keep parent and childs getters and
setters consistent.
|
List<Comment> |
getOpeningComments() |
List<Comment> |
getOrphanComments() |
ASTCssNode |
getParent()
WARNING: it is up to the programmer to keep parent and childs getters and
setters consistent.
|
LessSource |
getSource() |
int |
getSourceColumn() |
int |
getSourceLine() |
List<Comment> |
getTrailingComments() |
abstract ASTCssNodeType |
getType() |
HiddenTokenAwareTree |
getUnderlyingStructure() |
boolean |
hasParent() |
boolean |
isFaulty() |
boolean |
isSilent() |
void |
setOpeningComments(List<Comment> openingComments) |
void |
setOrphanComments(List<Comment> orphanComments) |
void |
setParent(ASTCssNode parent)
WARNING: it is up to the programmer to keep parent and childs getters and
setters consistent.
|
void |
setSilent(boolean isSilent) |
void |
setTrailingComments(List<Comment> trailingComments) |
void |
setUnderlyingStructure(HiddenTokenAwareTree underlyingStructure) |
String |
toString() |
public ASTCssNode(HiddenTokenAwareTree underlyingStructure)
public boolean isSilent()
public void setSilent(boolean isSilent)
@NotAstProperty public abstract List<? extends ASTCssNode> getChilds()
public ASTCssNode getParent()
public boolean hasParent()
public void setParent(ASTCssNode parent)
public HiddenTokenAwareTree getUnderlyingStructure()
public void setUnderlyingStructure(HiddenTokenAwareTree underlyingStructure)
@NotAstProperty public List<Comment> getTrailingComments()
public void addTrailingComment(Comment comment)
@NotAstProperty public List<Comment> getOpeningComments()
@NotAstProperty public List<Comment> getOrphanComments()
public abstract ASTCssNodeType getType()
public boolean isFaulty()
public LessSource getSource()
public int getSourceLine()
public int getSourceColumn()
public ASTCssNode clone()
clone in interface PubliclyCloneableclone in class Objectpublic void configureParentToAllChilds()
Copyright © 2012-2015. All Rights Reserved.