Public Member Functions | Public Attributes

JSTokenStream Struct Reference

#include <jsscan.h>

Collaboration diagram for JSTokenStream:

List of all members.

Public Member Functions

 JSTokenStream (JSContext *)
bool init (JSContext *, const jschar *base, size_t length, FILE *fp, const char *filename, uintN lineno)
void close (JSContext *)
 ~JSTokenStream ()

Public Attributes

JSToken tokens [4]
uintN cursor
uintN lookahead
uintN lineno
uintN ungetpos
jschar ungetbuf [6]
uintN flags
uint32 linelen
uint32 linepos
JSTokenBuf linebuf
JSTokenBuf userbuf
const char * filename
FILE * file
JSSourceHandler listener
void * listenerData
void * listenerTSData
jscharsaveEOL
JSCharBuffer tokenbuf

Constructor & Destructor Documentation

JSTokenStream::JSTokenStream ( JSContext  ) 
JSTokenStream::~JSTokenStream (  )  [inline]

Member Function Documentation

void JSTokenStream::close ( JSContext  ) 
bool JSTokenStream::init ( JSContext ,
const jschar base,
size_t  length,
FILE *  fp,
const char *  filename,
uintN  lineno 
)

Member Data Documentation


The documentation for this struct was generated from the following file: