public class CSSURLAndFormatPropertyValue extends CSSFunctionCallPropertyValue
| Modifier and Type | Field and Description |
|---|---|
protected List<ICSSNode> |
children
A list of children nodes.
|
CLASS_REFERENCE, EMBED, name, PROPERTY_REFERENCE, rawArgumentsUNKNOWN| Constructor and Description |
|---|
CSSURLAndFormatPropertyValue(String name,
String rawArguments,
String format,
org.antlr.runtime.tree.CommonTree tree,
org.antlr.runtime.TokenStream tokenStream)
Initialize a
CSSURLAndFormatPropertyValue. |
| Modifier and Type | Method and Description |
|---|---|
int |
getArity()
Get the node's child count.
|
ICSSNode |
getNthChild(int index)
Get the node's nth child.
|
CSSModelTreeType |
getOperator()
Get the node's type.
|
String |
toString()
Generate CSS code fragment for this model object.
|
String |
toStringTree()
Recursively print out the text representation of the tree.
|
getSingleArgumentFromRawgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, getStart, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, spanclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetArity, getNthChild, getOperator, toStringTreegetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic CSSURLAndFormatPropertyValue(String name, String rawArguments, String format, org.antlr.runtime.tree.CommonTree tree, org.antlr.runtime.TokenStream tokenStream)
CSSURLAndFormatPropertyValue.name - Function name.rawArguments - Raw argument string with parentheses and quotes.tree - AST.tokenStream - Token stream.public String toString()
ICSSDocument for
debugging and testing purposes.toString in class CSSFunctionCallPropertyValuepublic String toStringTree()
toStringTree in interface ICSSNodepublic int getArity()
ICSSNodeDefaultAdapter.public ICSSNode getNthChild(int index)
ICSSNodeDefaultAdapter.getNthChild in interface ICSSNodeindex - Child index.public CSSModelTreeType getOperator()
ICSSNodeDefaultAdapter.getOperator in interface ICSSNodeCopyright © 2016 The Apache Software Foundation. All rights reserved.