Page Speed Optimization Libraries
1.5.27.2
|
Lexical analysis class for Javascript. More...
#include "js_lexer.h"
Public Member Functions | |
void | Lex (const StringPiece &contents) |
const char * | keyword_string (pagespeed::JsKeywords::Type keyword) |
pagespeed::JsKeywords::Type | NextToken (StringPiece *token) |
Grabs the next token from the stream. | |
bool | error () const |
Was there an error in the stream? |
Lexical analysis class for Javascript.