Java Doc for Lexer.java in  » EJB-Server-resin-3.1.5 » ecmascript » com » caucho » es » parser » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » ecmascript » com.caucho.es.parser 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.es.parser.Lexer

Lexer
class Lexer (Code)
JavaScript lexer.

Inner Class :static class Op
Inner Class :class Macro

Field Summary
final static  intAND
    
final static  intASSIGN_OP
    
final static  intBANDU_OP
    
final static  intBIN_OP
    
final static  intBITAND
    
final static  intBITOR
    
final static  intBREAK
    
final static  intCASE
    
final static  intCATCH
    
final static  intCLASS
    
final static  intCONSTRUCTOR
    
final static  intCONTINUE
    
final static  intDEFAULT
    
final static  intDELETE
    
final static  intDO
    
final static  intELSE
    
final static  intEOF
    
final static  intEQ
    
final static  intERROR
    
final static  intEVAL
    
final static  intEXTENDS
    
final static  intFALSE
    
final static  intFINALLY
    
final static  intFOR
    
final static  intFUNCTION
    
final static  intGEQ
    
final static  intHASH_DEF
    
final static  intHASH_REF
    
final static  intIDENTIFIER
    
final static  intIF
    
final static  intIMPORT
    
final static  intIN
    
final static  intLAST_LEXEME
    
final static  intLEQ
    
final static  intLITERAL
    
final static  intLSHIFT
    
final static  intNEQ
    
final static  intNEW
    
final static  intNULL
    
final static  intOR
    
final static  intPOSTFIX
    
final static  intPREFIX
    
final static  intREGEXP
    
final static  intRESERVED
    
final static  intRETURN
    
final static  intRSHIFT
    
final static  intSTART
    
final static  intSTATIC
    
final static  intSTRICT_EQ
    
final static  intSTRICT_NEQ
    
final static  intSWITCH
    
final static  intSYNCHRONIZED
    
final static  intTHIS
    
final static  intTHROW
    
final static  intTRUE
    
final static  intTRY
    
final static  intTYPEOF
    
final static  intUNARY_OP
    
final static  intUNDEFINED
    
final static  intURSHIFT
    
final static  intVAR
    
final static  intVOID
    
final static  intWHILE
    
final static  intWITH
    
 int_flags
    
 StringbeginFilename
    
 intbeginLine
    
 intbeginLineCh
    
 Stringfilename
    
 booleanhasLf
    
 ESIdid
    
 intintValue
    
 ReadStreamis
    
 booleanisEof
    
 booleanisRegexp
    
 StringlastFilename
    
 intlastLexeme
    
 intlastLine
    
 intlbrace
    
 intlexeme
    
 intline
    
 intlineCh
    
 LineMaplineMap
    
 CharBufferlineText
    
 ESBaseliteral
    
 intmacroIndex
    
 intmacroOldLine
    
 CharBuffermacroText
    
 ArrayListmacros
    
 Opop
    
static  HashMapops
    
 intpeek
    
 intpeek2
    
 booleanregexpOk
    
static  HashMapreserved
    
 Globalresin
    
 intstate
    
 intstringClose
    
 CharBuffertemp
    
 CharBuffertext
    
 Stringwriteln
    

Constructor Summary
 Lexer(ReadStream is, String filename, int line, LineMap lineMap)
    
 Lexer(ReadStream is, String filename, int line)
    
 Lexer(ReadStream is, LineMap lineMap)
    

Method Summary
 ESParseExceptionerror(String text)
    
 StringgetFilename()
    
 intgetFlags()
    
 ESIdgetId()
    
 StringgetLastFilename()
    
 intgetLastLine()
    
 longgetLastModified()
    
 intgetLine()
    
 ESBasegetLiteral()
    
 intgetOp()
     Return the operation for a lexeme.
 intgetPrecedence()
    
 CharBuffergetText()
     Returns the text object for the lexeme.
 StringgetToken()
     Used for error messages.
 booleanisEof()
    
 booleanisRightAssoc()
    
 intlast()
    
 intnext()
    
 intpeek()
    
 intprev()
    
 booleanseenLineFeed()
     Returns true if seen linefeed since the last.
 voidsetLineMap(LineMap lineMap)
    

