Top Fields Constructors Methods
org.joni.ast

public final Class ListNode

extends Node
Class Inheritance
Imports
org.joni.exception.ErrorMessages, .InternalException

Field Summary

Modifier and TypeField and Description
public ListNode
public Node
Inherited from org.joni.ast.Node:
parenttype

Constructor Summary

AccessConstructor and Description
private
ListNode(Node value, ListNode tail, int type)

Method Summary

Modifier and TypeMethod and Description
protected Node
public String
getName()

Implements abstract org.joni.ast.Node.getName.

public static ListNode
listAdd(ListNode list, Node value)

public static ListNode
newAlt(Node value, ListNode tail)

public static ListNode
newList(Node value, ListNode tail)

protected void
public void
public void
setValue(Node value)

public void
public String
toString(int level)

Implements abstract org.joni.ast.Node.toString.

Inherited from org.joni.ast.Node:
getAddressNamegetTypegetType2BitisSimplenewToppadreplaceWithtoString

Field Detail

tailback to summary
public ListNode tail
valueback to summary
public Node value

Constructor Detail

ListNodeback to summary
private ListNode(Node value, ListNode tail, int type)

Method Detail

getChildback to summary
protected Node getChild()

Overrides org.joni.ast.Node.getChild.

Annotations
@Override
getNameback to summary
public String getName()

Implements abstract org.joni.ast.Node.getName.

Annotations
@Override
listAddback to summary
public static ListNode listAdd(ListNode list, Node value)
newAltback to summary
public static ListNode newAlt(Node value, ListNode tail)
newListback to summary
public static ListNode newList(Node value, ListNode tail)
setChildback to summary
protected void setChild(Node child)

Overrides org.joni.ast.Node.setChild.

Annotations
@Override
setTailback to summary
public void setTail(ListNode tail)
setValueback to summary
public void setValue(Node value)
toListNodeback to summary
public void toListNode()
toStringback to summary
public String toString(int level)

Implements abstract org.joni.ast.Node.toString.

Annotations
@Override