static SimpleSexp2* Nil
static SimpleSexp2 _Eof
static SimpleSexp2* Eof
static SimpleSexp2 _Error
static SimpleSexp2* Error
static SimpleSexp2 _TrueValue
static SimpleSexp2* TrueValue
SimpleSexp2()
SimpleSexp2(Tag t, const SubString & s)
SimpleSexp2(Tag t, const char * s)
SimpleSexp2* set(const SimpleSexp2 * original, Bool strcopyp = False, Heap * heap = &sharedHeap)
SimpleSexp2* setWithoutStr(const SimpleSexp2 * original)
Bool isNullPtr() const
Bool isNil() const
Bool isCons() const
Bool isError() const
Bool isEof() const
Bool isAtom() const
Bool isInt(Bool tryscan = True) const
Bool isFlt(Bool tryscan = True) const
Bool isNumber(Bool tryscan = True) const
Bool isSymbol(Bool tryscan = True) const
Bool isString() const
static SimpleSexp2* newAtom(SubString s, Heap * h = &sharedHeap)
static SimpleSexp2* newAtom(char * s, Heap * h = &sharedHeap)
static SimpleSexp2* newAtom(SubString s, Scanner * scanner)
static SimpleSexp2* newAtom(char * s, Scanner * scanner)
static SimpleSexp2* cons(SimpleSexp2 * carVal, SimpleSexp2 * cdrVal, Heap * h = &sharedHeap)
static SimpleSexp2* cons(SimpleSexp2 * carVal, SimpleSexp2 * cdrVal, Scanner * scanner)
void outputTo(Buffer & buffer) const
SubString pname() const
SimpleSexp2* setIntVal(Int iv)
SimpleSexp2* setFltVal(Flt fv)
SimpleSexp2* setSymVal(SubString sv)
SimpleSexp2* fixTag(Bool recursivep = True)
SimpleSexp2* car() const
SimpleSexp2* cdr() const
SimpleSexp2* rplaca(SimpleSexp2 * v)
SimpleSexp2* rplacd(SimpleSexp2 * v)
SimpleSexp2* setCar(SimpleSexp2 * v)
SimpleSexp2* setCdr(SimpleSexp2 * v)
SimpleSexp2* setCarCdr(SimpleSexp2 * carval, SimpleSexp2 * cdrval)
SimpleSexp2* setCons(SimpleSexp2 * carval, SimpleSexp2 * cdrval)
SimpleSexp2* nthcdr(UInt n)
SimpleSexp2* nth(UInt n)
SimpleSexp2* first()
SimpleSexp2* second()
SimpleSexp2* rest()
SimpleSexp2* last()
SimpleSexp2* lastone()
Bool equal(const SimpleSexp2 * sexp) const
Bool equal(const SimpleSexp2 & sexp) const
Bool equal(const char * sym) const
Bool equal(const SubString & sym) const
UInt length() const
SimpleSexp2* assoc(const SimpleSexp2 * const key) const
SimpleSexp2* passoc(const SimpleSexp2 * const key) const
SimpleSexp2* passoc(const SubString & key) const
SimpleSexp2* passocPos(const SimpleSexp2 * const key) const
SimpleSexp2* passocPos(const SubString & key) const
SimpleSexp2* dup(Heap & heap = sharedHeap, Bool strcopyp = True) const
SimpleSexp2* dup(Heap * heap = &sharedHeap, Bool strcopyp = True) const
Int intVal(Int errorVal = 0)
Flt fltVal(Flt errorVal = 0.0)
const SubString& symVal()
static SimpleSexp2* scan(Scanner * scanner, Bool resetp = True, Heap * heap = ITK_NULLPTR)
static SimpleSexp2* scan(Scanner & scanner, Bool resetp = True, Heap * heap = ITK_NULLPTR)
static SimpleSexp2* scan(istream * istr, Bool resetp = True, Heap * heap = ITK_NULLPTR)
static SimpleSexp2* scan(istream & istr, Bool resetp = True, Heap * heap = ITK_NULLPTR)
static SimpleSexp2* scan(Buffer & buf, Bool resetp = True, Heap * heap = ITK_NULLPTR)
static SimpleSexp2* scan(Buffer * buf, Bool resetp = True, Heap * heap = ITK_NULLPTR)
static SimpleSexp2* scan(const char * str, Bool resetp = True, Heap * heap = ITK_NULLPTR)
Int scanAsInt() const
Int scanAsInt()
Bool scanAsIntTo(Int & val) const
Bool scanAsIntTo(Int & val)
Flt scanAsFlt() const
Flt scanAsFlt()
Bool scanAsFltTo(Flt & val) const