Field Detail
AND
final static int AND(Code)



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)



DO
final static int DO(Code)



ELSE
final static int ELSE(Code)



EOF
final static int EOF(Code)



EQ
final static int EQ(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)



FOR
final static int FOR(Code)



FUNCTION
final static int FUNCTION(Code)



GEQ
final static int GEQ(Code)



HASH_DEF
final static int HASH_DEF(Code)



HASH_REF
final static int HASH_REF(Code)



IDENTIFIER
final static int IDENTIFIER(Code)



IF
final static int IF(Code)



IMPORT
final static int IMPORT(Code)



IN
final static int IN(Code)



LAST_LEXEME
final static int LAST_LEXEME(Code)



LEQ
final static int LEQ(Code)



LITERAL
final static int LITERAL(Code)



LSHIFT
final static int LSHIFT(Code)



NEQ
final static int NEQ(Code)



NEW
final static int NEW(Code)



NULL
final static int NULL(Code)



OR
final static int OR(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)



TRY
final static int TRY(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)



VAR
final static int VAR(Code)



VOID
final static int VOID(Code)



WHILE
final static int WHILE(Code)



WITH
final static int WITH(Code)



_flags
int _flags(Code)



beginFilename
String beginFilename(Code)



beginLine
int beginLine(Code)



beginLineCh
int beginLineCh(Code)



filename
String filename(Code)



hasLf
boolean hasLf(Code)



id
ESId id(Code)



intValue
int intValue(Code)



is
ReadStream is(Code)



isEof
boolean isEof(Code)



isRegexp
boolean isRegexp(Code)



lastFilename
String lastFilename(Code)



lastLexeme
int lastLexeme(Code)



lastLine
int lastLine(Code)



lbrace
int lbrace(Code)



lexeme
int lexeme(Code)



line
int line(Code)



lineCh
int lineCh(Code)



lineMap
LineMap lineMap(Code)



lineText
CharBuffer lineText(Code)



literal
ESBase literal(Code)



macroIndex
int macroIndex(Code)



macroOldLine
int macroOldLine(Code)



macroText
CharBuffer macroText(Code)



macros
ArrayList macros(Code)



op
Op op(Code)



ops
static HashMap ops(Code)



peek
int peek(Code)



peek2
int peek2(Code)



regexpOk
boolean regexpOk(Code)



reserved
static HashMap reserved(Code)



resin
Global resin(Code)



state
int state(Code)



stringClose
int stringClose(Code)



temp
CharBuffer temp(Code)



text
CharBuffer text(Code)



writeln
String writeln(Code)




Constructor Detail
Lexer
Lexer(ReadStream is, String filename, int line, LineMap lineMap)(Code)



Lexer
Lexer(ReadStream is, String filename, int line)(Code)



Lexer
Lexer(ReadStream is, LineMap lineMap)(Code)




Method Detail
error
ESParseException error(String text)(Code)



getFilename
String getFilename()(Code)



getFlags
int getFlags()(Code)



getId
ESId getId()(Code)
Returns the Id



getLastFilename
String getLastFilename()(Code)



getLastLine
int getLastLine()(Code)



getLastModified
long getLastModified()(Code)



getLine
int getLine()(Code)



getLiteral
ESBase getLiteral()(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.



getToken
String getToken()(Code)
Used for error messages.



isEof
boolean isEof()(Code)



isRightAssoc
boolean isRightAssoc()(Code)



last
int last()(Code)



next
int next() throws ESParseException(Code)



peek
int peek() throws ESParseException(Code)



prev
int prev()(Code)



seenLineFeed
boolean seenLineFeed()(Code)
Returns true if seen linefeed since the last.



setLineMap
void setLineMap(LineMap lineMap)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.