public abstract class Node extends Object implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected Node |
block |
protected String |
fileName |
protected int |
lineNumber |
protected String |
name |
protected LinkedList<Node> |
nodes |
protected String |
value |
| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
Node |
clone() |
abstract void |
execute(IndentWriter writer,
JadeModel model,
JadeTemplate template) |
Node |
getBlock() |
String |
getFileName() |
int |
getLineNumber() |
String |
getName() |
LinkedList<Node> |
getNodes() |
String |
getValue() |
boolean |
hasBlock() |
boolean |
hasNodes() |
Node |
pollNode() |
void |
push(Node node) |
void |
setBlock(Node block) |
void |
setFileName(String fileName) |
void |
setLineNumber(int lineNumber) |
void |
setName(String name) |
void |
setNodes(LinkedList<Node> nodes) |
void |
setValue(String value) |
protected LinkedList<Node> nodes
protected int lineNumber
protected String name
protected String value
protected Node block
protected String fileName
public abstract void execute(IndentWriter writer, JadeModel model, JadeTemplate template) throws JadeCompilerException
JadeCompilerExceptionpublic void setLineNumber(int lineNumber)
public int getLineNumber()
public void setValue(String value)
public String getValue()
public void setName(String name)
public String getName()
public void push(Node node)
public LinkedList<Node> getNodes()
public void setNodes(LinkedList<Node> nodes)
public Node pollNode()
public boolean hasNodes()
public boolean hasBlock()
public Node getBlock()
public void setBlock(Node block)
public String getFileName()
public void setFileName(String fileName)
public Node clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2016. All rights reserved.