34 Lexer(XRef *xref, Stream *str);
38 Lexer(XRef *xref, Object *obj);
44 Object *getObj(Object *obj);
47 void skipToNextLine();
50 void skipChar() { getChar(); }
54 { return curStr.isNone() ? (Stream *)NULL : curStr.getStream(); }
59 { return curStr.isNone() ? -1 : (int)curStr.streamGetPos(); }
62 void setPos(Guint pos, int dir = 0)
63 { if (!curStr.isNone()) curStr.streamSetPos(pos, dir); }
74 char tokBuf[tokBufSize];
|