public class Viewport extends Directive
| Constructor and Description |
|---|
Viewport(HiddenTokenAwareTree token,
String dialect) |
| Modifier and Type | Method and Description |
|---|---|
Viewport |
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() |
void |
setBody(GeneralBody body) |
void |
setDialect(String dialect) |
bubleUpWithoutChanges, hasBodyaddOpeningComments, addTrailingComment, addTrailingComments, configureParentToAllChilds, getOpeningComments, getOrphanComments, getParent, getSource, getSourceColumn, getSourceLine, getTrailingComments, getUnderlyingStructure, hasParent, isFaulty, isSilent, setOpeningComments, setOrphanComments, setParent, setSilent, setTrailingComments, setUnderlyingStructure, toStringpublic Viewport(HiddenTokenAwareTree token, String dialect)
public GeneralBody getBody()
public void setBody(GeneralBody body)
public String getDialect()
public void setDialect(String dialect)
@NotAstProperty public List<ASTCssNode> getChilds()
ASTCssNodegetChilds in class ASTCssNodepublic ASTCssNodeType getType()
getType in class ASTCssNodepublic Viewport clone()
clone in interface BodyOwner<GeneralBody>clone in interface PubliclyCloneableclone in class DirectiveCopyright © 2012-2015. All Rights Reserved.