org.yecht
Class Node

java.lang.Object
  extended by org.yecht.Node

public class Node
extends Object

Author:
Ola Bini

Field Summary
 String anchor
           
 Data data
           
 Object id
           
 KindTag kind
           
 Object shortcut
           
 String type_id
           
 
Method Summary
static Node allocMap()
           
static Node allocSeq()
           
static Node allocStr()
           
 void mapAdd(Object key, Object value)
           
 void mapAssign(MapPart p, int idx, Object id)
           
 long mapCount()
           
 void mapEmpty()
           
 Object mapRead(MapPart p, int idx)
           
 void mapUpdate(Node map2)
           
static Node newMap(Object key, Object value)
           
static Node newSeq(Object value)
           
static Node newStr(Pointer str, int len, ScalarStyle style)
           
 void replaceStr(Pointer str, int len, ScalarStyle style)
           
 void seqAdd(Object value)
           
 void seqAssign(int idx, Object id)
           
 int seqCount()
           
 void seqEmpty()
           
 Object seqRead(int idx)
           
 void strBlowAwayCommas()
           
 Pointer strRead()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public Object id

kind

public KindTag kind

type_id

public String type_id

anchor

public String anchor

data

public Data data

shortcut

public Object shortcut
Method Detail

toString

public String toString()
Overrides:
toString in class Object

replaceStr

public void replaceStr(Pointer str,
                       int len,
                       ScalarStyle style)

strBlowAwayCommas

public void strBlowAwayCommas()

strRead

public Pointer strRead()

mapEmpty

public void mapEmpty()

mapAdd

public void mapAdd(Object key,
                   Object value)

mapUpdate

public void mapUpdate(Node map2)

mapCount

public long mapCount()

mapAssign

public void mapAssign(MapPart p,
                      int idx,
                      Object id)

mapRead

public Object mapRead(MapPart p,
                      int idx)

seqEmpty

public void seqEmpty()

seqAdd

public void seqAdd(Object value)

seqCount

public int seqCount()

seqAssign

public void seqAssign(int idx,
                      Object id)

seqRead

public Object seqRead(int idx)

allocMap

public static Node allocMap()

allocSeq

public static Node allocSeq()

allocStr

public static Node allocStr()

newStr

public static Node newStr(Pointer str,
                          int len,
                          ScalarStyle style)

newMap

public static Node newMap(Object key,
                          Object value)

newSeq

public static Node newSeq(Object value)


Copyright © 2013. All Rights Reserved.