org.pegdown.ast
Class SimpleNode

java.lang.Object
  extended by org.pegdown.ast.AbstractNode
      extended by org.pegdown.ast.SimpleNode
All Implemented Interfaces:
org.parboiled.trees.GraphNode<Node>, Node

public class SimpleNode
extends AbstractNode


Nested Class Summary
static class SimpleNode.Type
           
 
Constructor Summary
SimpleNode(SimpleNode.Type type)
           
 
Method Summary
 void accept(Visitor visitor)
           
 java.util.List<Node> getChildren()
           
 SimpleNode.Type getType()
           
 java.lang.String toString()
           
 
Methods inherited from class org.pegdown.ast.AbstractNode
getEndIndex, getStartIndex, mapIndices, setEndIndex, setStartIndex, shiftIndices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleNode

public SimpleNode(SimpleNode.Type type)
Method Detail

getType

public SimpleNode.Type getType()

getChildren

public java.util.List<Node> getChildren()

accept

public void accept(Visitor visitor)

toString

public java.lang.String toString()
Overrides:
toString in class AbstractNode