Java Doc for EndPosParser.java in  » 6.0-JDK-Modules-sun » javac-compiler » com » sun » tools » javac » 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 » 6.0 JDK Modules sun » javac compiler » com.sun.tools.javac.parser 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.tools.javac.parser.Parser
      com.sun.tools.javac.parser.EndPosParser

EndPosParser
public class EndPosParser extends Parser (Code)
This class is similar to Parser except that it stores ending positions for the tree nodes.

This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.



Field Summary
 Map<JCTree, Integer>endPositions
     A hashtable to store ending positions of source ranges indexed by the tree nodes.

Constructor Summary
public  EndPosParser(Factory fac, Lexer S, boolean keepDocComments)
    

Method Summary
public  JCCompilationUnitcompilationUnit()
    
public  intgetEndPos(JCTree tree)
    
 JCExpressionparExpression()
    
protected  voidstoreEnd(JCTree tree, int endpos)
    
protected  Tto(T t)
    
protected  TtoP(T t)
    

Field Detail
endPositions
Map<JCTree, Integer> endPositions(Code)
A hashtable to store ending positions of source ranges indexed by the tree nodes. Defined only if option flag genEndPos is set.




Constructor Detail
EndPosParser
public EndPosParser(Factory fac, Lexer S, boolean keepDocComments)(Code)




Method Detail
compilationUnit
public JCCompilationUnit compilationUnit()(Code)



getEndPos
public int getEndPos(JCTree tree)(Code)



parExpression
JCExpression parExpression()(Code)



storeEnd
protected void storeEnd(JCTree tree, int endpos)(Code)



to
protected T to(T t)(Code)



toP
protected T toP(T t)(Code)



Fields inherited from com.sun.tools.javac.parser.Parser
final static int EXPR(Code)(Java Doc)
protected TreeMaker F(Code)(Java Doc)
final static int NOPARAMS(Code)(Java Doc)
final static int TYPE(Code)(Java Doc)
final static int TYPEARG(Code)(Java Doc)
boolean allowAnnotations(Code)(Java Doc)
boolean allowAsserts(Code)(Java Doc)
boolean allowEnums(Code)(Java Doc)
boolean allowForeach(Code)(Java Doc)
boolean allowGenerics(Code)(Java Doc)
boolean allowStaticImport(Code)(Java Doc)
boolean allowVarargs(Code)(Java Doc)
Map<JCTree, String> docComments(Code)(Java Doc)
boolean keepDocComments(Code)(Java Doc)
ListBuffer<JCExpression[]> odStackSupply(Code)(Java Doc)
ListBuffer<Token[]> opStackSupply(Code)(Java Doc)

