| |
|
| java.lang.Object com.caucho.es.parser.Lexer
Lexer | class Lexer (Code) | | JavaScript lexer.
|
Inner Class :static class Op | |
Constructor Summary | |
| Lexer(ReadStream is, String filename, int line, LineMap lineMap) | | Lexer(ReadStream is, String filename, int line) | | Lexer(ReadStream is, LineMap lineMap) |
ASSIGN_OP | final static int ASSIGN_OP(Code) | | |
BANDU_OP | final static int BANDU_OP(Code) | | |
BIN_OP | final static int BIN_OP(Code) | | |
BITAND | final static int BITAND(Code) | | |
BITOR | final static int BITOR(Code) | | |
BREAK | final static int BREAK(Code) | | |
CASE | final static int CASE(Code) | | |
CATCH | final static int CATCH(Code) | | |
CLASS | final static int CLASS(Code) | | |
CONSTRUCTOR | final static int CONSTRUCTOR(Code) | | |
CONTINUE | final static int CONTINUE(Code) | | |
DEFAULT | final static int DEFAULT(Code) | | |
DELETE | final static int DELETE(Code) | | |
ELSE | final static int ELSE(Code) | | |
ERROR | final static int ERROR(Code) | | |
EVAL | final static int EVAL(Code) | | |
EXTENDS | final static int EXTENDS(Code) | | |
FALSE | final static int FALSE(Code) | | |
FINALLY | final static int FINALLY(Code) | | |
FUNCTION | final static int FUNCTION(Code) | | |
HASH_DEF | final static int HASH_DEF(Code) | | |
HASH_REF | final static int HASH_REF(Code) | | |
IDENTIFIER | final static int IDENTIFIER(Code) | | |
IMPORT | final static int IMPORT(Code) | | |
LAST_LEXEME | final static int LAST_LEXEME(Code) | | |
LITERAL | final static int LITERAL(Code) | | |
LSHIFT | final static int LSHIFT(Code) | | |
NULL | final static int NULL(Code) | | |
POSTFIX | final static int POSTFIX(Code) | | |
PREFIX | final static int PREFIX(Code) | | |
REGEXP | final static int REGEXP(Code) | | |
RESERVED | final static int RESERVED(Code) | | |
RETURN | final static int RETURN(Code) | | |
RSHIFT | final static int RSHIFT(Code) | | |
START | final static int START(Code) | | |
STATIC | final static int STATIC(Code) | | |
STRICT_EQ | final static int STRICT_EQ(Code) | | |
STRICT_NEQ | final static int STRICT_NEQ(Code) | | |
SWITCH | final static int SWITCH(Code) | | |
SYNCHRONIZED | final static int SYNCHRONIZED(Code) | | |
THIS | final static int THIS(Code) | | |
THROW | final static int THROW(Code) | | |
TRUE | final static int TRUE(Code) | | |
TYPEOF | final static int TYPEOF(Code) | | |
UNARY_OP | final static int UNARY_OP(Code) | | |
UNDEFINED | final static int UNDEFINED(Code) | | |
URSHIFT | final static int URSHIFT(Code) | | |
VOID | final static int VOID(Code) | | |
WHILE | final static int WHILE(Code) | | |
WITH | final static int WITH(Code) | | |
beginLineCh | int beginLineCh(Code) | | |
isRegexp | boolean isRegexp(Code) | | |
lastLexeme | int lastLexeme(Code) | | |
lineText | CharBuffer lineText(Code) | | |
macroIndex | int macroIndex(Code) | | |
macroOldLine | int macroOldLine(Code) | | |
macroText | CharBuffer macroText(Code) | | |
regexpOk | boolean regexpOk(Code) | | |
stringClose | int stringClose(Code) | | |
Lexer | Lexer(ReadStream is, String filename, int line, LineMap lineMap)(Code) | | |
Lexer | Lexer(ReadStream is, LineMap lineMap)(Code) | | |
getLastLine | int getLastLine()(Code) | | |
getLastModified | long getLastModified()(Code) | | |
getOp | int getOp()(Code) | | Return the operation for a lexeme. Binary operations like '*' will
return BIN_OP as the lexeme. Calling getOp() will get the actual
operation.
|
getPrecedence | int getPrecedence()(Code) | | |
getText | CharBuffer getText()(Code) | | Returns the text object for the lexeme.
|
isRightAssoc | boolean isRightAssoc()(Code) | | |
seenLineFeed | boolean seenLineFeed()(Code) | | Returns true if seen linefeed since the last.
|
setLineMap | void setLineMap(LineMap lineMap)(Code) | | |
|
|
|