public class Document extends ASTCssNode implements BodyOwner<GeneralBody>
| Constructor and Description |
|---|
Document(HiddenTokenAwareTree token,
String dialect) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUrlMatchFunctions(List<FunctionExpression> urlMatchFunctions) |
Document |
clone() |
GeneralBody |
getBody() |
List<ASTCssNode> |
getChilds()
WARNING: it is up to the programmer to keep parent and childs getters
and setters consistent.
|
String |
getDialect() |
ASTCssNodeType |
getType() |
List<FunctionExpression> |
getUrlMatchFunctions() |
void |
setBody(GeneralBody body) |
void |
setDialect(String dialect) |
addOpeningComments, addTrailingComments, configureParentToAllChilds, getCharPositionInSourceLine, getOpeningComments, getOrphanComments, getParent, getSource, getSourceLine, getTrailingComments, getUnderlyingStructure, isFaulty, setOpeningComments, setOrphanComments, setParent, setTrailingComments, setUnderlyingStructurepublic Document(HiddenTokenAwareTree token, String dialect)
public GeneralBody getBody()
getBody in interface BodyOwner<GeneralBody>public void setBody(GeneralBody body)
setBody in interface BodyOwner<GeneralBody>public String getDialect()
public void setDialect(String dialect)
public List<FunctionExpression> getUrlMatchFunctions()
public List<ASTCssNode> getChilds()
ASTCssNodegetChilds in class ASTCssNodepublic ASTCssNodeType getType()
getType in class ASTCssNodepublic Document clone()
clone in class ASTCssNodepublic void addUrlMatchFunctions(List<FunctionExpression> urlMatchFunctions)
Copyright © 2012-2013. All Rights Reserved.