Methods inherited from com.sun.tools.javac.parser.Parser
public void accept(Token token)(Code)(Java Doc)
JCAnnotation annotation(int pos)(Code)(Java Doc)
JCExpression annotationFieldValue()(Code)(Java Doc)
List<JCExpression> annotationFieldValues()(Code)(Java Doc)
List<JCExpression> annotationFieldValuesOpt()(Code)(Java Doc)
JCExpression annotationValue()(Code)(Java Doc)
List<JCAnnotation> annotationsOpt()(Code)(Java Doc)
List<JCExpression> arguments()(Code)(Java Doc)
JCMethodInvocation arguments(List<JCExpression> typeArgs, JCExpression t)(Code)(Java Doc)
JCExpression argumentsOpt(List<JCExpression> typeArgs, JCExpression t)(Code)(Java Doc)
JCExpression arrayCreatorRest(int newpos, JCExpression elemtype)(Code)(Java Doc)
JCExpression arrayInitializer(int newpos, JCExpression t)(Code)(Java Doc)
void attach(JCTree tree, String dc)(Code)(Java Doc)
JCPrimitiveTypeTree basicType()(Code)(Java Doc)
JCBlock block(int pos, long flags)(Code)(Java Doc)
public JCBlock block()(Code)(Java Doc)
List<JCStatement> blockStatements()(Code)(Java Doc)
JCExpression bracketsSuffix(JCExpression t)(Code)(Java Doc)
JCCatch catchClause()(Code)(Java Doc)
void checkAnnotations()(Code)(Java Doc)
protected JCExpression checkExprStat(JCExpression t)(Code)(Java Doc)
void checkForeach()(Code)(Java Doc)
void checkGenerics()(Code)(Java Doc)
void checkNoMods(long mods)(Code)(Java Doc)
void checkStaticImports()(Code)(Java Doc)
void checkVarargs()(Code)(Java Doc)
JCExpression classCreatorRest(int newpos, JCExpression encl, List<JCExpression> typeArgs, JCExpression t)(Code)(Java Doc)
JCClassDecl classDeclaration(JCModifiers mods, String dc)(Code)(Java Doc)
List<JCTree> classOrInterfaceBody(Name className, boolean isInterface)(Code)(Java Doc)
List<JCTree> classOrInterfaceBodyDeclaration(Name className, boolean isInterface)(Code)(Java Doc)
JCStatement classOrInterfaceOrEnumDeclaration(JCModifiers mods, String dc)(Code)(Java Doc)
public JCTree.JCCompilationUnit compilationUnit()(Code)(Java Doc)
JCExpression creator(int newpos, List<JCExpression> typeArgs)(Code)(Java Doc)
List<JCTree> enumBody(Name enumName)(Code)(Java Doc)
JCClassDecl enumDeclaration(JCModifiers mods, String dc)(Code)(Java Doc)
JCTree enumeratorDeclaration(Name enumName)(Code)(Java Doc)
public JCExpression expression()(Code)(Java Doc)
protected StringBuffer foldStrings(JCTree tree)(Code)(Java Doc)
List<JCStatement> forInit()(Code)(Java Doc)
List<JCExpressionStatement> forUpdate()(Code)(Java Doc)
JCVariableDecl formalParameter()(Code)(Java Doc)
List<JCVariableDecl> formalParameters()(Code)(Java Doc)
public int getEndPos(JCTree tree)(Code)(Java Doc)
protected int getErrorEndPos()(Code)(Java Doc)
public int getStartPos(JCTree tree)(Code)(Java Doc)
Name ident()(Code)(Java Doc)
JCExpression illegal(int pos)(Code)(Java Doc)
JCExpression illegal()(Code)(Java Doc)
JCTree importDeclaration()(Code)(Java Doc)
JCExpression innerCreator(int newpos, List<JCExpression> typeArgs, JCExpression encl)(Code)(Java Doc)
JCClassDecl interfaceDeclaration(JCModifiers mods, String dc)(Code)(Java Doc)
boolean isZero(String s)(Code)(Java Doc)
JCExpression literal(Name prefix)(Code)(Java Doc)
JCTree methodDeclaratorRest(int pos, JCModifiers mods, JCExpression type, Name name, List<JCTypeParameter> typarams, boolean isInterface, boolean isVoid, String dc)(Code)(Java Doc)
JCModifiers modifiersOpt()(Code)(Java Doc)
JCModifiers modifiersOpt(JCModifiers partial)(Code)(Java Doc)
T moreStatementExpressions(int pos, JCExpression first, T stats)(Code)(Java Doc)
JCModifiers optFinal(long flags)(Code)(Java Doc)
static int optag(Token token)(Code)(Java Doc)
JCExpression parExpression()(Code)(Java Doc)
static int prec(Token token)(Code)(Java Doc)
public JCExpression qualident()(Code)(Java Doc)
List<JCExpression> qualidentList()(Code)(Java Doc)
public JCStatement statement()(Code)(Java Doc)
protected void storeEnd(JCTree tree, int endpos)(Code)(Java Doc)
String strval(Name prefix)(Code)(Java Doc)
JCExpression superSuffix(List<JCExpression> typeArgs, JCExpression t)(Code)(Java Doc)
List<JCCase> switchBlockStatementGroups()(Code)(Java Doc)
JCExpression term(int newmode)(Code)(Java Doc)
JCExpression term()(Code)(Java Doc)
JCExpression term1()(Code)(Java Doc)
JCExpression term1Rest(JCExpression t)(Code)(Java Doc)
JCExpression term2()(Code)(Java Doc)
JCExpression term2Rest(JCExpression t, int minprec)(Code)(Java Doc)
protected JCExpression term3()(Code)(Java Doc)
JCExpression termRest(JCExpression t)(Code)(Java Doc)
protected T to(T t)(Code)(Java Doc)
protected T toP(T t)(Code)(Java Doc)
public JCExpression type()(Code)(Java Doc)
JCExpression typeArgument()(Code)(Java Doc)
List<JCExpression> typeArguments()(Code)(Java Doc)
JCTypeApply typeArguments(JCExpression t)(Code)(Java Doc)
JCExpression typeArgumentsOpt(JCExpression t)(Code)(Java Doc)
List<JCExpression> typeArgumentsOpt()(Code)(Java Doc)
List<JCExpression> typeArgumentsOpt(int useMode)(Code)(Java Doc)
JCTree typeDeclaration(JCModifiers mods)(Code)(Java Doc)
List<JCExpression> typeList()(Code)(Java Doc)
JCTypeParameter typeParameter()(Code)(Java Doc)
List<JCTypeParameter> typeParametersOpt()(Code)(Java Doc)
static int typetag(Token token)(Code)(Java Doc)
static int unoptag(Token token)(Code)(Java Doc)
JCVariableDecl variableDeclarator(JCModifiers mods, JCExpression type, boolean reqInit, String dc)(Code)(Java Doc)
JCVariableDecl variableDeclaratorId(JCModifiers mods, JCExpression type)(Code)(Java Doc)
JCVariableDecl variableDeclaratorRest(int pos, JCModifiers mods, JCExpression type, Name name, boolean reqInit, String dc)(Code)(Java Doc)
public T variableDeclarators(JCModifiers mods, JCExpression type, T vdefs)(Code)(Java Doc)
T variableDeclaratorsRest(int pos, JCModifiers mods, JCExpression type, Name name, boolean reqInit, String dc, T vdefs)(Code)(Java Doc)
public JCExpression variableInitializer()(Code)(Java Doc)

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.